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.001208/0.001208, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001198/0.001198, allocations: 189.6 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.14 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.8787/0.8787, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.53 kB / 0.5962 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1547, allocations: 82.03 MB / 0.6763 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003684/0.1585, allocations: 1.779 MB / 0.678 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1603, allocations: 1.107 MB / 0.6791 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.1605, allocations: 4 kB / 0.6791 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.1609, allocations: 55.73 kB / 0.6792 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.1612, allocations: 75.67 kB / 0.6793 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007351/0.1619, allocations: 230.5 kB / 0.6795 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.1622, allocations: 143.7 kB / 0.6796 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1623, allocations: 25.11 kB / 0.6796 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1625, allocations: 67.69 kB / 0.6797 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1626, allocations: 67.69 kB / 0.6798 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.1626, allocations: 8 kB / 0.6798 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.1628, allocations: 63.97 kB / 0.6798 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.103e-05/0.1629, allocations: 39.89 kB / 0.6799 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.697e-05/0.163, allocations: 63.55 kB / 0.6799 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.1633, allocations: 203.4 kB / 0.6801 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1633, allocations: 0 / 0.6801 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1633, allocations: 0 / 0.6801 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.1634, allocations: 0 / 0.6801 GB, free: 6.523 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.0007274/0.1641, allocations: 494.9 kB / 0.6806 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1641, allocations: 8.031 kB / 0.6806 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.1642, allocations: 16.75 kB / 0.6806 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.1646, allocations: 252.9 kB / 0.6809 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1647, allocations: 4.375 kB / 0.6809 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.1647, allocations: 12.12 kB / 0.6809 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.1649, allocations: 92.17 kB / 0.681 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1649, allocations: 3.938 kB / 0.681 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1649, allocations: 0 / 0.681 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.165, allocations: 4 kB / 0.681 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1651, allocations: 39.91 kB / 0.681 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.1656, allocations: 364.6 kB / 0.6814 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.1659, allocations: 94.67 kB / 0.6814 GB, free: 5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.166, allocations: 28.84 kB / 0.6815 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.166, allocations: 4 kB / 0.6815 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.1662, allocations: 83.38 kB / 0.6816 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.1662, allocations: 0 / 0.6816 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0003809/0.1666, allocations: 137.4 kB / 0.6817 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.1667, allocations: 106.8 kB / 0.6818 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.1669, allocations: 259 kB / 0.682 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1669, allocations: 29.7 kB / 0.6821 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.167, allocations: 112.1 kB / 0.6822 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.1671, allocations: 27.69 kB / 0.6822 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.1671, allocations: 33.7 kB / 0.6822 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1672, allocations: 330.8 kB / 0.6825 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.1673, allocations: 23.98 kB / 0.6826 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-05/0.1674, allocations: 68.28 kB / 0.6826 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1676, allocations: 77.92 kB / 0.6827 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1676, allocations: 4 kB / 0.6827 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002277/0.1678, allocations: 109.4 kB / 0.6828 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1678, allocations: 8 kB / 0.6828 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1678, allocations: 0 / 0.6828 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1679, allocations: 0 / 0.6828 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.678e-05/0.168, allocations: 15.98 kB / 0.6828 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.168, allocations: 0 / 0.6828 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.1681, allocations: 15.86 kB / 0.6829 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1681, allocations: 0 / 0.6829 GB, free: 3.445 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.0001268/0.1682, allocations: 147.2 kB / 0.683 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.1682, allocations: 19.8 kB / 0.683 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.1683, allocations: 17.41 kB / 0.683 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.1683, allocations: 0 / 0.683 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1683, allocations: 192 / 0.683 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1683, allocations: 7.875 kB / 0.683 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.1685, allocations: 229.5 kB / 0.6833 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1685, allocations: 3.984 kB / 0.6833 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.1686, allocations: 4 kB / 0.6833 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1686, allocations: 4 kB / 0.6833 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1686, allocations: 0 / 0.6833 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1686, allocations: 8 kB / 0.6833 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1686, allocations: 0 / 0.6833 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1689, allocations: 144.8 kB / 0.6834 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.1689, allocations: 92.92 kB / 0.6835 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.169, allocations: 3.984 kB / 0.6835 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.676e-05/0.169, allocations: 4 kB / 0.6835 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.1691, allocations: 15.98 kB / 0.6835 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.1691, allocations: 7.938 kB / 0.6835 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001718/0.1693, allocations: 188.6 kB / 0.6837 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.423e-06/0.1693, allocations: 0 / 0.6837 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002762/0.1696, allocations: 47.86 kB / 0.6838 GB, free: 2.422 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.001056/0.1706, allocations: 416.8 kB / 0.6842 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.1709, allocations: 71.97 kB / 0.6842 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1709, allocations: 0 / 0.6842 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.06e-05/0.171, allocations: 35.92 kB / 0.6843 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.1713, allocations: 43.14 kB / 0.6843 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.1719, allocations: 316.5 kB / 0.6846 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1722, allocations: 0.7241 MB / 0.6853 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.1723, allocations: 23.44 kB / 0.6853 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of SimCode: time 4.1e-07/0.1723, allocations: 0 / 0.6853 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of Templates: time 0.004892/0.1772, allocations: 2.657 MB / 0.6879 GB, free: 14.26 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)