Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0009855/0.0009854, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001019/0.001019, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.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.591/1.591, allocations: 251.9 MB / 0.51 GB, free: 4.816 MB / 414.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.0008477/0.000848, allocations: 16 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5076, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00128/0.5089, allocations: 0.9611 MB / 0.7289 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002352/0.5092, allocations: 109.2 kB / 0.729 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.157e-05/0.5092, allocations: 0 / 0.729 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.5092, allocations: 3.938 kB / 0.729 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.467e-05/0.5093, allocations: 4 kB / 0.729 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.5095, allocations: 31.94 kB / 0.729 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.384e-05/0.5096, allocations: 7.984 kB / 0.7291 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.5096, allocations: 0 / 0.7291 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.5096, allocations: 4 kB / 0.7291 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.893e-05/0.5097, allocations: 15.86 kB / 0.7291 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.5097, allocations: 0 / 0.7291 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.5099, allocations: 47.95 kB / 0.7291 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.766e-06/0.5099, allocations: 4 kB / 0.7291 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.5099, allocations: 25.7 kB / 0.7291 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.249e-05/0.51, allocations: 27.95 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.51, allocations: 0 / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.51, allocations: 3.938 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.51, allocations: 0 / 0.7292 GB, free: 10.21 MB / 0.545 GB 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.0003741/0.5104, allocations: 333.2 kB / 0.7295 GB, free: 9.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5105, allocations: 12.03 kB / 0.7295 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.5105, allocations: 0 / 0.7295 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.5106, allocations: 175 kB / 0.7297 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.5107, allocations: 0 / 0.7297 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.5107, allocations: 4 kB / 0.7297 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.074e-05/0.5107, allocations: 25.7 kB / 0.7297 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5108, allocations: 0 / 0.7297 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.5108, allocations: 4 kB / 0.7297 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5108, allocations: 0 / 0.7297 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.5109, allocations: 11.98 kB / 0.7297 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.511, allocations: 149.6 kB / 0.7299 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.364e-05/0.5111, allocations: 34.53 kB / 0.7299 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007259/0.5118, allocations: 0.6091 MB / 0.7305 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.5119, allocations: 30.56 kB / 0.7305 GB, free: 8.551 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5119, allocations: 0 / 0.7305 GB, free: 8.551 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000144/0.512, allocations: 49.69 kB / 0.7306 GB, free: 8.496 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.5121, allocations: 51.41 kB / 0.7306 GB, free: 8.434 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.368e-05/0.5122, allocations: 97.86 kB / 0.7307 GB, free: 8.328 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.5122, allocations: 25.7 kB / 0.7307 GB, free: 8.297 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.5122, allocations: 80.14 kB / 0.7308 GB, free: 8.215 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.5123, allocations: 7.891 kB / 0.7308 GB, free: 8.207 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.5123, allocations: 3.938 kB / 0.7308 GB, free: 8.203 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.5124, allocations: 318.8 kB / 0.7311 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.5124, allocations: 4.062 kB / 0.7311 GB, free: 7.879 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-06/0.5124, allocations: 8 kB / 0.7311 GB, free: 7.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.524e-05/0.5125, allocations: 0 / 0.7311 GB, free: 7.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5125, allocations: 3.953 kB / 0.7311 GB, free: 7.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.084e-05/0.5125, allocations: 45.59 kB / 0.7312 GB, free: 7.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.5126, allocations: 9.875 kB / 0.7312 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.5126, allocations: 0 / 0.7312 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5126, allocations: 0 / 0.7312 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.869e-05/0.5126, allocations: 4 kB / 0.7312 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.5126, allocations: 0 / 0.7312 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/0.5127, allocations: 8.094 kB / 0.7312 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.5127, allocations: 0 / 0.7312 GB, free: 7.797 MB / 0.545 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/0.5128, allocations: 109.8 kB / 0.7313 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.5128, allocations: 3.953 kB / 0.7313 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.638e-05/0.5129, allocations: 48.75 kB / 0.7314 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5129, allocations: 0 / 0.7314 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5129, allocations: 3.938 kB / 0.7314 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5129, allocations: 0 / 0.7314 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.513, allocations: 157.7 kB / 0.7315 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.513, allocations: 0 / 0.7315 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.5131, allocations: 7.953 kB / 0.7315 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5131, allocations: 0 / 0.7315 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.5131, allocations: 0 / 0.7315 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5131, allocations: 0 / 0.7315 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5131, allocations: 4 kB / 0.7315 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.895e-05/0.5132, allocations: 65.06 kB / 0.7316 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.5132, allocations: 81.14 kB / 0.7317 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.5132, allocations: 3.953 kB / 0.7317 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.5133, allocations: 0 / 0.7317 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.5133, allocations: 7.984 kB / 0.7317 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.5133, allocations: 0 / 0.7317 GB, free: 7.211 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.428e-05/0.5133, allocations: 83.28 kB / 0.7318 GB, free: 7.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5133, allocations: 0 / 0.7318 GB, free: 7.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002049/0.5135, allocations: 16 kB / 0.7318 GB, free: 7.113 MB / 0.545 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001615/0.5137, allocations: 127.1 kB / 0.7319 GB, free: 6.977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.077e-05/0.5138, allocations: 8 kB / 0.7319 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5138, allocations: 0 / 0.7319 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.5138, allocations: 11.94 kB / 0.7319 GB, free: 6.957 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.514, allocations: 7.078 kB / 0.7319 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002231/0.5142, allocations: 110.7 kB / 0.732 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.5145, allocations: 0.6811 MB / 0.7327 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.5146, allocations: 0 / 0.7327 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.5146, allocations: 11.44 kB / 0.7327 GB, free: 6.102 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.5146, allocations: 0 / 0.7327 GB, free: 6.102 MB / 0.545 GB Notification: Performance of Templates: time 0.002817/0.5174, allocations: 0.5715 MB / 0.7333 GB, free: 5.531 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: