Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000714/0.000714, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007425/0.0007425, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8451/0.8451, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5283/0.5283, allocations: 110.2 MB / 370.2 MB, free: 12.62 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.5485 GB, free: 8.281 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.747e-05, allocations: 5.094 kB / 0.5485 GB, free: 8.277 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.001705/0.001723, allocations: 1.535 MB / 0.55 GB, free: 6.727 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002695/0.001992, allocations: 128.5 kB / 0.5501 GB, free: 6.598 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.002024, allocations: 0 / 0.5501 GB, free: 6.598 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.00205, allocations: 3.938 kB / 0.5501 GB, free: 6.594 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.434e-05/0.002085, allocations: 3.938 kB / 0.5501 GB, free: 6.59 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.002305, allocations: 23.91 kB / 0.5502 GB, free: 6.566 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 6.19e-05/0.002367, allocations: 31.92 kB / 0.5502 GB, free: 6.535 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.002454, allocations: 11.98 kB / 0.5502 GB, free: 6.523 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.54e-05/0.0025, allocations: 15.98 kB / 0.5502 GB, free: 6.508 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.00254, allocations: 11.98 kB / 0.5502 GB, free: 6.496 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.002552, allocations: 4 kB / 0.5502 GB, free: 6.492 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.406e-05/0.002606, allocations: 19.92 kB / 0.5503 GB, free: 6.473 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.002618, allocations: 7.938 kB / 0.5503 GB, free: 6.465 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.002636, allocations: 7.984 kB / 0.5503 GB, free: 6.457 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 9.83e-05/0.002734, allocations: 31.95 kB / 0.5503 GB, free: 6.426 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002736, allocations: 0 / 0.5503 GB, free: 6.426 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.002736, allocations: 11.88 kB / 0.5503 GB, free: 6.414 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.00274, allocations: 0 / 0.5503 GB, free: 6.414 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003352/0.003075, allocations: 266.3 kB / 0.5506 GB, free: 6.121 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.003108, allocations: 12.02 kB / 0.5506 GB, free: 6.109 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.003135, allocations: 12.94 kB / 0.5506 GB, free: 6.098 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.377e-05/0.003209, allocations: 113.7 kB / 0.5507 GB, free: 5.961 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.003228, allocations: 384 / 0.5507 GB, free: 5.961 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.003236, allocations: 4.375 kB / 0.5507 GB, free: 5.957 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.003358, allocations: 58.23 kB / 0.5508 GB, free: 5.895 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.003366, allocations: 192 / 0.5508 GB, free: 5.895 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.003375, allocations: 384 / 0.5508 GB, free: 5.895 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.003381, allocations: 4.359 kB / 0.5508 GB, free: 5.891 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.203e-05/0.003473, allocations: 39.91 kB / 0.5508 GB, free: 5.852 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.003726, allocations: 212.6 kB / 0.551 GB, free: 5.613 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.003925, allocations: 50.55 kB / 0.5511 GB, free: 5.555 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.003972, allocations: 28.89 kB / 0.5511 GB, free: 5.523 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.42e-05/0.004036, allocations: 4 kB / 0.5511 GB, free: 5.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.004053, allocations: 38.56 kB / 0.5511 GB, free: 5.473 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.004054, allocations: 0 / 0.5511 GB, free: 5.473 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002243/0.004279, allocations: 109.5 kB / 0.5512 GB, free: 5.359 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.004305, allocations: 51.41 kB / 0.5513 GB, free: 5.297 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.731e-05/0.004352, allocations: 97.84 kB / 0.5514 GB, free: 5.191 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.004363, allocations: 29.7 kB / 0.5514 GB, free: 5.156 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.004395, allocations: 84.14 kB / 0.5515 GB, free: 5.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.004409, allocations: 7.891 kB / 0.5515 GB, free: 5.062 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.004434, allocations: 17.72 kB / 0.5515 GB, free: 5.039 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.004506, allocations: 314.8 kB / 0.5518 GB, free: 4.723 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.377e-05/0.00455, allocations: 19.98 kB / 0.5518 GB, free: 4.703 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.853e-05/0.004589, allocations: 27.97 kB / 0.5518 GB, free: 4.676 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.87e-05/0.004667, allocations: 37.3 kB / 0.5519 GB, free: 4.637 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00467, allocations: 0 / 0.5519 GB, free: 4.637 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001049/0.004774, allocations: 81.58 kB / 0.552 GB, free: 4.551 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.004785, allocations: 12.5 kB / 0.552 GB, free: 4.539 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.004789, allocations: 48 / 0.552 GB, free: 4.539 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.004801, allocations: 7.984 kB / 0.552 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/0.00485, allocations: 11.98 kB / 0.552 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.004854, allocations: 0 / 0.552 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.004878, allocations: 4 kB / 0.552 GB, free: 4.516 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.004884, allocations: 7.984 kB / 0.552 GB, free: 4.508 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,fac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/0.004933, allocations: 109.8 kB / 0.5521 GB, free: 4.391 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.004946, allocations: 7.953 kB / 0.5521 GB, free: 4.383 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.005091, allocations: 85.2 kB / 0.5522 GB, free: 4.289 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005092, allocations: 7.938 kB / 0.5522 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.005096, allocations: 0 / 0.5522 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.005098, allocations: 0 / 0.5522 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.222e-05/0.005181, allocations: 109.3 kB / 0.5523 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.005182, allocations: 0 / 0.5523 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.005209, allocations: 11.98 kB / 0.5523 GB, free: 4.133 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.005211, allocations: 0 / 0.5523 GB, free: 4.133 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.005216, allocations: 0 / 0.5523 GB, free: 4.133 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.005218, allocations: 3.938 kB / 0.5523 GB, free: 4.129 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.005219, allocations: 0 / 0.5523 GB, free: 4.129 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.005345, allocations: 171.5 kB / 0.5525 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-06/0.00535, allocations: 8 kB / 0.5525 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.005358, allocations: 0 / 0.5525 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.005396, allocations: 7.938 kB / 0.5525 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.005435, allocations: 11.92 kB / 0.5525 GB, free: 3.918 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.005437, allocations: 0 / 0.5525 GB, free: 3.918 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.631e-05/0.005463, allocations: 87.27 kB / 0.5526 GB, free: 3.832 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005463, allocations: 0 / 0.5526 GB, free: 3.832 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001481/0.005611, allocations: 11.95 kB / 0.5526 GB, free: 3.82 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.398e-05/0.005705, allocations: 103.2 kB / 0.5527 GB, free: 3.711 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.005834, allocations: 43.95 kB / 0.5527 GB, free: 3.668 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.005835, allocations: 0 / 0.5527 GB, free: 3.668 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.377e-05/0.005878, allocations: 27.97 kB / 0.5528 GB, free: 3.641 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.006039, allocations: 5.5 kB / 0.5528 GB, free: 3.637 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.006259, allocations: 142.5 kB / 0.5529 GB, free: 3.465 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.745e-05/0.006296, allocations: 63.34 kB / 0.553 GB, free: 3.383 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.006321, allocations: 12.5 kB / 0.553 GB, free: 3.371 MB / 474.7 MB Notification: Performance of SimCode: time 3.51e-07/0.006321, allocations: 0 / 0.553 GB, free: 3.371 MB / 474.7 MB Notification: Performance of Templates: time 0.001473/0.007794, allocations: 0.7565 MB / 0.5537 GB, free: 2.617 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.578970222733915] Failed to read output from testmodel.py, exit status != 0: 0.011738123372197151 0.019190898 0.014902035000000001 Calling exit ...