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.001634/0.001634, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7706/0.7706, allocations: 133.6 MB / 141.6 MB, free: 2.926 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.000851/0.0008509, allocations: 95.52 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.29e-05/2.298e-05, allocations: 4 kB / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.436, allocations: 82.31 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.5737, allocations: 110.4 MB / 0.7417 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.5739, allocations: 83.92 kB / 0.7418 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002108/0.576, allocations: 0.8579 MB / 0.7426 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.362e-06/0.576, allocations: 0 / 0.7426 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.5761, allocations: 0 / 0.7426 GB, free: 11.36 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.0002731/0.5763, allocations: 322.5 kB / 0.7429 GB, free: 11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.5764, allocations: 8.031 kB / 0.7429 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.5764, allocations: 7.906 kB / 0.7429 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.5766, allocations: 167 kB / 0.7431 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.5766, allocations: 0 / 0.7431 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-06/0.5766, allocations: 0 / 0.7431 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.086e-05/0.5766, allocations: 8 kB / 0.7431 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.959e-05/0.5767, allocations: 37.62 kB / 0.7432 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.5767, allocations: 0 / 0.7432 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.5767, allocations: 0 / 0.7432 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5767, allocations: 0 / 0.7432 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.5769, allocations: 126.2 kB / 0.7433 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.595e-05/0.5769, allocations: 34.02 kB / 0.7433 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.577, allocations: 8.922 kB / 0.7433 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006403/0.5776, allocations: 0.5974 MB / 0.7439 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.5776, allocations: 38.56 kB / 0.7439 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5776, allocations: 0 / 0.7439 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.5778, allocations: 37.62 kB / 0.744 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.5778, allocations: 59.44 kB / 0.744 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.688e-05/0.5779, allocations: 85 kB / 0.7441 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.5779, allocations: 29.7 kB / 0.7441 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.578, allocations: 84.14 kB / 0.7442 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.578, allocations: 7.844 kB / 0.7442 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.578, allocations: 0 / 0.7442 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5781, allocations: 314.8 kB / 0.7445 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-06/0.5781, allocations: 4 kB / 0.7445 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-06/0.5781, allocations: 4 kB / 0.7445 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/0.5782, allocations: 4 kB / 0.7445 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5782, allocations: 3.938 kB / 0.7445 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.585e-05/0.5782, allocations: 41.66 kB / 0.7446 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.5783, allocations: 7.938 kB / 0.7446 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.5783, allocations: 0 / 0.7446 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5783, allocations: 7.984 kB / 0.7446 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.36e-05/0.5783, allocations: 0 / 0.7446 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.5783, allocations: 3.938 kB / 0.7446 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.5784, allocations: 4.094 kB / 0.7446 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-06/0.5784, allocations: 4 kB / 0.7446 GB, free: 9.004 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 () * 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 6.567e-05/0.5785, allocations: 101 kB / 0.7447 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.085e-05/0.5785, allocations: 37.66 kB / 0.7447 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-06/0.5785, allocations: 4 kB / 0.7447 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.179e-05/0.5786, allocations: 49.34 kB / 0.7448 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.5786, allocations: 0 / 0.7448 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5786, allocations: 0 / 0.7448 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.5787, allocations: 3.938 kB / 0.7448 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.69e-05/0.5787, allocations: 138.3 kB / 0.7449 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5788, allocations: 0 / 0.7449 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.5788, allocations: 8 kB / 0.7449 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.5788, allocations: 3.953 kB / 0.7449 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.5788, allocations: 0 / 0.7449 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.5788, allocations: 0 / 0.7449 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.5788, allocations: 3.984 kB / 0.7449 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.941e-05/0.5789, allocations: 61.14 kB / 0.745 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.5789, allocations: 81.11 kB / 0.7451 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.579, allocations: 3.953 kB / 0.7451 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.736e-05/0.579, allocations: 4.172 kB / 0.7451 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.579, allocations: 0 / 0.7451 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.579, allocations: 3.984 kB / 0.7451 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.5791, allocations: 83.28 kB / 0.7452 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5791, allocations: 0 / 0.7452 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001825/0.5792, allocations: 12 kB / 0.7452 GB, free: 8.328 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 () * 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.0003956/0.5797, allocations: 0.6163 MB / 0.7458 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.234e-05/0.5797, allocations: 7.984 kB / 0.7458 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5797, allocations: 0 / 0.7458 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/0.5797, allocations: 4 kB / 0.7458 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.5799, allocations: 20.05 kB / 0.7458 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.5802, allocations: 93.58 kB / 0.7459 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.5804, allocations: 0.6768 MB / 0.7466 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.5804, allocations: 0 / 0.7466 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.5805, allocations: 15.38 kB / 0.7466 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.5805, allocations: 0 / 0.7466 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.5989, allocations: 0.8922 MB / 0.7474 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/0.5992, allocations: 130.4 kB / 0.7476 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.108, allocations: 0 / 0.7476 GB, free: 5.73 MB / 0.5261 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)