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.0008107/0.0008106, allocations: 92.55 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.0008248/0.0008248, allocations: 175.1 kB / 16.92 MB, free: 6.652 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.372/1.372, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.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.9963/0.9963, allocations: 143.2 MB / 435.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003247, allocations: 8 kB / 0.517 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1636, allocations: 83.41 MB / 0.5985 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002057/0.1657, allocations: 1.484 MB / 0.5999 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1673, allocations: 1.065 MB / 0.601 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.1674, allocations: 0 / 0.601 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.1677, allocations: 59.8 kB / 0.601 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.1679, allocations: 59.81 kB / 0.6011 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.1684, allocations: 202.6 kB / 0.6013 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.1686, allocations: 139.6 kB / 0.6014 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.1687, allocations: 17.12 kB / 0.6014 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.719e-05/0.1688, allocations: 55.64 kB / 0.6015 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.1689, allocations: 59.75 kB / 0.6016 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1689, allocations: 4 kB / 0.6016 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.169, allocations: 59.91 kB / 0.6016 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.1691, allocations: 31.91 kB / 0.6016 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.105e-05/0.1692, allocations: 85.3 kB / 0.6017 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1694, allocations: 144 kB / 0.6019 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1694, allocations: 0 / 0.6019 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1694, allocations: 0 / 0.6019 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1694, allocations: 0 / 0.6019 GB, free: 4.227 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.0005721/0.17, allocations: 468.5 kB / 0.6023 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.17, allocations: 12.03 kB / 0.6023 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.1701, allocations: 16.75 kB / 0.6023 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1704, allocations: 252.8 kB / 0.6026 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1704, allocations: 8.375 kB / 0.6026 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.1704, allocations: 8.125 kB / 0.6026 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1706, allocations: 100.1 kB / 0.6027 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1706, allocations: 0 / 0.6027 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1706, allocations: 0 / 0.6027 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.1707, allocations: 0 / 0.6027 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.1708, allocations: 35.97 kB / 0.6027 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.1712, allocations: 356.7 kB / 0.6031 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.1715, allocations: 94.69 kB / 0.6032 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.06e-05/0.1715, allocations: 28.84 kB / 0.6032 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1716, allocations: 11.98 kB / 0.6032 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.1718, allocations: 79.38 kB / 0.6033 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.784e-06/0.1718, allocations: 3.938 kB / 0.6033 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.000339/0.1721, allocations: 145.4 kB / 0.6034 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.1722, allocations: 106.8 kB / 0.6035 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.1725, allocations: 263.6 kB / 0.6038 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1725, allocations: 25.7 kB / 0.6038 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.1726, allocations: 120.1 kB / 0.6039 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1726, allocations: 15.8 kB / 0.6039 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.1727, allocations: 17.72 kB / 0.6039 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1728, allocations: 334.8 kB / 0.6043 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.1729, allocations: 27.98 kB / 0.6043 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.173, allocations: 68.22 kB / 0.6043 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.1731, allocations: 77.98 kB / 0.6044 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1731, allocations: 0 / 0.6044 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002084/0.1733, allocations: 117.4 kB / 0.6045 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.1734, allocations: 4 kB / 0.6045 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1734, allocations: 0 / 0.6045 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1734, allocations: 4 kB / 0.6045 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.1735, allocations: 8 kB / 0.6045 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1735, allocations: 3.984 kB / 0.6046 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.1736, allocations: 19.81 kB / 0.6046 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1736, allocations: 4 kB / 0.6046 GB, free: 1.172 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 ($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.0001228/0.1737, allocations: 146 kB / 0.6047 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.1738, allocations: 15.81 kB / 0.6047 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.1738, allocations: 25.27 kB / 0.6048 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.1738, allocations: 4 kB / 0.6048 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1738, allocations: 0 / 0.6048 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1738, allocations: 3.938 kB / 0.6048 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.174, allocations: 217.6 kB / 0.605 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1741, allocations: 4 kB / 0.605 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.1741, allocations: 11.98 kB / 0.605 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1741, allocations: 0 / 0.605 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1741, allocations: 0 / 0.605 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1741, allocations: 3.938 kB / 0.605 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1741, allocations: 0 / 0.605 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.1744, allocations: 144.8 kB / 0.6051 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.1744, allocations: 96.92 kB / 0.6052 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.1745, allocations: 4 kB / 0.6052 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.875e-05/0.1745, allocations: 7.984 kB / 0.6052 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.1746, allocations: 11.98 kB / 0.6052 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.1746, allocations: 7.875 kB / 0.6052 GB, free: 392 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001758/0.1748, allocations: 192.6 kB / 0.6054 GB, free: 200 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1748, allocations: 0 / 0.6054 GB, free: 200 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002448/0.175, allocations: 35.98 kB / 0.6055 GB, free: 164 kB / 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 (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.245/0.42, allocations: 416.4 kB / 0.6059 GB, free: 41.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.4204, allocations: 67.56 kB / 0.6059 GB, free: 41.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.4204, allocations: 2.219 kB / 0.6059 GB, free: 41.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.066e-05/0.4205, allocations: 37.36 kB / 0.606 GB, free: 41.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.4209, allocations: 39.55 kB / 0.606 GB, free: 41.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.4214, allocations: 355.3 kB / 0.6063 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.4216, allocations: 0.7258 MB / 0.6071 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.4217, allocations: 17.59 kB / 0.6071 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.4217, allocations: 0 / 0.6071 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.00399/0.4257, allocations: 2.592 MB / 0.6096 GB, free: 40.29 MB / 0.4981 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)