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.001116/0.001116, allocations: 103.9 kB / 16.4 MB, free: 6.504 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.001158/0.001159, allocations: 196 kB / 17.34 MB, free: 5.742 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7482/0.7482, allocations: 115.3 MB / 406.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.11 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1639, allocations: 76.18 MB / 0.632 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003715/0.1677, allocations: 2.6 MB / 0.6346 GB, free: 1.805 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1694, allocations: 0.9041 MB / 0.6355 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.1696, allocations: 11.94 kB / 0.6355 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.1698, allocations: 63.39 kB / 0.6355 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.17, allocations: 63.39 kB / 0.6356 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.1705, allocations: 237.7 kB / 0.6358 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.171, allocations: 459.7 kB / 0.6363 GB, free: 76 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000368/0.1714, allocations: 233.1 kB / 0.6365 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1715, allocations: 139.4 kB / 0.6366 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1717, allocations: 151.1 kB / 0.6368 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.162e-05/0.1717, allocations: 52 kB / 0.6368 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.993e-05/0.1718, allocations: 48 kB / 0.6369 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.1719, allocations: 95.7 kB / 0.637 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.172, allocations: 179.1 kB / 0.6371 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.1726, allocations: 0.6307 MB / 0.6377 GB, free: 14.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1726, allocations: 7.922 kB / 0.6377 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1726, allocations: 0 / 0.6377 GB, free: 14.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1726, allocations: 0 / 0.6377 GB, free: 14.55 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.0008644/0.1735, allocations: 0.6351 MB / 0.6384 GB, free: 13.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1735, allocations: 8.031 kB / 0.6384 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.967e-05/0.1736, allocations: 48.45 kB / 0.6384 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.1741, allocations: 395.2 kB / 0.6388 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.1741, allocations: 20.94 kB / 0.6388 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.1742, allocations: 24.38 kB / 0.6388 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.1747, allocations: 329.7 kB / 0.6392 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1748, allocations: 3.938 kB / 0.6392 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.1748, allocations: 11.94 kB / 0.6392 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.1748, allocations: 8 kB / 0.6392 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.1753, allocations: 234.1 kB / 0.6394 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.1767, allocations: 1.159 MB / 0.6405 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.1772, allocations: 230.8 kB / 0.6408 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1774, allocations: 100.8 kB / 0.6409 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1774, allocations: 4 kB / 0.6409 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1774, allocations: 34.56 kB / 0.6409 GB, free: 11.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.1774, allocations: 0 / 0.6409 GB, free: 11.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006128/0.1781, allocations: 297.2 kB / 0.6412 GB, free: 10.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.1781, allocations: 81.11 kB / 0.6412 GB, free: 10.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.1784, allocations: 336.4 kB / 0.6416 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1785, allocations: 25.7 kB / 0.6416 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1786, allocations: 200.1 kB / 0.6418 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.1787, allocations: 51.27 kB / 0.6418 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.1787, allocations: 37.7 kB / 0.6419 GB, free: 10.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1789, allocations: 346.8 kB / 0.6422 GB, free: 9.742 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.179, allocations: 92.78 kB / 0.6423 GB, free: 9.648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.1792, allocations: 117.5 kB / 0.6424 GB, free: 9.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.1796, allocations: 188 kB / 0.6426 GB, free: 9.332 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1796, allocations: 3.984 kB / 0.6426 GB, free: 9.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004361/0.18, allocations: 253.1 kB / 0.6428 GB, free: 9.074 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1801, allocations: 9.875 kB / 0.6428 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1801, allocations: 0 / 0.6428 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1801, allocations: 0 / 0.6428 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.1803, allocations: 31.98 kB / 0.6429 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1803, allocations: 3.938 kB / 0.6429 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.1804, allocations: 35.61 kB / 0.6429 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1805, allocations: 4.062 kB / 0.6429 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002272/0.1807, allocations: 200.1 kB / 0.6431 GB, free: 8.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001433/0.1809, allocations: 95.41 kB / 0.6432 GB, free: 8.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002519/0.1811, allocations: 170.5 kB / 0.6434 GB, free: 8.512 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.1811, allocations: 3.938 kB / 0.6434 GB, free: 8.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000347/0.1815, allocations: 235.1 kB / 0.6436 GB, free: 8.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.1815, allocations: 4 kB / 0.6436 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.1815, allocations: 0 / 0.6436 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-06/0.1815, allocations: 7.984 kB / 0.6436 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1816, allocations: 24 kB / 0.6436 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.1817, allocations: 4 kB / 0.6436 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1818, allocations: 15.92 kB / 0.6436 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1818, allocations: 7.938 kB / 0.6436 GB, free: 8.211 MB / 494.1 MB 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.0001049/0.1819, allocations: 192.3 kB / 0.6438 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.182, allocations: 31.62 kB / 0.6439 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.504e-05/0.182, allocations: 35.28 kB / 0.6439 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1821, allocations: 0 / 0.6439 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1821, allocations: 0 / 0.6439 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1821, allocations: 3.938 kB / 0.6439 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.1825, allocations: 409.3 kB / 0.6443 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1825, allocations: 0 / 0.6443 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.1827, allocations: 27.98 kB / 0.6443 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1827, allocations: 11.92 kB / 0.6443 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1827, allocations: 0 / 0.6443 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1827, allocations: 4 kB / 0.6443 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1827, allocations: 0 / 0.6443 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.1833, allocations: 438 kB / 0.6447 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1835, allocations: 136.7 kB / 0.6449 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.1835, allocations: 8 kB / 0.6449 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1837, allocations: 7.984 kB / 0.6449 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.1837, allocations: 15.92 kB / 0.6449 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1837, allocations: 4 kB / 0.6449 GB, free: 6.824 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.184, allocations: 235.1 kB / 0.6451 GB, free: 6.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.184, allocations: 0 / 0.6451 GB, free: 6.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003922/0.1844, allocations: 87.59 kB / 0.6452 GB, free: 6.508 MB / 494.1 MB 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.0001098/0.1845, allocations: 111.2 kB / 0.6453 GB, free: 6.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005547/0.185, allocations: 289.6 kB / 0.6456 GB, free: 6.109 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1851, allocations: 0 / 0.6456 GB, free: 6.109 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.1852, allocations: 99.89 kB / 0.6457 GB, free: 6.012 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.1858, allocations: 83.12 kB / 0.6458 GB, free: 5.938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000953/0.1868, allocations: 0.5505 MB / 0.6463 GB, free: 5.363 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1871, allocations: 0.7791 MB / 0.6471 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.1872, allocations: 26.28 kB / 0.6471 GB, free: 4.527 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.1873, allocations: 23.44 kB / 0.6471 GB, free: 4.504 MB / 494.1 MB Notification: Performance of SimCode: time 4e-07/0.1873, allocations: 0 / 0.6471 GB, free: 4.504 MB / 494.1 MB Notification: Performance of Templates: time 0.006289/0.1936, allocations: 3.191 MB / 0.6502 GB, free: 1.344 MB / 494.1 MB 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)