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.0009801/0.00098, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001231/0.001231, allocations: 172.7 kB / 15.95 MB, free: 208 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.75/1.75, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.6711/0.6711, allocations: 95.63 MB / 366 MB, free: 10.32 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.0005861/0.0005863, allocations: 15.98 kB / 446.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4038, allocations: 70.34 MB / 0.5051 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001205/0.4051, allocations: 0.9488 MB / 0.506 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002587/0.4054, allocations: 106.8 kB / 0.5061 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.4054, allocations: 4 kB / 0.5061 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.4054, allocations: 3.938 kB / 0.5061 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.566e-05/0.4056, allocations: 3.938 kB / 0.5061 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.4058, allocations: 27.89 kB / 0.5061 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.4058, allocations: 11.92 kB / 0.5061 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.017e-05/0.4059, allocations: 4 kB / 0.5062 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.615e-05/0.4059, allocations: 0 / 0.5062 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.406, allocations: 11.94 kB / 0.5062 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.406, allocations: 4 kB / 0.5062 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.4062, allocations: 47.94 kB / 0.5062 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.855e-06/0.4062, allocations: 0 / 0.5062 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.4062, allocations: 29.7 kB / 0.5062 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.826e-05/0.4063, allocations: 23.95 kB / 0.5063 GB, free: 15.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4063, allocations: 4 kB / 0.5063 GB, free: 15.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4063, allocations: 0 / 0.5063 GB, free: 15.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.4063, allocations: 0 / 0.5063 GB, free: 15.22 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.0003296/0.4067, allocations: 337.2 kB / 0.5066 GB, free: 14.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4067, allocations: 11.98 kB / 0.5066 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.4068, allocations: 0 / 0.5066 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4069, allocations: 167.1 kB / 0.5068 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.4069, allocations: 0 / 0.5068 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.4069, allocations: 3.938 kB / 0.5068 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.988e-05/0.407, allocations: 37.66 kB / 0.5068 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.407, allocations: 0 / 0.5068 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.407, allocations: 3.938 kB / 0.5068 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.407, allocations: 0 / 0.5068 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.879e-05/0.4071, allocations: 8 kB / 0.5068 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.4072, allocations: 153.7 kB / 0.507 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.479e-05/0.4073, allocations: 18.58 kB / 0.507 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.4073, allocations: 16.86 kB / 0.507 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005416/0.4078, allocations: 0.6091 MB / 0.5076 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.4079, allocations: 42.52 kB / 0.5076 GB, free: 13.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4079, allocations: 0 / 0.5076 GB, free: 13.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001326/0.408, allocations: 45.69 kB / 0.5077 GB, free: 13.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.408, allocations: 51.41 kB / 0.5077 GB, free: 13.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.4081, allocations: 97.84 kB / 0.5078 GB, free: 13.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.4081, allocations: 25.7 kB / 0.5078 GB, free: 13.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.4081, allocations: 84.14 kB / 0.5079 GB, free: 13.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.4082, allocations: 12.02 kB / 0.5079 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.4082, allocations: 0 / 0.5079 GB, free: 13.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.4082, allocations: 314.8 kB / 0.5082 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.4082, allocations: 3.938 kB / 0.5082 GB, free: 12.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-06/0.4082, allocations: 8 kB / 0.5082 GB, free: 12.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.582e-05/0.4083, allocations: 0 / 0.5082 GB, free: 12.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4083, allocations: 3.938 kB / 0.5082 GB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.32e-05/0.4083, allocations: 41.69 kB / 0.5083 GB, free: 12.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.4084, allocations: 8.094 kB / 0.5083 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4084, allocations: 3.953 kB / 0.5083 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4084, allocations: 0 / 0.5083 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.088e-05/0.4084, allocations: 4 kB / 0.5083 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.4085, allocations: 0 / 0.5083 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.4085, allocations: 3.906 kB / 0.5083 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.4085, allocations: 4 kB / 0.5083 GB, free: 12.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.4085, allocations: 109.8 kB / 0.5084 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-06/0.4085, allocations: 0 / 0.5084 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.786e-05/0.4086, allocations: 56.7 kB / 0.5085 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4087, allocations: 3.953 kB / 0.5085 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4087, allocations: 0 / 0.5085 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4087, allocations: 0 / 0.5085 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.824e-05/0.4087, allocations: 157.6 kB / 0.5086 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4088, allocations: 0 / 0.5086 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.4088, allocations: 4 kB / 0.5086 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4088, allocations: 0 / 0.5086 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.4088, allocations: 0 / 0.5086 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4088, allocations: 4 kB / 0.5086 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4088, allocations: 7.984 kB / 0.5086 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.239e-05/0.4089, allocations: 65.06 kB / 0.5087 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/0.4089, allocations: 77.11 kB / 0.5088 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.4089, allocations: 0 / 0.5088 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.65e-05/0.4089, allocations: 4 kB / 0.5088 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.409, allocations: 7.938 kB / 0.5088 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.409, allocations: 0 / 0.5088 GB, free: 12.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.211e-05/0.409, allocations: 83.31 kB / 0.5089 GB, free: 12.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.409, allocations: 0 / 0.5089 GB, free: 12.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.4092, allocations: 16 kB / 0.5089 GB, free: 12.1 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 (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.0001336/0.4094, allocations: 117.7 kB / 0.509 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.085e-05/0.4094, allocations: 8 kB / 0.509 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4094, allocations: 0 / 0.509 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.387e-06/0.4095, allocations: 7.938 kB / 0.509 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.4097, allocations: 12.11 kB / 0.509 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.41, allocations: 106.6 kB / 0.5091 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.4101, allocations: 0.6731 MB / 0.5098 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.941e-05/0.4102, allocations: 7.938 kB / 0.5098 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.309e-05/0.4102, allocations: 11.38 kB / 0.5098 GB, free: 11.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4102, allocations: 4 kB / 0.5098 GB, free: 11.1 MB / 382.1 MB Notification: Performance of Templates: time 0.002666/0.4129, allocations: 0.5641 MB / 0.5103 GB, free: 10.54 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: