Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.0009193/0.0009193, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001519/0.001519, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 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 0.8955/0.8955, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.001951/0.001951, allocations: 241.7 kB / 261.3 MB, free: 12.66 MB / 250.7 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 0.7269/0.7269, allocations: 138.4 MB / 456.3 MB, free: 1.438 MB / 362.7 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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.5564 GB, free: 284 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.593e-05, allocations: 9.828 kB / 0.5564 GB, free: 276 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002146/0.002162, allocations: 1.302 MB / 0.5576 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002609/0.002422, allocations: 115.5 kB / 0.5578 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.002453, allocations: 4 kB / 0.5578 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.00247, allocations: 0 / 0.5578 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.002539, allocations: 0 / 0.5578 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.002741, allocations: 43.83 kB / 0.5578 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.31e-05/0.002794, allocations: 15.91 kB / 0.5578 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.002833, allocations: 4 kB / 0.5578 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.327e-05/0.002866, allocations: 4 kB / 0.5578 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.002922, allocations: 7.922 kB / 0.5578 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.002936, allocations: 4 kB / 0.5578 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.00306, allocations: 51.94 kB / 0.5579 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.003075, allocations: 0 / 0.5579 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.5e-05/0.00309, allocations: 7.938 kB / 0.5579 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.003208, allocations: 47.86 kB / 0.5579 GB, free: 14.65 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.00321, allocations: 0 / 0.5579 GB, free: 14.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00321, allocations: 0 / 0.5579 GB, free: 14.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.003214, allocations: 0 / 0.5579 GB, free: 14.65 MB / 490.7 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.0003313/0.003546, allocations: 360.5 kB / 0.5583 GB, free: 14.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.003585, allocations: 8.75 kB / 0.5583 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.003613, allocations: 8.938 kB / 0.5583 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.003704, allocations: 104.6 kB / 0.5584 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.003718, allocations: 8.375 kB / 0.5584 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-06/0.003724, allocations: 384 / 0.5584 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.942e-05/0.003784, allocations: 38.19 kB / 0.5584 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.003791, allocations: 3.938 kB / 0.5584 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.003797, allocations: 0 / 0.5584 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.003801, allocations: 0 / 0.5584 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.69e-05/0.003818, allocations: 3.938 kB / 0.5584 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001073/0.003926, allocations: 93.27 kB / 0.5585 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.66e-05/0.003972, allocations: 39.06 kB / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.00399, allocations: 15.75 kB / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/0.004327, allocations: 83.92 kB / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.004352, allocations: 33.39 kB / 0.5587 GB, free: 13.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/0.004354, allocations: 3.984 kB / 0.5587 GB, free: 13.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001154/0.00447, allocations: 45.62 kB / 0.5587 GB, free: 13.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.004501, allocations: 55.34 kB / 0.5588 GB, free: 13.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.00458, allocations: 154.1 kB / 0.5589 GB, free: 13.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.004592, allocations: 29.7 kB / 0.559 GB, free: 13.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.004642, allocations: 130.9 kB / 0.5591 GB, free: 13.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.004667, allocations: 3.953 kB / 0.5591 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.004702, allocations: 31.34 kB / 0.5591 GB, free: 13.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.004837, allocations: 492.1 kB / 0.5596 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.004844, allocations: 0 / 0.5596 GB, free: 12.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-06/0.004852, allocations: 4 kB / 0.5596 GB, free: 12.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.562e-05/0.004878, allocations: 11.69 kB / 0.5596 GB, free: 12.74 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.00488, allocations: 0 / 0.5596 GB, free: 12.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.862e-05/0.004938, allocations: 49.64 kB / 0.5597 GB, free: 12.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.00495, allocations: 4 kB / 0.5597 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.004953, allocations: 0 / 0.5597 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/0.004961, allocations: 0 / 0.5597 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.866e-05/0.005, allocations: 7.938 kB / 0.5597 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.005004, allocations: 3.984 kB / 0.5597 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.005019, allocations: 0 / 0.5597 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.005023, allocations: 4 kB / 0.5597 GB, free: 12.66 MB / 490.7 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 6.889e-05/0.005092, allocations: 156.6 kB / 0.5598 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.005099, allocations: 0 / 0.5598 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.047e-05/0.005169, allocations: 52.97 kB / 0.5599 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.005171, allocations: 0 / 0.5599 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.005174, allocations: 11.88 kB / 0.5599 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.005176, allocations: 0 / 0.5599 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.1e-05/0.005247, allocations: 93.25 kB / 0.56 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.005249, allocations: 4 kB / 0.56 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.005264, allocations: 4 kB / 0.56 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.005265, allocations: 0 / 0.56 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.00527, allocations: 4 kB / 0.56 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.005271, allocations: 0 / 0.56 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005272, allocations: 0 / 0.56 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.449e-05/0.005337, allocations: 80.39 kB / 0.5601 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-06/0.005346, allocations: 11.89 kB / 0.5601 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.005356, allocations: 4 kB / 0.5601 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.005368, allocations: 0 / 0.5601 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.005381, allocations: 3.938 kB / 0.5601 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.005383, allocations: 0 / 0.5601 GB, free: 12.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.254e-05/0.005425, allocations: 131.1 kB / 0.5602 GB, free: 12.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005425, allocations: 0 / 0.5602 GB, free: 12.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.005573, allocations: 12 kB / 0.5602 GB, free: 12.04 MB / 490.7 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 9.771e-05/0.005671, allocations: 111.2 kB / 0.5603 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.345e-05/0.005724, allocations: 19.67 kB / 0.5604 GB, free: 11.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.005726, allocations: 0 / 0.5604 GB, free: 11.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.416e-06/0.005734, allocations: 11.69 kB / 0.5604 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.005859, allocations: 10.58 kB / 0.5604 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.006144, allocations: 110.3 kB / 0.5605 GB, free: 11.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.705e-05/0.006171, allocations: 63.47 kB / 0.5605 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.76e-05/0.006188, allocations: 3.953 kB / 0.5605 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.006226, allocations: 70.2 kB / 0.5606 GB, free: 11.59 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006226, allocations: 0 / 0.5606 GB, free: 11.59 MB / 490.7 MB Notification: Performance of Templates: time 0.001952/0.008178, allocations: 0.7468 MB / 0.5613 GB, free: 10.85 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4752628398127854]