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.717/1.717, allocations: 289.7 MB / 302.3 MB, free: 2.207 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.001261/0.001261, allocations: 183.6 kB / 371.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009794/0.0009798, allocations: 94.36 kB / 0.745 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.124e-05/4.126e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2824, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8681/1.151, allocations: 138.6 MB / 1.115 GB, free: 45.03 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/1.151, allocations: 83.34 kB / 1.115 GB, free: 45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002169/1.153, allocations: 0.8225 MB / 1.116 GB, free: 44.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.863e-06/1.153, allocations: 0 / 1.116 GB, free: 44.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.153, allocations: 4.562 kB / 1.116 GB, free: 44.39 MB / 0.7448 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.000222/1.153, allocations: 326.3 kB / 1.116 GB, free: 44.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.153, allocations: 9.281 kB / 1.116 GB, free: 44.04 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/1.153, allocations: 30.56 kB / 1.116 GB, free: 44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/1.153, allocations: 4.625 kB / 1.116 GB, free: 44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/1.154, allocations: 166.5 kB / 1.117 GB, free: 43.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/1.154, allocations: 11.39 kB / 1.117 GB, free: 43.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/1.154, allocations: 0 / 1.117 GB, free: 43.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.308e-05/1.154, allocations: 32.7 kB / 1.117 GB, free: 43.76 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.154, allocations: 0 / 1.117 GB, free: 43.76 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/1.154, allocations: 0 / 1.117 GB, free: 43.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.154, allocations: 0 / 1.117 GB, free: 43.76 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/1.154, allocations: 4.516 kB / 1.117 GB, free: 43.76 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/1.154, allocations: 158.9 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.57e-05/1.154, allocations: 25.8 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/1.154, allocations: 9.859 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/1.154, allocations: 0.6038 MB / 1.117 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/1.155, allocations: 33.56 kB / 1.117 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.155, allocations: 4 kB / 1.117 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001267/1.155, allocations: 33.7 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/1.155, allocations: 54.78 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.013e-05/1.155, allocations: 95.91 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/1.155, allocations: 25.7 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/1.155, allocations: 80.14 kB / 1.118 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/1.155, allocations: 14.25 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/1.155, allocations: 0 / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.405e-05/1.155, allocations: 318.2 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/1.155, allocations: 0 / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-06/1.155, allocations: 10.66 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.638e-05/1.155, allocations: 7.375 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.155, allocations: 0 / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.952e-05/1.155, allocations: 41.56 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/1.155, allocations: 4 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.155, allocations: 0 / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.155, allocations: 0.6562 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.921e-05/1.155, allocations: 11.66 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.155, allocations: 0 / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/1.155, allocations: 0 / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/1.155, allocations: 4.625 kB / 1.118 GB, free: 42.06 MB / 0.7448 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 4.355e-05/1.155, allocations: 105.8 kB / 1.118 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/1.155, allocations: 4.984 kB / 1.118 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.525e-05/1.155, allocations: 48.41 kB / 1.118 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/1.155, allocations: 4 kB / 1.118 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.155, allocations: 4.031 kB / 1.118 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/1.155, allocations: 0 / 1.118 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.619e-05/1.155, allocations: 149.9 kB / 1.118 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.155, allocations: 0 / 1.118 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/1.155, allocations: 7.125 kB / 1.118 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.155, allocations: 3.953 kB / 1.118 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/1.156, allocations: 0 / 1.118 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.156, allocations: 1.625 kB / 1.118 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.156, allocations: 2.953 kB / 1.118 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.589e-05/1.156, allocations: 67.52 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/1.156, allocations: 86.56 kB / 1.119 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/1.156, allocations: 8.281 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.552e-05/1.156, allocations: 0 / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/1.156, allocations: 0 / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/1.156, allocations: 0 / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.455e-05/1.156, allocations: 82.03 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.156, allocations: 0 / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001996/1.156, allocations: 16 kB / 1.119 GB, free: 41.42 MB / 0.7448 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.0002996/1.156, allocations: 0.6188 MB / 1.119 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.281e-05/1.156, allocations: 16.03 kB / 1.119 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.156, allocations: 0 / 1.119 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/1.156, allocations: 4.094 kB / 1.119 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/1.157, allocations: 13 kB / 1.119 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/1.157, allocations: 90.52 kB / 1.119 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.91e-05/1.157, allocations: 0.6833 MB / 1.12 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.666e-05/1.157, allocations: 0.8594 kB / 1.12 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/1.157, allocations: 14.62 kB / 1.12 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/1.157, allocations: 4 kB / 1.12 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/1.17, allocations: 1.199 MB / 1.121 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/1.17, allocations: 155 kB / 1.121 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.672, allocations: 3.938 kB / 1.121 GB, free: 39.08 MB / 0.7448 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)