Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009142/0.0009141, allocations: 97.91 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.000996/0.000996, allocations: 177.3 kB / 15.95 MB, free: 216 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.346/1.346, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.031/1.031, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003007, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1637, allocations: 83.42 MB / 0.5973 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.001998/0.1658, allocations: 1.449 MB / 0.5987 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1674, allocations: 0.9837 MB / 0.5997 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.1675, allocations: 0 / 0.5997 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.1678, allocations: 55.73 kB / 0.5997 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.1681, allocations: 59.8 kB / 0.5998 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.1687, allocations: 186.9 kB / 0.5999 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.1689, allocations: 91.81 kB / 0.6 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.169, allocations: 13.12 kB / 0.6 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1691, allocations: 55.77 kB / 0.6001 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1692, allocations: 51.75 kB / 0.6001 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.1692, allocations: 4 kB / 0.6001 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1694, allocations: 51.89 kB / 0.6002 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.1695, allocations: 27.91 kB / 0.6002 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.1695, allocations: 45.64 kB / 0.6003 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1698, allocations: 148 kB / 0.6004 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1698, allocations: 4 kB / 0.6004 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.983e-06/0.1698, allocations: 0 / 0.6004 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.1698, allocations: 0 / 0.6004 GB, free: 4.586 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008347/0.1707, allocations: 476.2 kB / 0.6009 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1707, allocations: 8.031 kB / 0.6009 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.1708, allocations: 15.81 kB / 0.6009 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.1711, allocations: 239.7 kB / 0.6011 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1712, allocations: 4 kB / 0.6011 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1712, allocations: 11.98 kB / 0.6011 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.1714, allocations: 96.16 kB / 0.6012 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1715, allocations: 0 / 0.6012 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1715, allocations: 4 kB / 0.6012 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.1715, allocations: 4 kB / 0.6012 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1716, allocations: 31.97 kB / 0.6013 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.1722, allocations: 364.5 kB / 0.6016 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.1725, allocations: 86.66 kB / 0.6017 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1725, allocations: 0 / 0.6017 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.1727, allocations: 87.47 kB / 0.6018 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.1727, allocations: 4 kB / 0.6018 GB, free: 3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004148/0.1732, allocations: 218.6 kB / 0.602 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.1733, allocations: 110.8 kB / 0.6021 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.1736, allocations: 259.7 kB / 0.6023 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1736, allocations: 29.7 kB / 0.6024 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.1737, allocations: 116.1 kB / 0.6025 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.1737, allocations: 23.66 kB / 0.6025 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.1737, allocations: 0 / 0.6025 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1739, allocations: 334.8 kB / 0.6028 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.1739, allocations: 27.92 kB / 0.6028 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.562e-05/0.1741, allocations: 68.27 kB / 0.6029 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.339e-05/0.1742, allocations: 36.28 kB / 0.6029 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1742, allocations: 0 / 0.6029 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.1744, allocations: 117.4 kB / 0.6031 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1744, allocations: 4 kB / 0.6031 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1744, allocations: 0 / 0.6031 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1744, allocations: 4 kB / 0.6031 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.1745, allocations: 15.98 kB / 0.6031 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1745, allocations: 3.953 kB / 0.6031 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.1746, allocations: 7.938 kB / 0.6031 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1746, allocations: 4 kB / 0.6031 GB, free: 1.551 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: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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.0001346/0.1748, allocations: 150.7 kB / 0.6032 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.1748, allocations: 15.81 kB / 0.6033 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.1749, allocations: 17.39 kB / 0.6033 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.1749, allocations: 4 kB / 0.6033 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1749, allocations: 0 / 0.6033 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1749, allocations: 3.953 kB / 0.6033 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.1751, allocations: 217.6 kB / 0.6035 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1751, allocations: 0 / 0.6035 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.1752, allocations: 11.98 kB / 0.6035 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1752, allocations: 0 / 0.6035 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1752, allocations: 3.984 kB / 0.6035 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1752, allocations: 4 kB / 0.6035 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1752, allocations: 0 / 0.6035 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1754, allocations: 140.9 kB / 0.6036 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.1755, allocations: 100.8 kB / 0.6037 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.1756, allocations: 4 kB / 0.6037 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.285e-05/0.1756, allocations: 3.938 kB / 0.6037 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.1757, allocations: 11.98 kB / 0.6038 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1757, allocations: 8 kB / 0.6038 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001671/0.1759, allocations: 196.6 kB / 0.604 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1759, allocations: 0 / 0.604 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002654/0.1761, allocations: 32.09 kB / 0.604 GB, free: 0.543 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.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.001046/0.1772, allocations: 433.8 kB / 0.6044 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.1775, allocations: 67.91 kB / 0.6045 GB, free: 212 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1775, allocations: 8.062 kB / 0.6045 GB, free: 204 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.713e-05/0.1776, allocations: 31.98 kB / 0.6045 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.1779, allocations: 31.95 kB / 0.6045 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2488/0.4267, allocations: 311.7 kB / 0.6048 GB, free: 40.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.4269, allocations: 0.7253 MB / 0.6055 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.427, allocations: 24.14 kB / 0.6056 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.427, allocations: 24.17 kB / 0.6056 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.427, allocations: 0.5625 kB / 0.6056 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.004929/0.432, allocations: 2.36 MB / 0.6079 GB, free: 40.16 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) Environment - environmentSimulation: