Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirProperties.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.Media.Examples.AirProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirProperties",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.00146/0.00146, allocations: 182.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5338/0.5338, allocations: 91.97 MB / 108.5 MB, free: 13.08 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.687/1.687, allocations: 223.2 MB / 354.3 MB, free: 10.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 107.1 kB / 427.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003761, allocations: 8 kB / 0.4983 GB, free: 42.01 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 72.31 MB / 0.5689 GB, free: 1.637 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.088/5.279, allocations: 1.875 GB / 2.444 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/5.28, allocations: 75.95 kB / 2.444 GB, free: 9.145 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.494/5.774, allocations: 48.13 MB / 2.491 GB, free: 210.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.265e-06/5.774, allocations: 0 / 2.491 GB, free: 210.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.202e-05/5.774, allocations: 3.938 kB / 2.491 GB, free: 210.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001321/5.775, allocations: 0.5664 MB / 2.491 GB, free: 210.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/5.775, allocations: 11.81 kB / 2.491 GB, free: 210.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/5.775, allocations: 58.39 kB / 2.491 GB, free: 210.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/5.776, allocations: 133.6 kB / 2.492 GB, free: 210.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/5.777, allocations: 222.1 kB / 2.492 GB, free: 210 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/5.777, allocations: 12.19 kB / 2.492 GB, free: 210 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/5.777, allocations: 19.81 kB / 2.492 GB, free: 209.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005867/5.778, allocations: 338.6 kB / 2.492 GB, free: 209.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/5.778, allocations: 0 / 2.492 GB, free: 209.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/5.778, allocations: 15.89 kB / 2.492 GB, free: 209.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/5.778, allocations: 11.81 kB / 2.492 GB, free: 209.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/5.778, allocations: 316.8 kB / 2.493 GB, free: 209.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/5.78, allocations: 1.162 MB / 2.494 GB, free: 208.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/5.781, allocations: 191.8 kB / 2.494 GB, free: 208.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000597/5.781, allocations: 457.5 kB / 2.494 GB, free: 207.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/5.781, allocations: 34.7 kB / 2.494 GB, free: 207.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=21): time 2.605e-06/5.781, allocations: 0 / 2.494 GB, free: 207.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.000814/5.782, allocations: 349.4 kB / 2.495 GB, free: 207.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/5.782, allocations: 51.41 kB / 2.495 GB, free: 207.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/5.782, allocations: 194.2 kB / 2.495 GB, free: 207 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/5.782, allocations: 25.7 kB / 2.495 GB, free: 207 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/5.783, allocations: 151.9 kB / 2.495 GB, free: 206.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/5.783, allocations: 71 kB / 2.495 GB, free: 206.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/5.783, allocations: 4 kB / 2.495 GB, free: 206.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001225/5.783, allocations: 326.8 kB / 2.495 GB, free: 206.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/5.783, allocations: 68.22 kB / 2.495 GB, free: 206.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/5.783, allocations: 167.5 kB / 2.496 GB, free: 206.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/5.783, allocations: 86.22 kB / 2.496 GB, free: 206 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/5.783, allocations: 4 kB / 2.496 GB, free: 206 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005816/5.784, allocations: 288 kB / 2.496 GB, free: 205.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/5.784, allocations: 5.719 kB / 2.496 GB, free: 205.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/5.784, allocations: 7.984 kB / 2.496 GB, free: 205.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.042e-05/5.784, allocations: 4 kB / 2.496 GB, free: 205.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/5.784, allocations: 51.92 kB / 2.496 GB, free: 205.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/5.784, allocations: 8 kB / 2.496 GB, free: 205.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/5.785, allocations: 35.58 kB / 2.496 GB, free: 205.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/5.785, allocations: 19.95 kB / 2.496 GB, free: 205.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001761/5.785, allocations: 145.9 kB / 2.496 GB, free: 205.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/5.785, allocations: 19.81 kB / 2.496 GB, free: 205.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005034/5.786, allocations: 251.3 kB / 2.497 GB, free: 205.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/5.786, allocations: 4 kB / 2.497 GB, free: 205.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/5.786, allocations: 3.938 kB / 2.497 GB, free: 205.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/5.786, allocations: 0 / 2.497 GB, free: 205.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000807/5.786, allocations: 0.5505 MB / 2.497 GB, free: 204.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/5.786, allocations: 3.938 kB / 2.497 GB, free: 204.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/5.787, allocations: 35.92 kB / 2.497 GB, free: 204.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/5.787, allocations: 0 / 2.497 GB, free: 204.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/5.787, allocations: 11.98 kB / 2.497 GB, free: 204.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/5.787, allocations: 0 / 2.497 GB, free: 204.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/5.787, allocations: 0 / 2.497 GB, free: 204.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/5.787, allocations: 338.8 kB / 2.497 GB, free: 204.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/5.787, allocations: 120.8 kB / 2.498 GB, free: 204 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/5.788, allocations: 7.984 kB / 2.498 GB, free: 204 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/5.788, allocations: 16 kB / 2.498 GB, free: 204 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/5.788, allocations: 15.92 kB / 2.498 GB, free: 204 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/5.788, allocations: 19.94 kB / 2.498 GB, free: 204 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000125/5.788, allocations: 145.4 kB / 2.498 GB, free: 203.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/5.788, allocations: 4 kB / 2.498 GB, free: 203.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008698/5.789, allocations: 159.8 kB / 2.498 GB, free: 203.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002203/5.791, allocations: 1.563 MB / 2.499 GB, free: 202.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004406/5.792, allocations: 184.4 kB / 2.5 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/5.792, allocations: 4.125 kB / 2.5 GB, free: 201.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/5.792, allocations: 97.23 kB / 2.5 GB, free: 201.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/5.792, allocations: 94.89 kB / 2.5 GB, free: 201.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/5.796, allocations: 3.108 MB / 2.503 GB, free: 198.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/5.796, allocations: 0.7369 MB / 2.504 GB, free: 197.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003593/5.796, allocations: 58.23 kB / 2.504 GB, free: 197.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/5.796, allocations: 55.42 kB / 2.504 GB, free: 197.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.162e-06/5.796, allocations: 0 / 2.504 GB, free: 197.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0431/5.84, allocations: 15.88 MB / 2.519 GB, free: 181.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/5.84, allocations: 170.9 kB / 2.519 GB, free: 181.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/8.118, allocations: 0 / 2.519 GB, free: 181.6 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe 2>&1)