Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.043/2.043, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 185.3 kB / 499.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 99.77 kB / 0.9329 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 53.67 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2261, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1534/0.3795, allocations: 190.4 MB / 1.404 GB, free: 6.086 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.005418/0.385, allocations: 4.064 MB / 1.408 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004537/0.3854, allocations: 15.88 kB / 1.408 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0009669/0.3865, allocations: 413.8 kB / 1.408 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.3891, allocations: 1.432 MB / 1.41 GB, free: 156 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.3918, allocations: 1.246 MB / 1.411 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002098/0.3939, allocations: 2.361 MB / 1.413 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009308/0.3949, allocations: 0.872 MB / 1.414 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.3959, allocations: 0.8681 MB / 1.415 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008762/0.3968, allocations: 0.8877 MB / 1.416 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.3969, allocations: 76 kB / 1.416 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.3991, allocations: 1.574 MB / 1.417 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.3994, allocations: 335 kB / 1.418 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004596/0.3999, allocations: 497.7 kB / 1.418 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.4017, allocations: 1.706 MB / 1.42 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4017, allocations: 0 / 1.42 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.72e-07/0.4017, allocations: 4 kB / 1.42 GB, free: 5.707 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.4017, allocations: 0 / 1.42 GB, free: 5.707 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002696/0.4044, allocations: 1.448 MB / 1.421 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4045, allocations: 11.98 kB / 1.421 GB, free: 4.191 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.4058, allocations: 242.7 kB / 1.422 GB, free: 3.953 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007977/0.4066, allocations: 0.5876 MB / 1.422 GB, free: 3.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.4067, allocations: 37 kB / 1.422 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-05/0.4068, allocations: 52 kB / 1.422 GB, free: 3.234 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.4081, allocations: 0.957 MB / 1.423 GB, free: 2.207 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.4081, allocations: 7.938 kB / 1.423 GB, free: 2.199 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.4082, allocations: 27.98 kB / 1.423 GB, free: 2.172 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.4082, allocations: 23.98 kB / 1.423 GB, free: 2.148 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.4096, allocations: 0.9445 MB / 1.424 GB, free: 1.203 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4376/0.8472, allocations: 4.256 MB / 1.428 GB, free: 206.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.8483, allocations: 0.5965 MB / 1.429 GB, free: 206 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007821/0.8491, allocations: 0.52 MB / 1.429 GB, free: 205.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008203/0.8499, allocations: 0.8746 MB / 1.43 GB, free: 204.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.85, allocations: 41.66 kB / 1.43 GB, free: 204.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001654/0.8516, allocations: 427.8 kB / 1.431 GB, free: 204.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=50): time 4.689e-06/0.8517, allocations: 0 / 1.431 GB, free: 204.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=50): time 0.01726/0.8689, allocations: 3.845 MB / 1.434 GB, free: 203.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.869, allocations: 64.91 kB / 1.435 GB, free: 203.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.8701, allocations: 0.7059 MB / 1.435 GB, free: 203.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.8703, allocations: 36.36 kB / 1.435 GB, free: 203.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.8705, allocations: 316.6 kB / 1.436 GB, free: 203.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.8708, allocations: 178.4 kB / 1.436 GB, free: 203 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/0.8711, allocations: 153.7 kB / 1.436 GB, free: 202.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.101e-05/0.8712, allocations: 329 kB / 1.436 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006973/0.8719, allocations: 393.3 kB / 1.437 GB, free: 202.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007277/0.8726, allocations: 484.4 kB / 1.437 GB, free: 202.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.874, allocations: 0.9227 MB / 1.438 GB, free: 201.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.8741, allocations: 1.188 kB / 1.438 GB, free: 201.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01098/0.885, allocations: 2.563 MB / 1.44 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.8851, allocations: 6.062 kB / 1.44 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.8851, allocations: 2.281 kB / 1.44 GB, free: 201.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009302/0.8944, allocations: 1.735 MB / 1.442 GB, free: 200.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.8949, allocations: 93.56 kB / 1.442 GB, free: 200.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.9056, allocations: 6.655 MB / 1.449 GB, free: 196.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008322/0.9065, allocations: 29.05 kB / 1.449 GB, free: 196.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.9066, allocations: 49.05 kB / 1.449 GB, free: 196.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003869/0.907, allocations: 215.3 kB / 1.449 GB, free: 196.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.9073, allocations: 86.84 kB / 1.449 GB, free: 196 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004956/0.9123, allocations: 1.73 MB / 1.451 GB, free: 195 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.9123, allocations: 6.703 kB / 1.451 GB, free: 195 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.9123, allocations: 5.609 kB / 1.451 GB, free: 195 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.9123, allocations: 3.984 kB / 1.451 GB, free: 195 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005738/0.9181, allocations: 2.551 MB / 1.453 GB, free: 193.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.9181, allocations: 1.625 kB / 1.453 GB, free: 193.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.9185, allocations: 91.7 kB / 1.453 GB, free: 193.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/0.9221, allocations: 0.8072 MB / 1.454 GB, free: 193 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.9222, allocations: 15.11 kB / 1.454 GB, free: 193 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005481/0.9276, allocations: 4.479 MB / 1.459 GB, free: 189.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9277, allocations: 3.906 kB / 1.459 GB, free: 189.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008469/0.9362, allocations: 4.999 MB / 1.463 GB, free: 185.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.9365, allocations: 232 kB / 1.464 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.9366, allocations: 20.53 kB / 1.464 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005941/0.9372, allocations: 27.89 kB / 1.464 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.9375, allocations: 48.5 kB / 1.464 GB, free: 185 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.9375, allocations: 27.92 kB / 1.464 GB, free: 185 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005141/0.9381, allocations: 0.499 MB / 1.464 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.02e-07/0.9381, allocations: 0 / 1.464 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001131/0.9392, allocations: 373.7 kB / 1.465 GB, free: 184.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004518/0.9397, allocations: 214.9 kB / 1.465 GB, free: 184 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003024/0.9427, allocations: 1.451 MB / 1.466 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9427, allocations: 0 / 1.466 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.9442, allocations: 0.9222 MB / 1.467 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.9462, allocations: 444.5 kB / 1.468 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.9487, allocations: 2.323 MB / 1.47 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.9491, allocations: 0.9985 MB / 1.471 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006155/0.9497, allocations: 162.5 kB / 1.471 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.9499, allocations: 67.42 kB / 1.471 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.9499, allocations: 0 / 1.471 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.02795/0.9779, allocations: 22.54 MB / 1.493 GB, free: 155.2 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)