Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009258/0.000926, allocations: 98.11 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.005648/0.005648, allocations: 169.3 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.053/3.053, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 11.98 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.3998, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001535/0.4014, allocations: 0.9887 MB / 1.075 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003562/0.4018, allocations: 127.6 kB / 1.075 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.4018, allocations: 0 / 1.075 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.4019, allocations: 3.984 kB / 1.075 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.216e-05/0.402, allocations: 0 / 1.075 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.4022, allocations: 27.91 kB / 1.075 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.449e-05/0.4022, allocations: 19.92 kB / 1.075 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.4023, allocations: 3.938 kB / 1.075 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.4023, allocations: 7.984 kB / 1.075 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.4024, allocations: 8 kB / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.4024, allocations: 0 / 1.075 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.4025, allocations: 51.94 kB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.4026, allocations: 3.938 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.4026, allocations: 29.7 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.4028, allocations: 39.88 kB / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.4028, allocations: 0 / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.38e-06/0.4028, allocations: 4 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.4028, allocations: 0 / 1.075 GB, free: 6.199 MB / 0.8262 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.0004268/0.4032, allocations: 331.8 kB / 1.076 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4033, allocations: 8.031 kB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.4033, allocations: 0.9375 kB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4035, allocations: 176.2 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4035, allocations: 384 / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.4035, allocations: 384 / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.805e-05/0.4036, allocations: 37.83 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4037, allocations: 0 / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.4037, allocations: 0 / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4037, allocations: 4 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.952e-05/0.4037, allocations: 4 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.4039, allocations: 157.6 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.874e-05/0.404, allocations: 22.52 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.404, allocations: 12.92 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007797/0.4048, allocations: 0.6169 MB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.4049, allocations: 34.5 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.4049, allocations: 0 / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001705/0.405, allocations: 45.69 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.4051, allocations: 59.34 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.4052, allocations: 93.86 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.4052, allocations: 25.7 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.4053, allocations: 88.27 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.4053, allocations: 7.891 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.4054, allocations: 13.72 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4055, allocations: 310.8 kB / 1.077 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.4055, allocations: 0 / 1.077 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.196e-05/0.4055, allocations: 8 kB / 1.077 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.4056, allocations: 8.859 kB / 1.077 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4056, allocations: 3.938 kB / 1.077 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.61e-05/0.4056, allocations: 49.69 kB / 1.077 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.4057, allocations: 8 kB / 1.077 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4057, allocations: 3.938 kB / 1.077 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4057, allocations: 0 / 1.077 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.4058, allocations: 4 kB / 1.077 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4058, allocations: 0 / 1.077 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.4058, allocations: 4 kB / 1.077 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.4058, allocations: 0 / 1.077 GB, free: 3.738 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.338e-05/0.4059, allocations: 109.8 kB / 1.078 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.4059, allocations: 7.969 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.406, allocations: 44.81 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4061, allocations: 0 / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4061, allocations: 0 / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4061, allocations: 0 / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.4062, allocations: 157.6 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4062, allocations: 0 / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.4062, allocations: 11.88 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4062, allocations: 0 / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.4063, allocations: 0 / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4063, allocations: 8.016 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4063, allocations: 4 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.76e-05/0.4064, allocations: 61.05 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.4064, allocations: 81.05 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.4064, allocations: 3.984 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.619e-05/0.4065, allocations: 3.938 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.4065, allocations: 4 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.4065, allocations: 4.031 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.4065, allocations: 83.28 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4066, allocations: 0 / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002121/0.4068, allocations: 12 kB / 1.078 GB, free: 3.051 MB / 0.8262 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 (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.0001967/0.407, allocations: 111.2 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.302e-05/0.4071, allocations: 11.94 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4071, allocations: 0 / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.137e-05/0.4071, allocations: 8.062 kB / 1.078 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.4073, allocations: 22.45 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.4076, allocations: 109.7 kB / 1.078 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.4079, allocations: 0.677 MB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.741e-05/0.4079, allocations: 0 / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.408, allocations: 15.44 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of SimCode: time 1.663e-06/0.408, allocations: 0 / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of Templates: time 0.002968/0.4109, allocations: 0.5683 MB / 1.08 GB, free: 1.477 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)