Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009951/0.0009951, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 182.4 kB / 16.92 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.77/0.77, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 16 kB / 495.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1526, allocations: 77.53 MB / 0.5599 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.001942/0.1546, allocations: 1.487 MB / 0.5614 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.156, allocations: 0.9793 MB / 0.5623 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.57e-05/0.1561, allocations: 3.938 kB / 0.5624 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.1567, allocations: 155.7 kB / 0.5625 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.1569, allocations: 103.8 kB / 0.5626 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.1573, allocations: 150.5 kB / 0.5627 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.1575, allocations: 167.6 kB / 0.5629 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1577, allocations: 33.08 kB / 0.5629 GB, free: 5.953 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1578, allocations: 63.64 kB / 0.563 GB, free: 5.891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1579, allocations: 55.77 kB / 0.563 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1579, allocations: 4 kB / 0.5631 GB, free: 5.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1581, allocations: 55.95 kB / 0.5631 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.1581, allocations: 35.84 kB / 0.5631 GB, free: 5.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.977e-05/0.1582, allocations: 81.31 kB / 0.5632 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1585, allocations: 187.6 kB / 0.5634 GB, free: 5.473 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1585, allocations: 4 kB / 0.5634 GB, free: 5.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1585, allocations: 0 / 0.5634 GB, free: 5.469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1585, allocations: 0 / 0.5634 GB, free: 5.469 MB / 430.1 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.0006597/0.1592, allocations: 472.5 kB / 0.5639 GB, free: 4.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1592, allocations: 8.031 kB / 0.5639 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.1593, allocations: 16.75 kB / 0.5639 GB, free: 4.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.1596, allocations: 252.7 kB / 0.5641 GB, free: 4.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1596, allocations: 384 / 0.5641 GB, free: 4.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.1596, allocations: 16.12 kB / 0.5641 GB, free: 4.625 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1598, allocations: 87.31 kB / 0.5642 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1598, allocations: 0 / 0.5642 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1598, allocations: 0 / 0.5642 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.1598, allocations: 7.984 kB / 0.5642 GB, free: 4.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.1599, allocations: 35.98 kB / 0.5643 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.1604, allocations: 352.8 kB / 0.5646 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1606, allocations: 74.61 kB / 0.5647 GB, free: 4.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.427e-05/0.1606, allocations: 36.78 kB / 0.5647 GB, free: 3.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1607, allocations: 0 / 0.5647 GB, free: 3.969 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.1608, allocations: 91.28 kB / 0.5648 GB, free: 3.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.1609, allocations: 0 / 0.5648 GB, free: 3.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003134/0.1612, allocations: 141.4 kB / 0.5649 GB, free: 3.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.1612, allocations: 81.11 kB / 0.565 GB, free: 3.625 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.1615, allocations: 258.8 kB / 0.5652 GB, free: 3.363 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1615, allocations: 33.81 kB / 0.5653 GB, free: 3.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.1616, allocations: 120 kB / 0.5654 GB, free: 3.203 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1616, allocations: 23.66 kB / 0.5654 GB, free: 3.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.1617, allocations: 25.7 kB / 0.5654 GB, free: 3.148 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1618, allocations: 334.7 kB / 0.5658 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.239e-05/0.1619, allocations: 27.98 kB / 0.5658 GB, free: 2.785 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.823e-05/0.1619, allocations: 56.19 kB / 0.5658 GB, free: 2.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1621, allocations: 69.7 kB / 0.5659 GB, free: 2.645 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1621, allocations: 4.031 kB / 0.5659 GB, free: 2.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001987/0.1623, allocations: 117.8 kB / 0.566 GB, free: 2.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1623, allocations: 8 kB / 0.566 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1623, allocations: 11.86 kB / 0.566 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1623, allocations: 0 / 0.566 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.1624, allocations: 8 kB / 0.566 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1624, allocations: 4 kB / 0.5661 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.1625, allocations: 11.84 kB / 0.5661 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.1625, allocations: 0 / 0.5661 GB, free: 2.477 MB / 430.1 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 0.0001245/0.1626, allocations: 149.8 kB / 0.5662 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.1627, allocations: 15.81 kB / 0.5662 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.1627, allocations: 13.41 kB / 0.5662 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.1627, allocations: 4 kB / 0.5662 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1627, allocations: 3.984 kB / 0.5662 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1628, allocations: 7.922 kB / 0.5662 GB, free: 2.277 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.1629, allocations: 225.5 kB / 0.5665 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.163, allocations: 4 kB / 0.5665 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.163, allocations: 7.938 kB / 0.5665 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.163, allocations: 4 kB / 0.5665 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.163, allocations: 0 / 0.5665 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.163, allocations: 0 / 0.5665 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.163, allocations: 0 / 0.5665 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1632, allocations: 152.8 kB / 0.5666 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.1633, allocations: 92.92 kB / 0.5667 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.1633, allocations: 3.984 kB / 0.5667 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.1634, allocations: 8 kB / 0.5667 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.1634, allocations: 15.92 kB / 0.5667 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1635, allocations: 7.938 kB / 0.5667 GB, free: 1.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.1636, allocations: 192.4 kB / 0.5669 GB, free: 1.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1636, allocations: 0 / 0.5669 GB, free: 1.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.1639, allocations: 28 kB / 0.567 GB, free: 1.465 MB / 430.1 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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.0008904/0.1648, allocations: 424.6 kB / 0.5674 GB, free: 1.223 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.165, allocations: 79.88 kB / 0.5674 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.165, allocations: 0 / 0.5674 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.1651, allocations: 39.98 kB / 0.5675 GB, free: 1.105 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.1653, allocations: 37.44 kB / 0.5675 GB, free: 1.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005015/0.1659, allocations: 338.1 kB / 0.5678 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.1661, allocations: 0.7243 MB / 0.5685 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.878e-05/0.1662, allocations: 21.72 kB / 0.5686 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.1663, allocations: 19.44 kB / 0.5686 GB, free: 15.93 MB / 446.1 MB Notification: Performance of SimCode: time 1.813e-06/0.1663, allocations: 0 / 0.5686 GB, free: 15.93 MB / 446.1 MB Notification: Performance of Templates: time 0.005135/0.1714, allocations: 2.161 MB / 0.5707 GB, free: 13.8 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)