Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001174/0.001174, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9543/0.9543, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002911, allocations: 12 kB / 0.5158 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1614, allocations: 83.4 MB / 0.5973 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.001872/0.1633, allocations: 1.457 MB / 0.5987 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1647, allocations: 0.9174 MB / 0.5996 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.173e-05/0.1648, allocations: 3.938 kB / 0.5996 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.1653, allocations: 139.7 kB / 0.5997 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.1655, allocations: 95.73 kB / 0.5998 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1659, allocations: 143 kB / 0.6 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1661, allocations: 103.8 kB / 0.6001 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.258e-05/0.1662, allocations: 21.06 kB / 0.6001 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.944e-05/0.1663, allocations: 59.75 kB / 0.6001 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.364e-05/0.1664, allocations: 55.81 kB / 0.6002 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1664, allocations: 0 / 0.6002 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1665, allocations: 43.86 kB / 0.6002 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.1666, allocations: 39.89 kB / 0.6003 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.1666, allocations: 45.64 kB / 0.6003 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.1668, allocations: 147.9 kB / 0.6004 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.1668, allocations: 4 kB / 0.6004 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1668, allocations: 0 / 0.6004 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.1668, allocations: 0 / 0.6004 GB, free: 4.531 MB / 0.4981 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.0006202/0.1675, allocations: 482.8 kB / 0.6009 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1675, allocations: 8.031 kB / 0.6009 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.1676, allocations: 19.72 kB / 0.6009 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.1678, allocations: 243.7 kB / 0.6012 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1679, allocations: 4 kB / 0.6012 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.1679, allocations: 8 kB / 0.6012 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1681, allocations: 87.31 kB / 0.6013 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1681, allocations: 0 / 0.6013 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1681, allocations: 4 kB / 0.6013 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.1681, allocations: 4 kB / 0.6013 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.1682, allocations: 35.92 kB / 0.6013 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.1687, allocations: 360.7 kB / 0.6016 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1689, allocations: 70.61 kB / 0.6017 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1689, allocations: 4 kB / 0.6017 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.1691, allocations: 83.44 kB / 0.6018 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 3.146e-06/0.1691, allocations: 4 kB / 0.6018 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003542/0.1695, allocations: 222.6 kB / 0.602 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1695, allocations: 81.06 kB / 0.6021 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.1698, allocations: 267.7 kB / 0.6023 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1698, allocations: 29.7 kB / 0.6024 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.1699, allocations: 120 kB / 0.6025 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.1699, allocations: 23.59 kB / 0.6025 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/0.17, allocations: 4 kB / 0.6025 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.1701, allocations: 331.1 kB / 0.6028 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.375e-05/0.1701, allocations: 24 kB / 0.6029 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.1702, allocations: 63.34 kB / 0.6029 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.886e-05/0.1703, allocations: 31.98 kB / 0.6029 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1703, allocations: 4 kB / 0.603 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001894/0.1705, allocations: 113.4 kB / 0.6031 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1705, allocations: 12.05 kB / 0.6031 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1706, allocations: 160 / 0.6031 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1706, allocations: 7.984 kB / 0.6031 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.1707, allocations: 11.94 kB / 0.6031 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1707, allocations: 3.984 kB / 0.6031 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.1707, allocations: 7.953 kB / 0.6031 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1708, allocations: 7.984 kB / 0.6031 GB, free: 1.539 MB / 0.4981 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.1709, allocations: 137.8 kB / 0.6032 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.1709, allocations: 19.92 kB / 0.6033 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.171, allocations: 21.34 kB / 0.6033 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.171, allocations: 3.984 kB / 0.6033 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.171, allocations: 4 kB / 0.6033 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.171, allocations: 0 / 0.6033 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1712, allocations: 229.4 kB / 0.6035 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1712, allocations: 0 / 0.6035 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.1712, allocations: 4 kB / 0.6035 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1712, allocations: 0 / 0.6035 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1713, allocations: 0 / 0.6035 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1713, allocations: 8 kB / 0.6035 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1713, allocations: 0 / 0.6035 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.1715, allocations: 156.8 kB / 0.6037 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.1716, allocations: 88.92 kB / 0.6038 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.1716, allocations: 7.984 kB / 0.6038 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.478e-05/0.1717, allocations: 4 kB / 0.6038 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.1717, allocations: 7.984 kB / 0.6038 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1717, allocations: 8 kB / 0.6038 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001757/0.1719, allocations: 188.6 kB / 0.604 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1719, allocations: 0 / 0.604 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002615/0.1722, allocations: 31.98 kB / 0.604 GB, free: 0.5352 MB / 0.4981 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.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008861/0.1731, allocations: 420.1 kB / 0.6044 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.1733, allocations: 71.89 kB / 0.6045 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1733, allocations: 4.062 kB / 0.6045 GB, free: 204 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.026e-05/0.1734, allocations: 43.92 kB / 0.6045 GB, free: 160 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.1736, allocations: 35.92 kB / 0.6045 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2359/0.4095, allocations: 316.2 kB / 0.6048 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.4097, allocations: 0.7283 MB / 0.6056 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.812e-05/0.4098, allocations: 27.14 kB / 0.6056 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.4098, allocations: 14.94 kB / 0.6056 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of SimCode: time 7.12e-07/0.4099, allocations: 0 / 0.6056 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.004376/0.4142, allocations: 2.119 MB / 0.6077 GB, free: 40.14 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) Environment - environmentSimulation: