Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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.001307/0.001307, allocations: 74.97 kB / 20.51 MB, free: 1.281 MB / 14.72 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.001437/0.001437, allocations: 169.5 kB / 23.77 MB, free: 4.461 MB / 14.72 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 1.413/1.413, allocations: 177.2 MB / 204.1 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9126/0.9126, allocations: 113.9 MB / 374.5 MB, free: 12.89 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.77 kB / 0.555 GB, free: 2.734 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1675, allocations: 89.14 MB / 0.6421 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003308/0.1708, allocations: 1.769 MB / 0.6438 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1729, allocations: 1.185 MB / 0.645 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.173, allocations: 3.938 kB / 0.645 GB, free: 6.562 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.1733, allocations: 59.73 kB / 0.645 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.1736, allocations: 119.5 kB / 0.6451 GB, free: 6.387 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.1742, allocations: 197.9 kB / 0.6453 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.1744, allocations: 159.6 kB / 0.6455 GB, free: 6.039 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.1745, allocations: 9.641 kB / 0.6455 GB, free: 6.027 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1746, allocations: 75.69 kB / 0.6456 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1748, allocations: 71.62 kB / 0.6456 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.1748, allocations: 8 kB / 0.6456 GB, free: 5.875 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.175, allocations: 79.92 kB / 0.6457 GB, free: 5.797 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.007e-05/0.1751, allocations: 43.84 kB / 0.6458 GB, free: 5.754 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.926e-05/0.1751, allocations: 47.61 kB / 0.6458 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.1754, allocations: 207.2 kB / 0.646 GB, free: 5.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1754, allocations: 4 kB / 0.646 GB, free: 5.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1754, allocations: 0 / 0.646 GB, free: 5.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.1755, allocations: 0 / 0.646 GB, free: 5.5 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006692/0.1761, allocations: 426.9 kB / 0.6464 GB, free: 5.047 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1762, allocations: 8.031 kB / 0.6464 GB, free: 5.039 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.1762, allocations: 16.84 kB / 0.6464 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.1765, allocations: 198.1 kB / 0.6466 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.1766, allocations: 8.375 kB / 0.6466 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.1766, allocations: 12.06 kB / 0.6466 GB, free: 4.785 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.1768, allocations: 113.1 kB / 0.6468 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1768, allocations: 4 kB / 0.6468 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1768, allocations: 7.938 kB / 0.6468 GB, free: 4.645 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.1768, allocations: 4 kB / 0.6468 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1769, allocations: 27.98 kB / 0.6468 GB, free: 4.613 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.1774, allocations: 300.4 kB / 0.6471 GB, free: 4.289 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.1777, allocations: 86.7 kB / 0.6472 GB, free: 4.195 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.238e-05/0.1778, allocations: 36.83 kB / 0.6472 GB, free: 4.156 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.1778, allocations: 0 / 0.6472 GB, free: 4.156 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.1779, allocations: 83.36 kB / 0.6473 GB, free: 4.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.178, allocations: 0 / 0.6473 GB, free: 4.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003787/0.1783, allocations: 149.5 kB / 0.6474 GB, free: 3.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.1784, allocations: 81.11 kB / 0.6475 GB, free: 3.812 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.1787, allocations: 275.2 kB / 0.6478 GB, free: 3.531 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.1787, allocations: 33.69 kB / 0.6478 GB, free: 3.492 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.1788, allocations: 116.1 kB / 0.6479 GB, free: 3.375 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.1788, allocations: 23.8 kB / 0.6479 GB, free: 3.352 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.1789, allocations: 29.69 kB / 0.648 GB, free: 3.316 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.179, allocations: 334.8 kB / 0.6483 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-05/0.1791, allocations: 27.98 kB / 0.6483 GB, free: 2.953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1793, allocations: 122.8 kB / 0.6484 GB, free: 2.809 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.1794, allocations: 73.62 kB / 0.6485 GB, free: 2.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1794, allocations: 0 / 0.6485 GB, free: 2.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002331/0.1797, allocations: 113.5 kB / 0.6486 GB, free: 2.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1797, allocations: 4 kB / 0.6486 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1797, allocations: 4 kB / 0.6486 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1797, allocations: 0 / 0.6486 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.178e-05/0.1798, allocations: 16.05 kB / 0.6486 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1798, allocations: 4 kB / 0.6486 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.1799, allocations: 4 kB / 0.6486 GB, free: 2.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1799, allocations: 4 kB / 0.6486 GB, free: 2.578 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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 0.0001343/0.18, allocations: 150.4 kB / 0.6488 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.18, allocations: 19.86 kB / 0.6488 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.1803, allocations: 135 kB / 0.6489 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.1803, allocations: 4 kB / 0.6489 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1803, allocations: 0 / 0.6489 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1803, allocations: 7.984 kB / 0.6489 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.1805, allocations: 161.2 kB / 0.6491 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1805, allocations: 0 / 0.6491 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.1806, allocations: 11.98 kB / 0.6491 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1806, allocations: 0 / 0.6491 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1806, allocations: 0 / 0.6491 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1806, allocations: 7.938 kB / 0.6491 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1806, allocations: 4 kB / 0.6491 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.1809, allocations: 149.1 kB / 0.6493 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.1809, allocations: 27.84 kB / 0.6493 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.1809, allocations: 7.938 kB / 0.6493 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.181, allocations: 4 kB / 0.6493 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.1811, allocations: 11.98 kB / 0.6493 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1811, allocations: 4 kB / 0.6493 GB, free: 1.824 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002159/0.1813, allocations: 216.5 kB / 0.6495 GB, free: 1.613 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1813, allocations: 0 / 0.6495 GB, free: 1.613 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002549/0.1815, allocations: 35.92 kB / 0.6496 GB, free: 1.578 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.001627/0.1832, allocations: 451.7 kB / 0.65 GB, free: 1.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.1834, allocations: 91.81 kB / 0.6501 GB, free: 1.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1834, allocations: 3.938 kB / 0.6501 GB, free: 1.227 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/0.1835, allocations: 31.98 kB / 0.6501 GB, free: 1.195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.1838, allocations: 32.7 kB / 0.6501 GB, free: 1.164 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.1843, allocations: 306.7 kB / 0.6504 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.1844, allocations: 110.8 kB / 0.6505 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.224e-05/0.1845, allocations: 29.84 kB / 0.6506 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.1845, allocations: 24.48 kB / 0.6506 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1845, allocations: 0 / 0.6506 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of Templates: time 0.006363/0.1909, allocations: 2.652 MB / 0.6532 GB, free: 14.04 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.216891097021289] Failed to read output from testmodel.py, exit status != 0: 0.19915906293317676 0.21330800400000002 0.034868617000000005 Calling exit ...