Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 215.9 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 8.082 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002588/0.002588, allocations: 294.6 kB / 313.5 MB, free: 2.871 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.233/1.233, allocations: 180.6 MB / 0.5377 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002924/0.002924, allocations: 103 kB / 0.7408 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1624, allocations: 95.38 MB / 0.834 GB, free: 8.215 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002456/0.1648, allocations: 1.326 MB / 0.8352 GB, free: 6.875 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0005792/0.1654, allocations: 302.9 kB / 0.8355 GB, free: 6.578 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.1654, allocations: 4 kB / 0.8355 GB, free: 6.574 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.1655, allocations: 0 / 0.8355 GB, free: 6.574 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.1656, allocations: 15.91 kB / 0.8356 GB, free: 6.559 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.1659, allocations: 79.66 kB / 0.8356 GB, free: 6.48 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.488e-05/0.1659, allocations: 39.84 kB / 0.8357 GB, free: 6.441 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.166, allocations: 0 / 0.8357 GB, free: 6.441 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1661, allocations: 39.91 kB / 0.8357 GB, free: 6.402 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.783e-05/0.1661, allocations: 7.938 kB / 0.8357 GB, free: 6.395 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1662, allocations: 0 / 0.8357 GB, free: 6.395 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.1663, allocations: 83.91 kB / 0.8358 GB, free: 6.312 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.1663, allocations: 0 / 0.8358 GB, free: 6.312 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.1664, allocations: 23.86 kB / 0.8358 GB, free: 6.289 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.1665, allocations: 79.66 kB / 0.8359 GB, free: 6.211 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.1665, allocations: 0 / 0.8359 GB, free: 6.211 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1665, allocations: 0 / 0.8359 GB, free: 6.211 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1665, allocations: 0 / 0.8359 GB, free: 6.211 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004189/0.1669, allocations: 282.1 kB / 0.8362 GB, free: 5.906 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.167, allocations: 9.344 kB / 0.8362 GB, free: 5.898 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.167, allocations: 8.828 kB / 0.8362 GB, free: 5.891 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1671, allocations: 110.5 kB / 0.8363 GB, free: 5.758 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1672, allocations: 384 / 0.8363 GB, free: 5.758 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1672, allocations: 8.375 kB / 0.8363 GB, free: 5.75 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1673, allocations: 37.62 kB / 0.8363 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1673, allocations: 0 / 0.8363 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1673, allocations: 4 kB / 0.8363 GB, free: 5.703 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1673, allocations: 0 / 0.8363 GB, free: 5.703 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.1673, allocations: 11.98 kB / 0.8363 GB, free: 5.691 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.1675, allocations: 132.7 kB / 0.8365 GB, free: 5.52 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 8.898e-05/0.1676, allocations: 38.5 kB / 0.8365 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.1676, allocations: 12.92 kB / 0.8365 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006751/0.1683, allocations: 139.8 kB / 0.8367 GB, free: 5.32 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1683, allocations: 34.56 kB / 0.8367 GB, free: 5.277 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1683, allocations: 0 / 0.8367 GB, free: 5.277 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0001653/0.1685, allocations: 57.58 kB / 0.8367 GB, free: 5.215 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1685, allocations: 51.41 kB / 0.8368 GB, free: 5.152 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.768e-05/0.1686, allocations: 109.8 kB / 0.8369 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1686, allocations: 25.7 kB / 0.8369 GB, free: 5.004 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.1687, allocations: 88.06 kB / 0.837 GB, free: 4.914 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.1687, allocations: 7.953 kB / 0.837 GB, free: 4.906 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.1688, allocations: 25.67 kB / 0.837 GB, free: 4.875 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1689, allocations: 310.8 kB / 0.8373 GB, free: 4.562 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.1689, allocations: 4 kB / 0.8373 GB, free: 4.559 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/0.1689, allocations: 7.984 kB / 0.8373 GB, free: 4.551 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/0.169, allocations: 12.86 kB / 0.8374 GB, free: 4.535 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.169, allocations: 0 / 0.8374 GB, free: 4.535 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.587e-05/0.169, allocations: 53.56 kB / 0.8374 GB, free: 4.477 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.169, allocations: 8 kB / 0.8374 GB, free: 4.469 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.169, allocations: 0 / 0.8374 GB, free: 4.469 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1691, allocations: 0 / 0.8374 GB, free: 4.469 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/0.1691, allocations: 8 kB / 0.8374 GB, free: 4.461 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1691, allocations: 0 / 0.8374 GB, free: 4.461 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.1691, allocations: 0 / 0.8374 GB, free: 4.461 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.1691, allocations: 4 kB / 0.8374 GB, free: 4.457 MB / 0.5763 GB 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 (3): * Single equations (assignments): 3 * 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 8.72e-05/0.1692, allocations: 110.5 kB / 0.8375 GB, free: 4.34 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.1692, allocations: 11.88 kB / 0.8375 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.1694, allocations: 61.67 kB / 0.8376 GB, free: 4.254 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1694, allocations: 7.938 kB / 0.8376 GB, free: 4.246 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1694, allocations: 4 kB / 0.8376 GB, free: 4.242 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1694, allocations: 0 / 0.8376 GB, free: 4.242 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.1695, allocations: 132.7 kB / 0.8377 GB, free: 4.07 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1695, allocations: 7.938 kB / 0.8377 GB, free: 4.062 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.1695, allocations: 4 kB / 0.8378 GB, free: 4.059 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1695, allocations: 0 / 0.8378 GB, free: 4.059 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1696, allocations: 3.984 kB / 0.8378 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1696, allocations: 0 / 0.8378 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1696, allocations: 0 / 0.8378 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.1697, allocations: 77.5 kB / 0.8378 GB, free: 3.961 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.1697, allocations: 15.89 kB / 0.8378 GB, free: 3.945 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.1697, allocations: 48 / 0.8378 GB, free: 3.945 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.943e-05/0.1697, allocations: 3.984 kB / 0.8378 GB, free: 3.941 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.1698, allocations: 3.984 kB / 0.8379 GB, free: 3.938 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1698, allocations: 4 kB / 0.8379 GB, free: 3.934 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 5.309e-05/0.1698, allocations: 91.16 kB / 0.8379 GB, free: 3.844 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.1698, allocations: 4 kB / 0.8379 GB, free: 3.84 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002093/0.17, allocations: 31.86 kB / 0.838 GB, free: 3.809 MB / 0.5763 GB 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 (3): * Single equations (assignments): 3 * 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.0002002/0.1702, allocations: 123.1 kB / 0.8381 GB, free: 3.68 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 9.007e-05/0.1703, allocations: 16 kB / 0.8381 GB, free: 3.664 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1703, allocations: 0 / 0.8381 GB, free: 3.664 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.1703, allocations: 7.984 kB / 0.8381 GB, free: 3.656 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.1705, allocations: 7.938 kB / 0.8381 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.1708, allocations: 153.6 kB / 0.8383 GB, free: 3.469 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.1712, allocations: 0.6807 MB / 0.8389 GB, free: 2.762 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.1712, allocations: 7.438 kB / 0.8389 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of SimCode: time 3.21e-07/0.1712, allocations: 0 / 0.8389 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of Templates: time 0.002244/0.1734, allocations: 0.724 MB / 0.8397 GB, free: 2.035 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.206553738797083] Failed to read output from testmodel.py, exit status != 0: 0.18065226706676185 0.195560211 0.026127656000000003 Calling exit ...