Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 251.9 MB / 266.8 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 182.1 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 86.36 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003475, allocations: 9.906 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2593, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.4585, allocations: 131.4 MB / 1.028 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.4589, allocations: 71.95 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002436/0.4613, allocations: 0.8362 MB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4613, allocations: 3.938 kB / 1.029 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4613, allocations: 4 kB / 1.029 GB, free: 11.4 MB / 0.6823 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.0003831/0.4617, allocations: 335.2 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.625e-05/0.4618, allocations: 12.03 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.4619, allocations: 34.56 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.4619, allocations: 0 / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.4621, allocations: 167 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.4621, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.4621, allocations: 4 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.427e-05/0.4622, allocations: 25.7 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.4622, allocations: 8 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.4622, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.4622, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.416e-05/0.4623, allocations: 7.938 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.4625, allocations: 157.6 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.272e-05/0.4626, allocations: 26.61 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006957/0.4633, allocations: 0.6013 MB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.4633, allocations: 38.56 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.4633, allocations: 0 / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000158/0.4635, allocations: 45.62 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.4635, allocations: 51.41 kB / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.4636, allocations: 93 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.4636, allocations: 25.7 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.4637, allocations: 80.14 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.4637, allocations: 16.02 kB / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-06/0.4637, allocations: 0 / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4639, allocations: 310.8 kB / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.4639, allocations: 4 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-06/0.4639, allocations: 4 kB / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.846e-05/0.4639, allocations: 4 kB / 1.031 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.4639, allocations: 3.953 kB / 1.031 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.381e-05/0.464, allocations: 45.53 kB / 1.031 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.464, allocations: 4.094 kB / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.464, allocations: 4 kB / 1.031 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4641, allocations: 0 / 1.031 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.4641, allocations: 8 kB / 1.031 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.4641, allocations: 3.938 kB / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.4642, allocations: 192 / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-06/0.4642, allocations: 4 kB / 1.031 GB, free: 8.957 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.558e-05/0.4643, allocations: 105.8 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.4643, allocations: 7.938 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.4644, allocations: 52.75 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4644, allocations: 7.938 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4644, allocations: 0 / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4644, allocations: 0 / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.4646, allocations: 153.7 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4646, allocations: 0 / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/0.4646, allocations: 3.953 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.4646, allocations: 4 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.4646, allocations: 4 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.4646, allocations: 0 / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4646, allocations: 0 / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.898e-05/0.4647, allocations: 65.16 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.4648, allocations: 81.11 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.4648, allocations: 3.953 kB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.724e-05/0.4648, allocations: 0 / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.4649, allocations: 3.984 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.4649, allocations: 0 / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.4649, allocations: 87.25 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4649, allocations: 0 / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002219/0.4652, allocations: 20 kB / 1.032 GB, free: 8.266 MB / 0.6823 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 (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.0004517/0.4656, allocations: 0.6124 MB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.066e-05/0.4657, allocations: 16.02 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4657, allocations: 0 / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.4657, allocations: 11.94 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.4659, allocations: 7.891 kB / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.4665, allocations: 345.3 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.4668, allocations: 0.6809 MB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.4668, allocations: 0 / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.4669, allocations: 11.44 kB / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.4669, allocations: 0 / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.4819, allocations: 1.219 MB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003159/0.4823, allocations: 201.1 kB / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.082, allocations: 0 / 1.035 GB, free: 5.188 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)