Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001487/0.001487, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001769/0.001769, allocations: 216.1 kB / 23.01 MB, free: 4.609 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002425/0.002425, allocations: 289.9 kB / 313.5 MB, free: 2.852 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.161/1.161, allocations: 180.6 MB / 0.5377 GB, free: 12.95 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002733/0.002733, allocations: 101.7 kB / 0.7408 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1715, allocations: 95.38 MB / 0.834 GB, free: 8.336 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.003142/0.1746, allocations: 1.827 MB / 0.8357 GB, free: 6.5 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.1766, allocations: 1.275 MB / 0.837 GB, free: 5.215 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.1767, allocations: 3.938 kB / 0.837 GB, free: 5.211 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.177, allocations: 59.73 kB / 0.837 GB, free: 5.152 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.1773, allocations: 123.4 kB / 0.8372 GB, free: 5.031 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.1778, allocations: 209.2 kB / 0.8374 GB, free: 4.828 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.178, allocations: 163.6 kB / 0.8375 GB, free: 4.668 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.1781, allocations: 9.641 kB / 0.8375 GB, free: 4.652 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.1783, allocations: 71.75 kB / 0.8376 GB, free: 4.582 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1784, allocations: 75.61 kB / 0.8377 GB, free: 4.508 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.1784, allocations: 8 kB / 0.8377 GB, free: 4.5 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.1786, allocations: 75.94 kB / 0.8378 GB, free: 4.426 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 7.929e-05/0.1786, allocations: 43.89 kB / 0.8378 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.1787, allocations: 63.5 kB / 0.8379 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.179, allocations: 207.2 kB / 0.8381 GB, free: 4.117 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.179, allocations: 4 kB / 0.8381 GB, free: 4.113 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.312e-06/0.179, allocations: 0 / 0.8381 GB, free: 4.113 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.179, allocations: 0 / 0.8381 GB, free: 4.113 MB / 0.5763 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.0006506/0.1797, allocations: 430.9 kB / 0.8385 GB, free: 3.656 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1797, allocations: 9.344 kB / 0.8385 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.1798, allocations: 16.84 kB / 0.8385 GB, free: 3.633 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.1801, allocations: 202 kB / 0.8387 GB, free: 3.41 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1801, allocations: 8.375 kB / 0.8387 GB, free: 3.402 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.1801, allocations: 4.125 kB / 0.8387 GB, free: 3.398 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.1803, allocations: 104.1 kB / 0.8388 GB, free: 3.281 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.1803, allocations: 0 / 0.8388 GB, free: 3.281 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1803, allocations: 8 kB / 0.8388 GB, free: 3.273 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1804, allocations: 0 / 0.8388 GB, free: 3.273 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1805, allocations: 31.97 kB / 0.8388 GB, free: 3.242 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.1809, allocations: 323.8 kB / 0.8391 GB, free: 2.883 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.1812, allocations: 90.69 kB / 0.8392 GB, free: 2.785 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.254e-05/0.1812, allocations: 28.84 kB / 0.8393 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1813, allocations: 0 / 0.8393 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.1814, allocations: 83.33 kB / 0.8393 GB, free: 2.66 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1814, allocations: 4 kB / 0.8393 GB, free: 2.656 MB / 0.5763 GB Notification: Performance of matching and sorting (n=8): time 0.000348/0.1818, allocations: 145.5 kB / 0.8395 GB, free: 2.508 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.1818, allocations: 102.8 kB / 0.8396 GB, free: 2.383 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.1821, allocations: 279.1 kB / 0.8398 GB, free: 2.098 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1821, allocations: 25.7 kB / 0.8399 GB, free: 2.066 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.1822, allocations: 124.1 kB / 0.84 GB, free: 1.941 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.1823, allocations: 11.91 kB / 0.84 GB, free: 1.93 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.1823, allocations: 33.7 kB / 0.84 GB, free: 1.891 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1824, allocations: 334.8 kB / 0.8403 GB, free: 1.555 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/0.1825, allocations: 23.98 kB / 0.8404 GB, free: 1.531 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1826, allocations: 72.27 kB / 0.8404 GB, free: 1.445 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.1828, allocations: 77.62 kB / 0.8405 GB, free: 1.363 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1828, allocations: 4 kB / 0.8405 GB, free: 1.359 MB / 0.5763 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002071/0.183, allocations: 105.5 kB / 0.8406 GB, free: 1.25 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.183, allocations: 11.98 kB / 0.8406 GB, free: 1.238 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.183, allocations: 0 / 0.8406 GB, free: 1.238 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.183, allocations: 0 / 0.8406 GB, free: 1.238 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.168e-05/0.1831, allocations: 16 kB / 0.8406 GB, free: 1.223 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1831, allocations: 0 / 0.8406 GB, free: 1.223 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.651e-05/0.1832, allocations: 19.81 kB / 0.8407 GB, free: 1.203 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1832, allocations: 4.188 kB / 0.8407 GB, free: 1.199 MB / 0.5763 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.0001295/0.1833, allocations: 143.2 kB / 0.8408 GB, free: 1.051 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.1833, allocations: 19.84 kB / 0.8408 GB, free: 1.031 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.1836, allocations: 135.3 kB / 0.841 GB, free: 0.8906 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1836, allocations: 0 / 0.841 GB, free: 0.8906 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1836, allocations: 0 / 0.841 GB, free: 0.8906 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1836, allocations: 3.938 kB / 0.841 GB, free: 0.8867 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.1838, allocations: 196.6 kB / 0.8411 GB, free: 0.6523 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1838, allocations: 0 / 0.8411 GB, free: 0.6523 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.1839, allocations: 7.984 kB / 0.8412 GB, free: 0.6445 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1839, allocations: 4 kB / 0.8412 GB, free: 0.6406 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1839, allocations: 4 kB / 0.8412 GB, free: 0.6367 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1839, allocations: 0 / 0.8412 GB, free: 0.6367 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1839, allocations: 48 / 0.8412 GB, free: 0.6367 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.1841, allocations: 160.8 kB / 0.8413 GB, free: 472 kB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.1842, allocations: 11.91 kB / 0.8413 GB, free: 460 kB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.1842, allocations: 4 kB / 0.8413 GB, free: 456 kB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.301e-05/0.1842, allocations: 3.984 kB / 0.8413 GB, free: 452 kB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.1843, allocations: 15.98 kB / 0.8413 GB, free: 436 kB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1843, allocations: 7.938 kB / 0.8414 GB, free: 428 kB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001841/0.1845, allocations: 199.2 kB / 0.8415 GB, free: 228 kB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.1845, allocations: 0 / 0.8415 GB, free: 228 kB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002352/0.1847, allocations: 35.92 kB / 0.8416 GB, free: 192 kB / 0.5763 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 (7): * Single equations (assignments): 4 * 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.001481/0.1862, allocations: 426.2 kB / 0.842 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.1864, allocations: 71.86 kB / 0.8421 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1864, allocations: 0 / 0.8421 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.34e-05/0.1865, allocations: 31.98 kB / 0.8421 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.1868, allocations: 37.39 kB / 0.8421 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.1873, allocations: 328.5 kB / 0.8424 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1877, allocations: 0.728 MB / 0.8431 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.1877, allocations: 23.42 kB / 0.8432 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1877, allocations: 0 / 0.8432 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.004862/0.1926, allocations: 2.692 MB / 0.8458 GB, free: 11.98 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.436272209044546] Failed to read output from testmodel.py, exit status != 0: 0.1995671761687845 0.21388614399999994 0.032051827000000005 Calling exit ...