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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001426/0.001426, allocations: 106.1 kB / 16.41 MB, free: 6.5 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.001742/0.001742, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8357/0.8357, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.53 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1512, allocations: 82.04 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002819/0.1541, allocations: 1.781 MB / 0.678 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1557, allocations: 1.096 MB / 0.6791 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.059e-05/0.1558, allocations: 4 kB / 0.6791 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.1561, allocations: 55.67 kB / 0.6792 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.1564, allocations: 83.61 kB / 0.6793 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.1569, allocations: 222.7 kB / 0.6795 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.1571, allocations: 147.6 kB / 0.6796 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.1572, allocations: 29.11 kB / 0.6796 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.1573, allocations: 63.7 kB / 0.6797 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1574, allocations: 67.75 kB / 0.6798 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.1575, allocations: 8 kB / 0.6798 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.1576, allocations: 71.88 kB / 0.6798 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.1577, allocations: 35.91 kB / 0.6799 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.1578, allocations: 59.61 kB / 0.6799 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.158, allocations: 203.3 kB / 0.6801 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1581, allocations: 7.984 kB / 0.6801 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1581, allocations: 0 / 0.6801 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.1581, allocations: 0 / 0.6801 GB, free: 6.418 MB / 0.5137 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.0006212/0.1587, allocations: 492.3 kB / 0.6806 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1587, allocations: 8.031 kB / 0.6806 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.1588, allocations: 20.75 kB / 0.6806 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1591, allocations: 237 kB / 0.6809 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.1591, allocations: 4.375 kB / 0.6809 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.1592, allocations: 12.12 kB / 0.6809 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.1594, allocations: 100.1 kB / 0.681 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1594, allocations: 0 / 0.681 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1594, allocations: 4 kB / 0.681 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.1594, allocations: 4 kB / 0.681 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1595, allocations: 31.92 kB / 0.681 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.16, allocations: 364.5 kB / 0.6813 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.1603, allocations: 86.66 kB / 0.6814 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.428e-05/0.1603, allocations: 32.88 kB / 0.6815 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.1604, allocations: 4 kB / 0.6815 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.1606, allocations: 83.38 kB / 0.6815 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 2.785e-06/0.1606, allocations: 3.984 kB / 0.6816 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0003456/0.1609, allocations: 145.4 kB / 0.6817 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.161, allocations: 106.8 kB / 0.6818 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1612, allocations: 262.9 kB / 0.682 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1613, allocations: 25.7 kB / 0.6821 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.1613, allocations: 120.1 kB / 0.6822 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.1614, allocations: 19.7 kB / 0.6822 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.1614, allocations: 33.72 kB / 0.6822 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1616, allocations: 330.8 kB / 0.6825 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.01e-05/0.1616, allocations: 23.98 kB / 0.6826 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.794e-05/0.1617, allocations: 68.28 kB / 0.6826 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1619, allocations: 77.61 kB / 0.6827 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1619, allocations: 4 kB / 0.6827 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002149/0.1621, allocations: 105.5 kB / 0.6828 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1621, allocations: 8 kB / 0.6828 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1622, allocations: 0 / 0.6828 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1622, allocations: 0 / 0.6828 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.369e-05/0.1623, allocations: 19.92 kB / 0.6828 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1623, allocations: 0 / 0.6828 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.1623, allocations: 11.88 kB / 0.6829 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1624, allocations: 8 kB / 0.6829 GB, free: 3.34 MB / 0.5137 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 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.0001276/0.1625, allocations: 142.6 kB / 0.683 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.1625, allocations: 15.81 kB / 0.683 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.1626, allocations: 25.39 kB / 0.683 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.1626, allocations: 0 / 0.683 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1626, allocations: 0 / 0.683 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1626, allocations: 3.938 kB / 0.683 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1628, allocations: 225.5 kB / 0.6833 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1628, allocations: 0 / 0.6833 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.304e-05/0.1629, allocations: 7.984 kB / 0.6833 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1629, allocations: 4 kB / 0.6833 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1629, allocations: 4 kB / 0.6833 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1629, allocations: 0 / 0.6833 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1629, allocations: 0 / 0.6833 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1631, allocations: 144.8 kB / 0.6834 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.1632, allocations: 92.92 kB / 0.6835 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1632, allocations: 0 / 0.6835 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.958e-05/0.1633, allocations: 11.98 kB / 0.6835 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.1634, allocations: 8 kB / 0.6835 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1634, allocations: 11.92 kB / 0.6835 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001668/0.1635, allocations: 188.6 kB / 0.6837 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1636, allocations: 192 / 0.6837 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002442/0.1638, allocations: 39.94 kB / 0.6837 GB, free: 2.336 MB / 0.5137 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 (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.0009661/0.1648, allocations: 432 kB / 0.6842 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.165, allocations: 75.89 kB / 0.6842 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.165, allocations: 0 / 0.6842 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.1651, allocations: 35.97 kB / 0.6843 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.1654, allocations: 43.55 kB / 0.6843 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.1659, allocations: 324.3 kB / 0.6846 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1662, allocations: 0.7283 MB / 0.6853 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.1663, allocations: 15.44 kB / 0.6853 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1663, allocations: 0 / 0.6853 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of Templates: time 0.004471/0.1708, allocations: 2.629 MB / 0.6879 GB, free: 14.18 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (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)