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.0018/0.0018, allocations: 109.7 kB / 16.41 MB, free: 6.449 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.002009/0.002009, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.593/1.593, 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.9181/0.9181, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.52 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.169, allocations: 82.04 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003279/0.1723, allocations: 1.775 MB / 0.6781 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1742, allocations: 1.103 MB / 0.6791 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.84e-05/0.1743, allocations: 11.94 kB / 0.6791 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.1746, allocations: 55.73 kB / 0.6792 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1748, allocations: 71.67 kB / 0.6793 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.1755, allocations: 230.8 kB / 0.6795 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.1757, allocations: 147.6 kB / 0.6796 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.1758, allocations: 13.12 kB / 0.6796 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1759, allocations: 71.69 kB / 0.6797 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.176, allocations: 67.69 kB / 0.6798 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.1761, allocations: 8 kB / 0.6798 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.1762, allocations: 71.94 kB / 0.6798 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.954e-05/0.1763, allocations: 35.91 kB / 0.6799 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.087e-05/0.1764, allocations: 59.61 kB / 0.6799 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.1767, allocations: 203.1 kB / 0.6801 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1767, allocations: 0 / 0.6801 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1767, allocations: 0 / 0.6801 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.1767, allocations: 4 kB / 0.6801 GB, free: 6.398 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.0007577/0.1775, allocations: 496.1 kB / 0.6806 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1775, allocations: 8.031 kB / 0.6806 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.1776, allocations: 20.83 kB / 0.6806 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.178, allocations: 253 kB / 0.6809 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.178, allocations: 4.312 kB / 0.6809 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.178, allocations: 8.125 kB / 0.6809 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.1782, allocations: 100.2 kB / 0.681 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1782, allocations: 0 / 0.681 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.1783, allocations: 4 kB / 0.681 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.1783, allocations: 7.938 kB / 0.681 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1784, allocations: 27.98 kB / 0.681 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.179, allocations: 356.7 kB / 0.6814 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.1792, allocations: 90.69 kB / 0.6814 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.356e-05/0.1793, allocations: 40.83 kB / 0.6815 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1793, allocations: 0 / 0.6815 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.1795, allocations: 79.38 kB / 0.6816 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.1795, allocations: 0 / 0.6816 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0003833/0.1799, allocations: 149.5 kB / 0.6817 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.18, allocations: 102.8 kB / 0.6818 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.1803, allocations: 266.9 kB / 0.6821 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.1803, allocations: 29.7 kB / 0.6821 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.1804, allocations: 120.1 kB / 0.6822 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.1804, allocations: 19.86 kB / 0.6822 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.1805, allocations: 25.7 kB / 0.6822 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1806, allocations: 330.8 kB / 0.6826 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.1807, allocations: 31.98 kB / 0.6826 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1808, allocations: 68.27 kB / 0.6827 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.181, allocations: 69.64 kB / 0.6827 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.181, allocations: 0 / 0.6827 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002425/0.1812, allocations: 121.5 kB / 0.6828 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1812, allocations: 8.031 kB / 0.6828 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1812, allocations: 0 / 0.6828 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1813, allocations: 0 / 0.6828 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.1813, allocations: 12 kB / 0.6829 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1814, allocations: 0 / 0.6829 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.1814, allocations: 11.92 kB / 0.6829 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1814, allocations: 7.938 kB / 0.6829 GB, free: 3.309 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.0001408/0.1816, allocations: 142.5 kB / 0.683 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.1816, allocations: 20.09 kB / 0.683 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.789e-05/0.1817, allocations: 21.39 kB / 0.6831 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.1817, allocations: 3.938 kB / 0.6831 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1817, allocations: 4 kB / 0.6831 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1817, allocations: 3.938 kB / 0.6831 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.1819, allocations: 221.5 kB / 0.6833 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1819, allocations: 0 / 0.6833 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.1819, allocations: 7.938 kB / 0.6833 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1819, allocations: 0 / 0.6833 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.182, allocations: 7.984 kB / 0.6833 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.182, allocations: 0 / 0.6833 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.182, allocations: 4 kB / 0.6833 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.1822, allocations: 144.9 kB / 0.6834 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.1823, allocations: 93.02 kB / 0.6835 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.1823, allocations: 4 kB / 0.6835 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.155e-05/0.1824, allocations: 4 kB / 0.6835 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.1824, allocations: 11.98 kB / 0.6835 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1825, allocations: 7.938 kB / 0.6835 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001931/0.1827, allocations: 200.6 kB / 0.6837 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1827, allocations: 0 / 0.6837 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002978/0.183, allocations: 31.94 kB / 0.6838 GB, free: 2.297 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.001493/0.1844, allocations: 423.2 kB / 0.6842 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.1847, allocations: 63.97 kB / 0.6842 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1847, allocations: 0 / 0.6842 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1848, allocations: 39.98 kB / 0.6843 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.1851, allocations: 52.84 kB / 0.6843 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.1857, allocations: 336.6 kB / 0.6846 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.1861, allocations: 0.7201 MB / 0.6853 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.1861, allocations: 19.42 kB / 0.6854 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1861, allocations: 0 / 0.6854 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of Templates: time 0.0049/0.191, allocations: 2.629 MB / 0.6879 GB, free: 14.14 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)