Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.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.001504/0.001504, allocations: 110.2 kB / 19.69 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.001674/0.001674, allocations: 211.4 kB / 23.01 MB, free: 4.57 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.35/1.35, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.002576/0.002576, allocations: 283.3 kB / 313.5 MB, free: 2.816 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.145/1.145, 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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") [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.002793/0.002793, allocations: 105.1 kB / 0.7408 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1669, allocations: 95.38 MB / 0.834 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003409/0.1703, allocations: 1.833 MB / 0.8357 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1724, allocations: 1.197 MB / 0.8369 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1725, allocations: 4 kB / 0.8369 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.1731, allocations: 165.3 kB / 0.8371 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.1735, allocations: 163.4 kB / 0.8372 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.1739, allocations: 141.6 kB / 0.8374 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.1742, allocations: 175.5 kB / 0.8375 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.1743, allocations: 21.08 kB / 0.8376 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1744, allocations: 75.69 kB / 0.8376 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.1745, allocations: 79.67 kB / 0.8377 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1746, allocations: 8 kB / 0.8377 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.1747, allocations: 67.95 kB / 0.8378 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.1748, allocations: 51.77 kB / 0.8378 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.1749, allocations: 59.61 kB / 0.8379 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.1752, allocations: 211.1 kB / 0.8381 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1752, allocations: 0 / 0.8381 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1752, allocations: 0 / 0.8381 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1752, allocations: 3.938 kB / 0.8381 GB, free: 3.895 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007346/0.176, allocations: 438.8 kB / 0.8385 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.176, allocations: 9.938 kB / 0.8385 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.176, allocations: 16.84 kB / 0.8385 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.1763, allocations: 198.1 kB / 0.8387 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.1764, allocations: 12.38 kB / 0.8387 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1764, allocations: 4.125 kB / 0.8387 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1766, allocations: 91.31 kB / 0.8388 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.1766, allocations: 0 / 0.8388 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1766, allocations: 4 kB / 0.8388 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.1766, allocations: 4 kB / 0.8388 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.128e-05/0.1767, allocations: 27.98 kB / 0.8389 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.1772, allocations: 335.7 kB / 0.8392 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1774, allocations: 70.67 kB / 0.8392 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.431e-05/0.1775, allocations: 28.84 kB / 0.8393 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1775, allocations: 7.984 kB / 0.8393 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.1777, allocations: 87.31 kB / 0.8394 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.1777, allocations: 0 / 0.8394 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003438/0.178, allocations: 141.5 kB / 0.8395 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1781, allocations: 85.03 kB / 0.8396 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.1784, allocations: 275.1 kB / 0.8398 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1784, allocations: 25.7 kB / 0.8399 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.1785, allocations: 116.1 kB / 0.84 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.1785, allocations: 27.78 kB / 0.84 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.1786, allocations: 33.72 kB / 0.84 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1787, allocations: 334.8 kB / 0.8404 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/0.1788, allocations: 27.98 kB / 0.8404 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.595e-05/0.1789, allocations: 55.7 kB / 0.8404 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.179, allocations: 85.64 kB / 0.8405 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.179, allocations: 4.031 kB / 0.8405 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002013/0.1792, allocations: 109.5 kB / 0.8406 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1792, allocations: 11.98 kB / 0.8406 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1792, allocations: 0 / 0.8406 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1792, allocations: 0 / 0.8406 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.879e-05/0.1793, allocations: 8 kB / 0.8406 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.1793, allocations: 4 kB / 0.8406 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-05/0.1794, allocations: 15.89 kB / 0.8407 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1794, allocations: 0 / 0.8407 GB, free: 1.031 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0001521/0.1795, allocations: 150.5 kB / 0.8408 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.1796, allocations: 15.91 kB / 0.8408 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.1798, allocations: 119 kB / 0.8409 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.1798, allocations: 4.109 kB / 0.8409 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1798, allocations: 3.938 kB / 0.8409 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1798, allocations: 3.938 kB / 0.8409 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.18, allocations: 208.5 kB / 0.8411 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.18, allocations: 0 / 0.8411 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.1801, allocations: 15.94 kB / 0.8412 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1801, allocations: 0 / 0.8412 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1801, allocations: 4 kB / 0.8412 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1801, allocations: 0 / 0.8412 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1801, allocations: 0 / 0.8412 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1803, allocations: 144.9 kB / 0.8413 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.1803, allocations: 19.91 kB / 0.8413 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1804, allocations: 0 / 0.8413 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.87e-05/0.1804, allocations: 11.98 kB / 0.8413 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.1804, allocations: 3.938 kB / 0.8413 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1805, allocations: 7.938 kB / 0.8413 GB, free: 260 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002005/0.1807, allocations: 203.2 kB / 0.8415 GB, free: 56 kB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1807, allocations: 0 / 0.8415 GB, free: 56 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002346/0.1809, allocations: 31.89 kB / 0.8416 GB, free: 24 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.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.001513/0.1824, allocations: 435.1 kB / 0.842 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.1826, allocations: 75.91 kB / 0.8421 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1826, allocations: 0 / 0.8421 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.1827, allocations: 31.98 kB / 0.8421 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.183, allocations: 38.08 kB / 0.8421 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.1836, allocations: 332.5 kB / 0.8424 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1839, allocations: 0.728 MB / 0.8432 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.184, allocations: 23.42 kB / 0.8432 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.184, allocations: 0 / 0.8432 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.004945/0.1889, allocations: 2.629 MB / 0.8457 GB, free: 11.86 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.63162986584939] Failed to read output from testmodel.py, exit status != 0: 0.19607008597813547 0.21060190399999995 0.03246820899999994 Calling exit ...