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.001925/0.001925, allocations: 116.1 kB / 17.08 MB, free: 5.984 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.001905/0.001905, allocations: 195 kB / 18.02 MB, free: 5.07 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.413/1.413, allocations: 222.9 MB / 241.7 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.7325/0.7325, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 65.91 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1402, allocations: 76.19 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003838/0.1441, allocations: 2.596 MB / 0.6352 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.1458, allocations: 0.9041 MB / 0.6361 GB, free: 0.875 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.146, allocations: 8 kB / 0.6361 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.1463, allocations: 67.33 kB / 0.6362 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.1464, allocations: 63.39 kB / 0.6363 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.147, allocations: 237.5 kB / 0.6365 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004494/0.1474, allocations: 459.6 kB / 0.6369 GB, free: 56 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003679/0.1478, allocations: 225.1 kB / 0.6371 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.148, allocations: 151.4 kB / 0.6373 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1481, allocations: 147.2 kB / 0.6374 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.222e-05/0.1482, allocations: 52 kB / 0.6375 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.033e-05/0.1483, allocations: 48 kB / 0.6375 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.1484, allocations: 91.66 kB / 0.6376 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.1485, allocations: 187.1 kB / 0.6378 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005787/0.1491, allocations: 0.6229 MB / 0.6384 GB, free: 14.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1491, allocations: 0 / 0.6384 GB, free: 14.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1491, allocations: 0 / 0.6384 GB, free: 14.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1491, allocations: 4 kB / 0.6384 GB, free: 14.54 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.0009456/0.1501, allocations: 0.639 MB / 0.639 GB, free: 13.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1501, allocations: 12.03 kB / 0.639 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.1502, allocations: 40.47 kB / 0.6391 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/0.1508, allocations: 391.2 kB / 0.6394 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.1508, allocations: 24.88 kB / 0.6395 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.1509, allocations: 32.31 kB / 0.6395 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006158/0.1515, allocations: 329.7 kB / 0.6398 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1515, allocations: 0 / 0.6398 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.1516, allocations: 16 kB / 0.6398 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.1516, allocations: 8 kB / 0.6398 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.1521, allocations: 234.1 kB / 0.6401 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.1537, allocations: 1.151 MB / 0.6412 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.1542, allocations: 242.2 kB / 0.6414 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.1544, allocations: 100.7 kB / 0.6415 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1545, allocations: 4 kB / 0.6415 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1545, allocations: 38.56 kB / 0.6415 GB, free: 11.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.1545, allocations: 0 / 0.6415 GB, free: 11.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006922/0.1552, allocations: 297.2 kB / 0.6418 GB, free: 10.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.1553, allocations: 81.11 kB / 0.6419 GB, free: 10.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.1556, allocations: 328.4 kB / 0.6422 GB, free: 10.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1557, allocations: 29.7 kB / 0.6423 GB, free: 10.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.1558, allocations: 200 kB / 0.6424 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.1559, allocations: 47.27 kB / 0.6425 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/0.156, allocations: 41.7 kB / 0.6425 GB, free: 10.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1561, allocations: 342.8 kB / 0.6429 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.1564, allocations: 100.7 kB / 0.6429 GB, free: 9.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.1566, allocations: 111.4 kB / 0.6431 GB, free: 9.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.1569, allocations: 186.6 kB / 0.6432 GB, free: 9.312 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1569, allocations: 0 / 0.6432 GB, free: 9.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00049/0.1574, allocations: 258.8 kB / 0.6435 GB, free: 9.055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1575, allocations: 4 kB / 0.6435 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1575, allocations: 4 kB / 0.6435 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1575, allocations: 8 kB / 0.6435 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.1577, allocations: 27.98 kB / 0.6435 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1577, allocations: 4 kB / 0.6435 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.1579, allocations: 35.61 kB / 0.6436 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1579, allocations: 4 kB / 0.6436 GB, free: 8.969 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002527/0.1582, allocations: 192.1 kB / 0.6437 GB, free: 8.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001544/0.1583, allocations: 101.3 kB / 0.6438 GB, free: 8.668 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002822/0.1586, allocations: 176.2 kB / 0.644 GB, free: 8.488 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.1586, allocations: 4 kB / 0.644 GB, free: 8.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003848/0.159, allocations: 218.7 kB / 0.6442 GB, free: 8.266 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.159, allocations: 8 kB / 0.6442 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.159, allocations: 0 / 0.6442 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-06/0.1591, allocations: 4.062 kB / 0.6442 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1592, allocations: 35.92 kB / 0.6443 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.1592, allocations: 0 / 0.6443 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.1593, allocations: 19.86 kB / 0.6443 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.1594, allocations: 11.94 kB / 0.6443 GB, free: 8.188 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.0001416/0.1595, allocations: 188.9 kB / 0.6445 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.1596, allocations: 27.62 kB / 0.6445 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.064e-05/0.1597, allocations: 35.28 kB / 0.6445 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1597, allocations: 8 kB / 0.6445 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1597, allocations: 0 / 0.6445 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1597, allocations: 3.938 kB / 0.6446 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.1602, allocations: 405.3 kB / 0.6449 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1602, allocations: 0 / 0.6449 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.1604, allocations: 27.98 kB / 0.645 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1604, allocations: 0 / 0.645 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.1604, allocations: 4 kB / 0.645 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1604, allocations: 0 / 0.645 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1604, allocations: 3.984 kB / 0.645 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.1611, allocations: 441.4 kB / 0.6454 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.1613, allocations: 144.7 kB / 0.6455 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.1613, allocations: 4 kB / 0.6455 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1615, allocations: 11.98 kB / 0.6455 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.1615, allocations: 15.92 kB / 0.6456 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1615, allocations: 8.062 kB / 0.6456 GB, free: 6.797 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.1618, allocations: 231.1 kB / 0.6458 GB, free: 6.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1618, allocations: 0 / 0.6458 GB, free: 6.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.1622, allocations: 91.59 kB / 0.6459 GB, free: 6.48 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.0001273/0.1623, allocations: 99.25 kB / 0.646 GB, free: 6.375 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006075/0.163, allocations: 286.2 kB / 0.6462 GB, free: 6.098 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.163, allocations: 4 kB / 0.6462 GB, free: 6.094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.1632, allocations: 91.91 kB / 0.6463 GB, free: 6.004 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.1637, allocations: 83.22 kB / 0.6464 GB, free: 5.926 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1649, allocations: 0.5788 MB / 0.647 GB, free: 5.316 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.1653, allocations: 0.7791 MB / 0.6477 GB, free: 4.508 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.532e-05/0.1654, allocations: 23.44 kB / 0.6478 GB, free: 4.484 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1654, allocations: 0 / 0.6478 GB, free: 4.484 MB / 494.1 MB Notification: Performance of Templates: time 0.006936/0.1723, allocations: 4.002 MB / 0.6517 GB, free: 0.4922 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)