Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006856/0.006856, allocations: 169.4 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.768/0.768, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.1 MB / 406.8 MB, free: 3.246 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 91.17 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004173, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4152, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.5568, allocations: 111.1 MB / 0.758 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.5571, allocations: 79.95 kB / 0.7581 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002464/0.5596, allocations: 0.8617 MB / 0.7589 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5596, allocations: 0 / 0.7589 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.5596, allocations: 0 / 0.7589 GB, free: 3.957 MB / 0.5261 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.0003528/0.56, allocations: 335.3 kB / 0.7593 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.56, allocations: 12.03 kB / 0.7593 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.5601, allocations: 30.56 kB / 0.7593 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.5601, allocations: 0 / 0.7593 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.5603, allocations: 167 kB / 0.7595 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.5603, allocations: 4 kB / 0.7595 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.5603, allocations: 4 kB / 0.7595 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.037e-05/0.5604, allocations: 33.7 kB / 0.7595 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.5604, allocations: 0 / 0.7595 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.5605, allocations: 0 / 0.7595 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5605, allocations: 0 / 0.7595 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.359e-05/0.5605, allocations: 7.938 kB / 0.7595 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.5607, allocations: 157.7 kB / 0.7597 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.085e-05/0.5608, allocations: 26.03 kB / 0.7597 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007021/0.5615, allocations: 0.6052 MB / 0.7603 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.5615, allocations: 30.56 kB / 0.7603 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.5615, allocations: 0 / 0.7603 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.00017/0.5617, allocations: 41.62 kB / 0.7603 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.5617, allocations: 59.34 kB / 0.7604 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/0.5618, allocations: 92.98 kB / 0.7605 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.5619, allocations: 25.83 kB / 0.7605 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.5619, allocations: 88.14 kB / 0.7606 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.5619, allocations: 15.77 kB / 0.7606 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-06/0.5619, allocations: 0 / 0.7606 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5621, allocations: 314.8 kB / 0.7609 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.5621, allocations: 4 kB / 0.7609 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.5621, allocations: 0 / 0.7609 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/0.5621, allocations: 4 kB / 0.7609 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5621, allocations: 0 / 0.7609 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.567e-05/0.5622, allocations: 53.64 kB / 0.761 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5623, allocations: 4.938 kB / 0.761 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5623, allocations: 0 / 0.761 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.5623, allocations: 4 kB / 0.761 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.5624, allocations: 0 / 0.761 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5624, allocations: 3.984 kB / 0.761 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.5624, allocations: 4 kB / 0.761 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.5624, allocations: 0 / 0.761 GB, free: 1.516 MB / 0.5261 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.394e-05/0.5625, allocations: 105.8 kB / 0.7611 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.5625, allocations: 11.89 kB / 0.7611 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.5627, allocations: 48.81 kB / 0.7612 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5627, allocations: 0 / 0.7612 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5627, allocations: 3.938 kB / 0.7612 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5627, allocations: 0 / 0.7612 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.5628, allocations: 153.7 kB / 0.7613 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5628, allocations: 0 / 0.7613 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.632e-05/0.5629, allocations: 4 kB / 0.7613 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5629, allocations: 3.953 kB / 0.7613 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-06/0.5629, allocations: 32 / 0.7613 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.5629, allocations: 8 kB / 0.7613 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5629, allocations: 0 / 0.7613 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.52e-05/0.563, allocations: 65.12 kB / 0.7614 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.563, allocations: 77.11 kB / 0.7615 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.5631, allocations: 3.953 kB / 0.7615 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.813e-05/0.5631, allocations: 0 / 0.7615 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.5631, allocations: 3.984 kB / 0.7615 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.5631, allocations: 8.031 kB / 0.7615 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.951e-05/0.5632, allocations: 79.28 kB / 0.7615 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.366e-06/0.5632, allocations: 0 / 0.7615 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002085/0.5634, allocations: 19.88 kB / 0.7616 GB, free: 0.8281 MB / 0.5261 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.00043/0.5638, allocations: 0.6209 MB / 0.7622 GB, free: 180 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.731e-05/0.5639, allocations: 15.98 kB / 0.7622 GB, free: 164 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5639, allocations: 0 / 0.7622 GB, free: 164 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.5639, allocations: 7.938 kB / 0.7622 GB, free: 156 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.5641, allocations: 3.953 kB / 0.7622 GB, free: 152 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.5648, allocations: 353 kB / 0.7625 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.565, allocations: 0.677 MB / 0.7632 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.5651, allocations: 0 / 0.7632 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.5651, allocations: 11.44 kB / 0.7632 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of SimCode: time 8.11e-07/0.5651, allocations: 0 / 0.7632 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3685/0.9336, allocations: 1.195 MB / 0.7644 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003897/0.9341, allocations: 175.5 kB / 0.7645 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.439/2.373, allocations: 0 / 0.7645 GB, free: 13.72 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)