Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 99.36 kB / 16.4 MB, free: 6.438 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.001721/0.001721, allocations: 196 kB / 17.34 MB, free: 5.711 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.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7658/0.7658, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 62.91 kB / 0.5684 GB, free: 28.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1576, allocations: 77.94 MB / 0.6445 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003421/0.161, allocations: 2.599 MB / 0.6471 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1625, allocations: 0.9002 MB / 0.648 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.1627, allocations: 11.94 kB / 0.648 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.1629, allocations: 63.39 kB / 0.648 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.163, allocations: 71.33 kB / 0.6481 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.1635, allocations: 229.6 kB / 0.6483 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004212/0.1639, allocations: 459.6 kB / 0.6488 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.1642, allocations: 229.7 kB / 0.649 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1644, allocations: 143.3 kB / 0.6491 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.1646, allocations: 155.2 kB / 0.6493 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.736e-05/0.1646, allocations: 52 kB / 0.6493 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-05/0.1647, allocations: 52 kB / 0.6494 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.1648, allocations: 87.72 kB / 0.6494 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.1649, allocations: 191 kB / 0.6496 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005513/0.1655, allocations: 0.6188 MB / 0.6502 GB, free: 3.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1655, allocations: 3.938 kB / 0.6502 GB, free: 3.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1655, allocations: 0 / 0.6502 GB, free: 3.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1655, allocations: 0 / 0.6502 GB, free: 3.148 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008823/0.1664, allocations: 0.6582 MB / 0.6509 GB, free: 2.441 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1664, allocations: 8.031 kB / 0.6509 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.1665, allocations: 44.66 kB / 0.6509 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.167, allocations: 391.5 kB / 0.6513 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.167, allocations: 24.94 kB / 0.6513 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.1671, allocations: 28.31 kB / 0.6514 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.1676, allocations: 333.7 kB / 0.6517 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1677, allocations: 0 / 0.6517 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.1677, allocations: 12 kB / 0.6517 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1677, allocations: 4 kB / 0.6517 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.1682, allocations: 238.1 kB / 0.6519 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.1696, allocations: 1.163 MB / 0.653 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.1701, allocations: 226.8 kB / 0.6533 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.1703, allocations: 104.9 kB / 0.6534 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1703, allocations: 0 / 0.6534 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1703, allocations: 34.56 kB / 0.6534 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.1704, allocations: 0 / 0.6534 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006394/0.171, allocations: 303.3 kB / 0.6537 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.1711, allocations: 81.11 kB / 0.6538 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.1714, allocations: 332.5 kB / 0.6541 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1714, allocations: 29.7 kB / 0.6541 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.1716, allocations: 196.3 kB / 0.6543 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.1716, allocations: 59.52 kB / 0.6544 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.1717, allocations: 41.66 kB / 0.6544 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1718, allocations: 342.8 kB / 0.6547 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.172, allocations: 92.83 kB / 0.6548 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.1722, allocations: 111.4 kB / 0.6549 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.1726, allocations: 191.8 kB / 0.6551 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1726, allocations: 0 / 0.6551 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004364/0.173, allocations: 259.3 kB / 0.6553 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.173, allocations: 4 kB / 0.6553 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1731, allocations: 0 / 0.6553 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1731, allocations: 7.984 kB / 0.6554 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.1733, allocations: 31.92 kB / 0.6554 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1733, allocations: 4.062 kB / 0.6554 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1734, allocations: 31.78 kB / 0.6554 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.1734, allocations: 7.984 kB / 0.6554 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002171/0.1737, allocations: 196.1 kB / 0.6556 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001486/0.1738, allocations: 104 kB / 0.6557 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002429/0.1741, allocations: 172 kB / 0.6559 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.1741, allocations: 0 / 0.6559 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003592/0.1744, allocations: 229.3 kB / 0.6561 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1745, allocations: 4 kB / 0.6561 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.1745, allocations: 4 kB / 0.6561 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-06/0.1745, allocations: 0 / 0.6561 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1746, allocations: 27.98 kB / 0.6561 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1746, allocations: 15.98 kB / 0.6561 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.1747, allocations: 11.95 kB / 0.6562 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1747, allocations: 11.94 kB / 0.6562 GB, free: 12.77 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0001005/0.1749, allocations: 184.2 kB / 0.6563 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.1749, allocations: 35.77 kB / 0.6564 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.175, allocations: 35.28 kB / 0.6564 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.175, allocations: 4 kB / 0.6564 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.175, allocations: 0 / 0.6564 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.175, allocations: 3.938 kB / 0.6564 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.1754, allocations: 409.3 kB / 0.6568 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1754, allocations: 0 / 0.6568 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1756, allocations: 31.92 kB / 0.6568 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1756, allocations: 0 / 0.6568 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1756, allocations: 4 kB / 0.6568 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1756, allocations: 0 / 0.6568 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1756, allocations: 0 / 0.6568 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.1763, allocations: 445.1 kB / 0.6573 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1764, allocations: 132.9 kB / 0.6574 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.1765, allocations: 4 kB / 0.6574 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.1766, allocations: 4 kB / 0.6574 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.1767, allocations: 23.86 kB / 0.6574 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.1767, allocations: 0 / 0.6574 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002166/0.1769, allocations: 235.1 kB / 0.6576 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1769, allocations: 4.062 kB / 0.6577 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003682/0.1773, allocations: 91.67 kB / 0.6577 GB, free: 11.07 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001005/0.1774, allocations: 107.2 kB / 0.6578 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005622/0.178, allocations: 275.8 kB / 0.6581 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.178, allocations: 256 / 0.6581 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.1782, allocations: 106.7 kB / 0.6582 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.1787, allocations: 90.23 kB / 0.6583 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1797, allocations: 0.558 MB / 0.6588 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.1801, allocations: 0.7714 MB / 0.6596 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001169/0.1802, allocations: 26.28 kB / 0.6596 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.1803, allocations: 23.44 kB / 0.6596 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1803, allocations: 0 / 0.6596 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of Templates: time 0.006258/0.1865, allocations: 3.196 MB / 0.6628 GB, free: 5.902 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)