Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_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.001405/0.001405, allocations: 179.2 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5578/0.5578, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.3 MB / 348.3 MB, free: 468 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009457/0.0009454, allocations: 87.59 kB / 421.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.175e-05, allocations: 0 / 0.4897 GB, free: 5.262 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4054, allocations: 72.3 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.5341, allocations: 101.2 MB / 0.6592 GB, free: 3.07 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.5344, allocations: 75.95 kB / 0.6593 GB, free: 2.996 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002294/0.5367, allocations: 0.8636 MB / 0.6601 GB, free: 2.145 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5367, allocations: 0 / 0.6601 GB, free: 2.145 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.5367, allocations: 0 / 0.6601 GB, free: 2.145 MB / 474.7 MB 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.0002533/0.537, allocations: 326.5 kB / 0.6604 GB, free: 1.781 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.537, allocations: 13.3 kB / 0.6604 GB, free: 1.77 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.5371, allocations: 34.56 kB / 0.6605 GB, free: 1.727 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.5371, allocations: 7.859 kB / 0.6605 GB, free: 1.719 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.5373, allocations: 163.1 kB / 0.6606 GB, free: 1.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.5373, allocations: 4 kB / 0.6606 GB, free: 1.516 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.5373, allocations: 4 kB / 0.6606 GB, free: 1.512 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.794e-05/0.5374, allocations: 33.64 kB / 0.6607 GB, free: 1.473 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.5374, allocations: 0 / 0.6607 GB, free: 1.473 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.5374, allocations: 7.938 kB / 0.6607 GB, free: 1.465 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.5374, allocations: 0 / 0.6607 GB, free: 1.465 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.5375, allocations: 7.953 kB / 0.6607 GB, free: 1.457 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.5376, allocations: 154.3 kB / 0.6608 GB, free: 1.258 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.773e-05/0.5377, allocations: 22.58 kB / 0.6608 GB, free: 1.227 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.5377, allocations: 8.922 kB / 0.6609 GB, free: 1.215 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006088/0.5383, allocations: 0.605 MB / 0.6614 GB, free: 496 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.5384, allocations: 38.5 kB / 0.6615 GB, free: 448 kB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5384, allocations: 0 / 0.6615 GB, free: 448 kB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001198/0.5385, allocations: 33.69 kB / 0.6615 GB, free: 408 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.5386, allocations: 55.44 kB / 0.6616 GB, free: 340 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.322e-05/0.5386, allocations: 97 kB / 0.6617 GB, free: 236 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.5386, allocations: 25.7 kB / 0.6617 GB, free: 204 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.5387, allocations: 80.14 kB / 0.6618 GB, free: 120 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.5387, allocations: 7.844 kB / 0.6618 GB, free: 112 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.5387, allocations: 0 / 0.6618 GB, free: 112 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5389, allocations: 318.8 kB / 0.6621 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.5389, allocations: 4 kB / 0.6621 GB, free: 15.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/0.5389, allocations: 4 kB / 0.6621 GB, free: 15.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.886e-05/0.5389, allocations: 8.047 kB / 0.6621 GB, free: 15.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5389, allocations: 3.938 kB / 0.6621 GB, free: 15.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.345e-05/0.539, allocations: 37.7 kB / 0.6621 GB, free: 15.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.539, allocations: 4 kB / 0.6621 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.539, allocations: 0 / 0.6621 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.539, allocations: 4 kB / 0.6621 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.125e-05/0.5391, allocations: 4 kB / 0.6621 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5391, allocations: 0 / 0.6621 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.5391, allocations: 7.984 kB / 0.6621 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.5392, allocations: 4.031 kB / 0.6622 GB, free: 15.7 MB / 490.7 MB 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.495e-05/0.5392, allocations: 108.9 kB / 0.6623 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.5392, allocations: 0 / 0.6623 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.875e-05/0.5393, allocations: 48.94 kB / 0.6623 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5394, allocations: 3.984 kB / 0.6623 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5394, allocations: 0 / 0.6623 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5394, allocations: 0 / 0.6623 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.5395, allocations: 157.5 kB / 0.6625 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5395, allocations: 3.984 kB / 0.6625 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.5395, allocations: 8.031 kB / 0.6625 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5396, allocations: 0 / 0.6625 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.5396, allocations: 0 / 0.6625 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5396, allocations: 0 / 0.6625 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5396, allocations: 4 kB / 0.6625 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.737e-05/0.5397, allocations: 69.02 kB / 0.6625 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.5397, allocations: 81.11 kB / 0.6626 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.5397, allocations: 4.031 kB / 0.6626 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.558e-05/0.5398, allocations: 4 kB / 0.6626 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.5398, allocations: 0 / 0.6626 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.5398, allocations: 1.031 kB / 0.6626 GB, free: 15.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.608e-05/0.5398, allocations: 79.28 kB / 0.6627 GB, free: 15.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5398, allocations: 0 / 0.6627 GB, free: 15.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001928/0.54, allocations: 16 kB / 0.6627 GB, free: 15.03 MB / 490.7 MB 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.000407/0.5405, allocations: 0.6202 MB / 0.6633 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.899e-05/0.5405, allocations: 15.94 kB / 0.6633 GB, free: 14.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5406, allocations: 0 / 0.6633 GB, free: 14.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.5406, allocations: 4 kB / 0.6633 GB, free: 14.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.5407, allocations: 6.25 kB / 0.6633 GB, free: 14.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.541, allocations: 94.86 kB / 0.6634 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.5413, allocations: 0.6809 MB / 0.6641 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.334e-05/0.5413, allocations: 4 kB / 0.6641 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.5413, allocations: 11.38 kB / 0.6641 GB, free: 13.5 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5413, allocations: 0 / 0.6641 GB, free: 13.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.5535, allocations: 1.206 MB / 0.6653 GB, free: 12.45 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.5538, allocations: 155.9 kB / 0.6654 GB, free: 12.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.133, allocations: 0 / 0.6654 GB, free: 12.23 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)