Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008025/0.0008025, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00526/0.00526, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.533/1.533, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6105/0.6105, allocations: 95.64 MB / 366.4 MB, free: 10.3 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005801/0.0005804, allocations: 20 kB / 447.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3717, allocations: 70.34 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001011/0.3727, allocations: 0.9556 MB / 0.5066 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002718/0.373, allocations: 119.6 kB / 0.5067 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.397e-05/0.373, allocations: 0 / 0.5067 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.3731, allocations: 0 / 0.5067 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.347e-05/0.3732, allocations: 7.938 kB / 0.5067 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.3733, allocations: 27.89 kB / 0.5068 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.348e-05/0.3734, allocations: 15.94 kB / 0.5068 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.3734, allocations: 3.984 kB / 0.5068 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.444e-05/0.3735, allocations: 4 kB / 0.5068 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.3735, allocations: 3.938 kB / 0.5068 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.3735, allocations: 4 kB / 0.5068 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3736, allocations: 51.94 kB / 0.5068 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.3737, allocations: 4 kB / 0.5068 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.3737, allocations: 25.7 kB / 0.5069 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.588e-05/0.3738, allocations: 43.88 kB / 0.5069 GB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3738, allocations: 4 kB / 0.5069 GB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3738, allocations: 0 / 0.5069 GB, free: 15.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3738, allocations: 0 / 0.5069 GB, free: 15.07 MB / 382.1 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.000309/0.3741, allocations: 329.4 kB / 0.5072 GB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3742, allocations: 15.98 kB / 0.5072 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.3742, allocations: 0.9375 kB / 0.5072 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.3743, allocations: 164.4 kB / 0.5074 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.3744, allocations: 4.375 kB / 0.5074 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.3744, allocations: 4.375 kB / 0.5074 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.941e-05/0.3745, allocations: 34.2 kB / 0.5074 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.3745, allocations: 192 / 0.5074 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3745, allocations: 7.938 kB / 0.5074 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3745, allocations: 0 / 0.5074 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.916e-05/0.3745, allocations: 4 kB / 0.5074 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.3747, allocations: 149.7 kB / 0.5076 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.4e-05/0.3747, allocations: 26.61 kB / 0.5076 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.3747, allocations: 8.844 kB / 0.5076 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005479/0.3753, allocations: 0.613 MB / 0.5082 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.3753, allocations: 34.5 kB / 0.5083 GB, free: 13.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.3753, allocations: 7.938 kB / 0.5083 GB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001303/0.3755, allocations: 53.47 kB / 0.5083 GB, free: 13.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.3755, allocations: 51.41 kB / 0.5084 GB, free: 13.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.074e-05/0.3755, allocations: 97.84 kB / 0.5085 GB, free: 13.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.3756, allocations: 29.7 kB / 0.5085 GB, free: 13.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.191e-05/0.3756, allocations: 88.12 kB / 0.5086 GB, free: 13.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3756, allocations: 0 / 0.5086 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.3756, allocations: 9.719 kB / 0.5086 GB, free: 13.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.3757, allocations: 315 kB / 0.5089 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.3757, allocations: 4 kB / 0.5089 GB, free: 12.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-06/0.3757, allocations: 7.938 kB / 0.5089 GB, free: 12.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.3757, allocations: 12.86 kB / 0.5089 GB, free: 12.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3758, allocations: 0 / 0.5089 GB, free: 12.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.257e-05/0.3758, allocations: 45.59 kB / 0.5089 GB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.3758, allocations: 4 kB / 0.5089 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3758, allocations: 3.938 kB / 0.509 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3759, allocations: 4.094 kB / 0.509 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.3759, allocations: 4 kB / 0.509 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3759, allocations: 0 / 0.509 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.3759, allocations: 4 kB / 0.509 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.3759, allocations: 0 / 0.509 GB, free: 12.61 MB / 382.1 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 4.619e-05/0.376, allocations: 105.8 kB / 0.5091 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.376, allocations: 7.922 kB / 0.5091 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.042e-05/0.3761, allocations: 52.72 kB / 0.5091 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3761, allocations: 0 / 0.5091 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3761, allocations: 4.031 kB / 0.5091 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3761, allocations: 0 / 0.5091 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.956e-05/0.3762, allocations: 153.7 kB / 0.5093 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3762, allocations: 0 / 0.5093 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.3762, allocations: 4 kB / 0.5093 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3762, allocations: 0 / 0.5093 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.3762, allocations: 7.922 kB / 0.5093 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3762, allocations: 4 kB / 0.5093 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3762, allocations: 0 / 0.5093 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.049e-05/0.3763, allocations: 69.08 kB / 0.5094 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.3763, allocations: 77.11 kB / 0.5094 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3764, allocations: 7.922 kB / 0.5094 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.466e-05/0.3764, allocations: 3.938 kB / 0.5094 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-06/0.3764, allocations: 0 / 0.5094 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3764, allocations: 4 kB / 0.5094 GB, free: 12.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.451e-05/0.3764, allocations: 79.28 kB / 0.5095 GB, free: 11.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3764, allocations: 0 / 0.5095 GB, free: 11.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001953/0.3766, allocations: 19.97 kB / 0.5095 GB, free: 11.91 MB / 382.1 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 0.000127/0.3768, allocations: 119.2 kB / 0.5097 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.257e-05/0.3768, allocations: 8 kB / 0.5097 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3768, allocations: 0 / 0.5097 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.3769, allocations: 7.938 kB / 0.5097 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.3771, allocations: 11.98 kB / 0.5097 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.3773, allocations: 114.7 kB / 0.5098 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.3774, allocations: 0.677 MB / 0.5104 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.363e-05/0.3775, allocations: 4 kB / 0.5105 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.3775, allocations: 7.438 kB / 0.5105 GB, free: 10.91 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3775, allocations: 0 / 0.5105 GB, free: 10.91 MB / 382.1 MB Notification: Performance of Templates: time 0.002426/0.3799, allocations: 0.5802 MB / 0.511 GB, free: 10.33 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: