Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.001282/0.001282, allocations: 193.8 kB / 18.02 MB, free: 4.965 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.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.711/0.711, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 66.75 kB / 0.5583 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1611, allocations: 76.19 MB / 0.6327 GB, free: 4.516 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002657/0.1638, allocations: 1.239 MB / 0.6339 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000379/0.1642, allocations: 127.8 kB / 0.6341 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.1642, allocations: 0 / 0.6341 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.1643, allocations: 0 / 0.6341 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.451e-05/0.1644, allocations: 3.938 kB / 0.6341 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1646, allocations: 39.88 kB / 0.6341 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.022e-05/0.1647, allocations: 15.92 kB / 0.6341 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.1647, allocations: 4 kB / 0.6341 GB, free: 3.078 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.1648, allocations: 7.938 kB / 0.6341 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.1648, allocations: 11.88 kB / 0.6341 GB, free: 3.059 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1648, allocations: 0 / 0.6341 GB, free: 3.059 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.165, allocations: 51.94 kB / 0.6342 GB, free: 3.008 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.809e-06/0.165, allocations: 4 kB / 0.6342 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.165, allocations: 11.91 kB / 0.6342 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.1651, allocations: 39.95 kB / 0.6342 GB, free: 2.953 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1652, allocations: 0 / 0.6342 GB, free: 2.953 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1652, allocations: 0 / 0.6342 GB, free: 2.953 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1652, allocations: 0 / 0.6342 GB, free: 2.953 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004132/0.1656, allocations: 335.5 kB / 0.6346 GB, free: 2.578 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1656, allocations: 8.031 kB / 0.6346 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.1657, allocations: 4.844 kB / 0.6346 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.1659, allocations: 168.4 kB / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1659, allocations: 384 / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.1659, allocations: 384 / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.558e-05/0.166, allocations: 37.62 kB / 0.6348 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.166, allocations: 0 / 0.6348 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.166, allocations: 4 kB / 0.6348 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.166, allocations: 0 / 0.6348 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.646e-05/0.1661, allocations: 7.938 kB / 0.6348 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.1662, allocations: 157.6 kB / 0.6349 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.199e-05/0.1663, allocations: 22.58 kB / 0.635 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.1663, allocations: 8.922 kB / 0.635 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007184/0.167, allocations: 0.609 MB / 0.6356 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1671, allocations: 34.56 kB / 0.6356 GB, free: 1.281 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.1671, allocations: 0 / 0.6356 GB, free: 1.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.000154/0.1672, allocations: 41.64 kB / 0.6356 GB, free: 1.234 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.1673, allocations: 51.41 kB / 0.6357 GB, free: 1.172 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.1674, allocations: 101.8 kB / 0.6358 GB, free: 1.062 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1674, allocations: 29.7 kB / 0.6358 GB, free: 1.027 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.1674, allocations: 84.27 kB / 0.6359 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.1675, allocations: 3.906 kB / 0.6359 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.1675, allocations: 13.72 kB / 0.6359 GB, free: 0.918 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.1676, allocations: 314.8 kB / 0.6362 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.1676, allocations: 0 / 0.6362 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.1676, allocations: 7.984 kB / 0.6362 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/0.1677, allocations: 12.86 kB / 0.6362 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1677, allocations: 0 / 0.6362 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.84e-05/0.1677, allocations: 45.64 kB / 0.6363 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1678, allocations: 8 kB / 0.6363 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1678, allocations: 0 / 0.6363 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1678, allocations: 3.938 kB / 0.6363 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.1679, allocations: 8 kB / 0.6363 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1679, allocations: 3.984 kB / 0.6363 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.1679, allocations: 3.938 kB / 0.6363 GB, free: 0.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1679, allocations: 3.984 kB / 0.6363 GB, free: 0.4961 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.263e-05/0.168, allocations: 113.8 kB / 0.6364 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.168, allocations: 7.969 kB / 0.6364 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.1681, allocations: 52.84 kB / 0.6365 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1681, allocations: 3.984 kB / 0.6365 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1681, allocations: 0 / 0.6365 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1681, allocations: 0 / 0.6365 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.346e-05/0.1682, allocations: 153.7 kB / 0.6366 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1682, allocations: 3.938 kB / 0.6366 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.1683, allocations: 4 kB / 0.6366 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1683, allocations: 3.938 kB / 0.6366 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1683, allocations: 32 / 0.6366 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1683, allocations: 4 kB / 0.6366 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1683, allocations: 4 kB / 0.6366 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.659e-05/0.1684, allocations: 65.12 kB / 0.6367 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.1684, allocations: 84.98 kB / 0.6368 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1684, allocations: 0 / 0.6368 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.807e-05/0.1685, allocations: 4 kB / 0.6368 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.1685, allocations: 0 / 0.6368 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1685, allocations: 4.031 kB / 0.6368 GB, free: 15.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.648e-05/0.1685, allocations: 79.28 kB / 0.6369 GB, free: 15.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1685, allocations: 0 / 0.6369 GB, free: 15.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001885/0.1687, allocations: 19.98 kB / 0.6369 GB, free: 15.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001507/0.1689, allocations: 107.2 kB / 0.637 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.436e-05/0.169, allocations: 15.98 kB / 0.637 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.169, allocations: 0 / 0.637 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.029e-05/0.169, allocations: 8.062 kB / 0.637 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1692, allocations: 9.812 kB / 0.637 GB, free: 15.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.1695, allocations: 127.8 kB / 0.6371 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1698, allocations: 0.6768 MB / 0.6378 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.1698, allocations: 7.438 kB / 0.6378 GB, free: 14.78 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1698, allocations: 0 / 0.6378 GB, free: 14.78 MB / 494.1 MB Notification: Performance of Templates: time 0.0019/0.1717, allocations: 0.6117 MB / 0.6384 GB, free: 14.17 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)