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.001057/0.001057, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009613/0.0009613, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 1.028/1.028, allocations: 177.1 MB / 204.5 MB, free: 5.156 MB / 186.7 MB " [Timeout remaining time 179] 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.001716/0.001716, allocations: 236.9 kB / 261.3 MB, free: 12.52 MB / 250.7 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 0.8281/0.8281, allocations: 138.4 MB / 456.3 MB, free: 29.94 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.5564 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.434e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.0025/0.002524, allocations: 1.82 MB / 0.5581 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.003829, allocations: 1.142 MB / 0.5593 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.269e-05/0.003912, allocations: 0 / 0.5593 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.004422, allocations: 171.4 kB / 0.5594 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.004692, allocations: 163.3 kB / 0.5596 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.004941, allocations: 139.5 kB / 0.5597 GB, free: 12.47 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.005121, allocations: 183.5 kB / 0.5599 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.43e-05/0.005206, allocations: 17.08 kB / 0.5599 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.903e-05/0.005305, allocations: 103.7 kB / 0.56 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.903e-05/0.005394, allocations: 67.8 kB / 0.5601 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.00541, allocations: 8 kB / 0.5601 GB, free: 12.1 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.005517, allocations: 67.88 kB / 0.5601 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.421e-05/0.005581, allocations: 51.78 kB / 0.5602 GB, free: 11.98 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.005621, allocations: 31.86 kB / 0.5602 GB, free: 11.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.005808, allocations: 159.4 kB / 0.5604 GB, free: 11.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005811, allocations: 4 kB / 0.5604 GB, free: 11.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005812, allocations: 0 / 0.5604 GB, free: 11.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.005816, allocations: 0 / 0.5604 GB, free: 11.79 MB / 490.7 MB 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.0004486/0.006264, allocations: 0.5206 MB / 0.5609 GB, free: 11.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.006294, allocations: 9.938 kB / 0.5609 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.006333, allocations: 20.84 kB / 0.5609 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.006511, allocations: 205.7 kB / 0.5611 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.006535, allocations: 4.375 kB / 0.5611 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.006545, allocations: 8.359 kB / 0.5611 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.501e-05/0.00664, allocations: 54.17 kB / 0.5612 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.006648, allocations: 3.938 kB / 0.5612 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.006656, allocations: 4 kB / 0.5612 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.006672, allocations: 0 / 0.5612 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.006702, allocations: 19.98 kB / 0.5612 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.007002, allocations: 312.1 kB / 0.5615 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.007086, allocations: 59.16 kB / 0.5615 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.007111, allocations: 23.61 kB / 0.5616 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.007121, allocations: 0 / 0.5616 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.007225, allocations: 68.98 kB / 0.5616 GB, free: 10.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.007226, allocations: 0 / 0.5616 GB, free: 10.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002054/0.007431, allocations: 101.7 kB / 0.5617 GB, free: 10.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.007462, allocations: 59.28 kB / 0.5618 GB, free: 10.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.007667, allocations: 277.6 kB / 0.5621 GB, free: 9.895 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.007681, allocations: 25.7 kB / 0.5621 GB, free: 9.863 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.007766, allocations: 178.8 kB / 0.5622 GB, free: 9.684 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.007795, allocations: 27.77 kB / 0.5623 GB, free: 9.656 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.007841, allocations: 31.36 kB / 0.5623 GB, free: 9.617 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.007982, allocations: 0.5079 MB / 0.5628 GB, free: 9.098 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.008, allocations: 4 kB / 0.5628 GB, free: 9.094 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.272e-05/0.008053, allocations: 68.73 kB / 0.5629 GB, free: 9.008 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.919e-05/0.008112, allocations: 51.61 kB / 0.5629 GB, free: 8.949 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008114, allocations: 0 / 0.5629 GB, free: 8.949 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001204/0.008235, allocations: 93.42 kB / 0.563 GB, free: 8.852 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.008246, allocations: 8.062 kB / 0.563 GB, free: 8.844 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.008252, allocations: 0 / 0.563 GB, free: 8.844 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.008261, allocations: 4 kB / 0.563 GB, free: 8.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.842e-05/0.008319, allocations: 8 kB / 0.563 GB, free: 8.832 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.008322, allocations: 160 / 0.563 GB, free: 8.832 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.008366, allocations: 7.984 kB / 0.563 GB, free: 8.824 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.008375, allocations: 7.984 kB / 0.563 GB, free: 8.816 MB / 490.7 MB 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 9.754e-05/0.008472, allocations: 168.5 kB / 0.5632 GB, free: 8.641 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.008499, allocations: 23.8 kB / 0.5632 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.008639, allocations: 107 kB / 0.5633 GB, free: 8.508 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.008649, allocations: 4 kB / 0.5633 GB, free: 8.504 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.008651, allocations: 4 kB / 0.5633 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.008654, allocations: 0 / 0.5633 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.008792, allocations: 145.1 kB / 0.5635 GB, free: 8.332 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.008794, allocations: 0 / 0.5635 GB, free: 8.332 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.008813, allocations: 4 kB / 0.5635 GB, free: 8.328 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.008816, allocations: 7.938 kB / 0.5635 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.008822, allocations: 0 / 0.5635 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.008823, allocations: 0 / 0.5635 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008823, allocations: 0 / 0.5635 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.008956, allocations: 140.2 kB / 0.5636 GB, free: 8.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.008978, allocations: 19.84 kB / 0.5636 GB, free: 8.141 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.009, allocations: 7.938 kB / 0.5636 GB, free: 8.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.348e-05/0.009034, allocations: 4 kB / 0.5637 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.009062, allocations: 7.984 kB / 0.5637 GB, free: 8.121 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.009069, allocations: 0 / 0.5637 GB, free: 8.121 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.009184, allocations: 191 kB / 0.5638 GB, free: 7.934 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009184, allocations: 0 / 0.5638 GB, free: 7.934 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.009417, allocations: 31.94 kB / 0.5639 GB, free: 7.902 MB / 490.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: 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 (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.0009879/0.0104, allocations: 404.1 kB / 0.5643 GB, free: 7.656 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.01052, allocations: 47.59 kB / 0.5643 GB, free: 7.605 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.01052, allocations: 0 / 0.5643 GB, free: 7.605 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.01056, allocations: 35.73 kB / 0.5643 GB, free: 7.566 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.01079, allocations: 40.64 kB / 0.5644 GB, free: 7.527 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.01116, allocations: 277.7 kB / 0.5646 GB, free: 7.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.0112, allocations: 71.83 kB / 0.5647 GB, free: 7.141 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.077e-05/0.01125, allocations: 21.78 kB / 0.5647 GB, free: 7.121 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.314e-05/0.01134, allocations: 102.2 kB / 0.5648 GB, free: 7.02 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01134, allocations: 4 kB / 0.5648 GB, free: 7.016 MB / 490.7 MB Notification: Performance of Templates: time 0.005044/0.01639, allocations: 2.693 MB / 0.5675 GB, free: 4.371 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9387460481375456]