Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007432/0.007432, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001547/0.001547, allocations: 195.2 kB / 16.68 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.331/1.331, allocations: 251.7 MB / 0.5094 GB, free: 432 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 71.91 kB / 0.7258 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8351/0.8367, allocations: 104.7 MB / 0.828 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002243/0.839, allocations: 1.272 MB / 0.8293 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0005562/0.8395, allocations: 298.9 kB / 0.8296 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.8396, allocations: 0 / 0.8296 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.8396, allocations: 0 / 0.8296 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.8397, allocations: 15.92 kB / 0.8296 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.84, allocations: 79.66 kB / 0.8296 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.984e-05/0.8401, allocations: 35.8 kB / 0.8297 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.8402, allocations: 4 kB / 0.8297 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 9.503e-05/0.8403, allocations: 31.89 kB / 0.8297 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.8404, allocations: 8 kB / 0.8297 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.8404, allocations: 3.938 kB / 0.8297 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.8405, allocations: 83.84 kB / 0.8298 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.8406, allocations: 8 kB / 0.8298 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.8406, allocations: 7.938 kB / 0.8298 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.8408, allocations: 79.48 kB / 0.8299 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.8408, allocations: 7.984 kB / 0.8299 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8408, allocations: 4 kB / 0.8299 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8408, allocations: 0 / 0.8299 GB, free: 0.8594 MB / 0.6231 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.0003961/0.8412, allocations: 353.7 kB / 0.8302 GB, free: 476 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.8412, allocations: 8.031 kB / 0.8302 GB, free: 468 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.8413, allocations: 4.938 kB / 0.8303 GB, free: 464 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.8414, allocations: 172.2 kB / 0.8304 GB, free: 252 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.8414, allocations: 384 / 0.8304 GB, free: 252 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.8414, allocations: 384 / 0.8304 GB, free: 252 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.8415, allocations: 42.25 kB / 0.8305 GB, free: 204 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.8416, allocations: 192 / 0.8305 GB, free: 204 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.8416, allocations: 11.88 kB / 0.8305 GB, free: 192 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.8416, allocations: 3.984 kB / 0.8305 GB, free: 188 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.8416, allocations: 11.98 kB / 0.8305 GB, free: 176 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.8418, allocations: 157.7 kB / 0.8306 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.957e-05/0.8419, allocations: 38.5 kB / 0.8307 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.842, allocations: 12.92 kB / 0.8307 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.843, allocations: 1.187 MB / 0.8318 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.8431, allocations: 30.56 kB / 0.8319 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.8431, allocations: 0 / 0.8319 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0001677/0.8433, allocations: 57.53 kB / 0.8319 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.8433, allocations: 59.34 kB / 0.832 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.8434, allocations: 105.8 kB / 0.8321 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.8434, allocations: 25.7 kB / 0.8321 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.8435, allocations: 84.14 kB / 0.8322 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.8435, allocations: 7.906 kB / 0.8322 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.8435, allocations: 13.72 kB / 0.8322 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.8436, allocations: 318.8 kB / 0.8325 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.8436, allocations: 4 kB / 0.8325 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.8437, allocations: 8 kB / 0.8325 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.8437, allocations: 16.86 kB / 0.8325 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.8437, allocations: 0 / 0.8325 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.83e-05/0.8438, allocations: 49.62 kB / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.8438, allocations: 4 kB / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.8438, allocations: 3.938 kB / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.8438, allocations: 0 / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.147e-05/0.8439, allocations: 4 kB / 0.8326 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.8439, allocations: 4 kB / 0.8326 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.8439, allocations: 7.844 kB / 0.8326 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.8439, allocations: 7.984 kB / 0.8326 GB, free: 13.59 MB / 0.6387 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 6.848e-05/0.844, allocations: 110.8 kB / 0.8327 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-06/0.844, allocations: 4 kB / 0.8327 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.8442, allocations: 61.53 kB / 0.8328 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8442, allocations: 0 / 0.8328 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8442, allocations: 3.938 kB / 0.8328 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8442, allocations: 3.938 kB / 0.8328 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.8443, allocations: 161.7 kB / 0.833 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8443, allocations: 3.984 kB / 0.833 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.8443, allocations: 4 kB / 0.833 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8444, allocations: 384 / 0.833 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.8444, allocations: 3.938 kB / 0.833 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8444, allocations: 0 / 0.833 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8444, allocations: 4 kB / 0.833 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.155e-05/0.8445, allocations: 81.02 kB / 0.833 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.8446, allocations: 89.09 kB / 0.8331 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.8446, allocations: 3.938 kB / 0.8331 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/0.8446, allocations: 0 / 0.8331 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.8446, allocations: 4 kB / 0.8331 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.8446, allocations: 0 / 0.8331 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.8447, allocations: 87.27 kB / 0.8332 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8447, allocations: 3.938 kB / 0.8332 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001946/0.8449, allocations: 24 kB / 0.8332 GB, free: 12.84 MB / 0.6387 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.0001852/0.8451, allocations: 135.2 kB / 0.8334 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.495e-05/0.8452, allocations: 15.98 kB / 0.8334 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8452, allocations: 0 / 0.8334 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.52e-05/0.8452, allocations: 8 kB / 0.8334 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.8454, allocations: 8 kB / 0.8334 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.8457, allocations: 120.3 kB / 0.8335 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.8459, allocations: 0.6844 MB / 0.8342 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.039e-05/0.846, allocations: 12.48 kB / 0.8342 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.846, allocations: 11.44 kB / 0.8342 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.846, allocations: 0 / 0.8342 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.002834/0.8489, allocations: 0.7907 MB / 0.835 GB, free: 11.01 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)