Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.875/1.875, allocations: 289.9 MB / 297.4 MB, free: 6.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 188.5 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.2 MB / 0.626 GB, free: 7.121 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009127/0.0009124, allocations: 85.58 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.706e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7722/0.7722, allocations: 116.3 MB / 0.9733 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.9818, allocations: 137.9 MB / 1.108 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.9822, allocations: 80.53 kB / 1.108 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002561/0.9848, allocations: 0.8214 MB / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9848, allocations: 0 / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.9848, allocations: 1.406 kB / 1.109 GB, free: 11.27 MB / 0.7136 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.000332/0.9851, allocations: 322.4 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.9852, allocations: 8.594 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.9853, allocations: 0 / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.9855, allocations: 171.6 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.9855, allocations: 0 / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.9855, allocations: 5.359 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.774e-05/0.9856, allocations: 7.828 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.741e-05/0.9857, allocations: 38.44 kB / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.9857, allocations: 0 / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.9857, allocations: 0 / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.9857, allocations: 4.656 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.9859, allocations: 132.8 kB / 1.11 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.603e-05/0.986, allocations: 30.19 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.986, allocations: 8.906 kB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007122/0.9868, allocations: 0.5994 MB / 1.11 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.9868, allocations: 30.56 kB / 1.11 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.9868, allocations: 0 / 1.11 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002115/0.987, allocations: 41.69 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.9871, allocations: 52.59 kB / 1.11 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.9872, allocations: 92.94 kB / 1.11 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.9872, allocations: 25.7 kB / 1.11 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.9872, allocations: 85.33 kB / 1.111 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.9873, allocations: 11.84 kB / 1.111 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.9873, allocations: 0 / 1.111 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.9874, allocations: 315.4 kB / 1.111 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.9874, allocations: 2.656 kB / 1.111 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.9874, allocations: 4 kB / 1.111 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.557e-05/0.9875, allocations: 4 kB / 1.111 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.9875, allocations: 0 / 1.111 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.7e-05/0.9876, allocations: 37.7 kB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.9876, allocations: 11.05 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.9876, allocations: 3.984 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.9877, allocations: 1.375 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.235e-05/0.9877, allocations: 4 kB / 1.111 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.9877, allocations: 0 / 1.111 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.9878, allocations: 0 / 1.111 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.9878, allocations: 4 kB / 1.111 GB, free: 8.949 MB / 0.7136 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 () * 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.616e-05/0.9879, allocations: 108.2 kB / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.467e-05/0.988, allocations: 33.7 kB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.988, allocations: 7.938 kB / 1.111 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.9881, allocations: 46.67 kB / 1.111 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.9881, allocations: 4 kB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9882, allocations: 0 / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.9882, allocations: 3.984 kB / 1.111 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.652e-05/0.9883, allocations: 131.7 kB / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9883, allocations: 0 / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.9883, allocations: 3.938 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.9883, allocations: 7.953 kB / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.9883, allocations: 0 / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.9883, allocations: 3.984 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.9884, allocations: 0 / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.985e-05/0.9885, allocations: 62.17 kB / 1.111 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.9885, allocations: 81.14 kB / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.9885, allocations: 13.69 kB / 1.111 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.594e-05/0.9886, allocations: 0 / 1.111 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.9886, allocations: 0 / 1.111 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.9886, allocations: 0 / 1.111 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.9886, allocations: 83.47 kB / 1.111 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9886, allocations: 0 / 1.111 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001949/0.9888, allocations: 16 kB / 1.111 GB, free: 8.27 MB / 0.7136 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 () * 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.0004786/0.9893, allocations: 0.6202 MB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.729e-05/0.9894, allocations: 4 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9894, allocations: 0 / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.9895, allocations: 5.312 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.9897, allocations: 11.95 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.99, allocations: 98.12 kB / 1.112 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.9903, allocations: 0.6769 MB / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.9904, allocations: 3.938 kB / 1.113 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.9904, allocations: 11.44 kB / 1.113 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9904, allocations: 0 / 1.113 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/1.012, allocations: 0.8999 MB / 1.114 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/1.012, allocations: 141 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.596, allocations: 0 / 1.114 GB, free: 5.707 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)