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.0009593/0.0009595, allocations: 180 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.4975/0.4975, allocations: 90.8 MB / 104.5 MB, free: 9.793 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.282/1.282, allocations: 221.3 MB / 348.3 MB, free: 444 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.0008622/0.0008622, allocations: 89.94 kB / 421.2 MB, free: 5.449 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.901e-05, allocations: 4 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3669, allocations: 72.29 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.217/4.584, allocations: 1.875 GB / 2.435 GB, free: 99.13 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/4.585, allocations: 79.77 kB / 2.435 GB, free: 99.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.09057/4.675, allocations: 48.09 MB / 2.482 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/4.675, allocations: 0 / 2.482 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.006e-05/4.675, allocations: 4 kB / 2.482 GB, free: 58.51 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.0009442/4.676, allocations: 0.553 MB / 2.483 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/4.676, allocations: 15.98 kB / 2.483 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.213e-05/4.676, allocations: 54.55 kB / 2.483 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/4.677, allocations: 135.7 kB / 2.483 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/4.678, allocations: 214.8 kB / 2.483 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/4.678, allocations: 12.38 kB / 2.483 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/4.678, allocations: 27.89 kB / 2.483 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/4.678, allocations: 345.9 kB / 2.483 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/4.678, allocations: 4.844 kB / 2.483 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/4.678, allocations: 8 kB / 2.483 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/4.678, allocations: 15.98 kB / 2.483 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/4.679, allocations: 316.1 kB / 2.484 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/4.68, allocations: 1.156 MB / 2.485 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/4.68, allocations: 191.7 kB / 2.485 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/4.681, allocations: 78.14 kB / 2.485 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003132/4.681, allocations: 356.4 kB / 2.486 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/4.681, allocations: 42.56 kB / 2.486 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=21): time 1.934e-06/4.681, allocations: 3.75 kB / 2.486 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.0004408/4.681, allocations: 188 kB / 2.486 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/4.681, allocations: 59.34 kB / 2.486 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/4.682, allocations: 194.1 kB / 2.486 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/4.682, allocations: 29.7 kB / 2.486 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/4.682, allocations: 144 kB / 2.486 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/4.682, allocations: 67 kB / 2.486 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/4.682, allocations: 8 kB / 2.486 GB, free: 54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.03e-05/4.682, allocations: 326.8 kB / 2.487 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.971e-05/4.682, allocations: 72.23 kB / 2.487 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/4.682, allocations: 155.7 kB / 2.487 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/4.682, allocations: 95.81 kB / 2.487 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/4.682, allocations: 0 / 2.487 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003614/4.683, allocations: 273.5 kB / 2.487 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/4.683, allocations: 8.484 kB / 2.487 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/4.683, allocations: 11.94 kB / 2.487 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/4.683, allocations: 7.953 kB / 2.487 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/4.683, allocations: 55.92 kB / 2.487 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/4.683, allocations: 11.92 kB / 2.487 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/4.683, allocations: 31.69 kB / 2.487 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/4.683, allocations: 8 kB / 2.487 GB, free: 52.91 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 () * 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 7.585e-05/4.683, allocations: 124.9 kB / 2.487 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/4.683, allocations: 19.81 kB / 2.487 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/4.684, allocations: 237.9 kB / 2.488 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/4.684, allocations: 3.953 kB / 2.488 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/4.684, allocations: 3.984 kB / 2.488 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/4.684, allocations: 0 / 2.488 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/4.684, allocations: 0.5272 MB / 2.488 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/4.684, allocations: 0 / 2.488 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/4.684, allocations: 40.05 kB / 2.488 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/4.684, allocations: 0 / 2.488 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/4.684, allocations: 7.984 kB / 2.488 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/4.684, allocations: 0 / 2.488 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/4.684, allocations: 0 / 2.488 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/4.685, allocations: 328.3 kB / 2.488 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.986e-05/4.685, allocations: 120.8 kB / 2.489 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/4.685, allocations: 0 / 2.489 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/4.685, allocations: 23.94 kB / 2.489 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/4.685, allocations: 7.984 kB / 2.489 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/4.685, allocations: 12 kB / 2.489 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.594e-05/4.685, allocations: 154.4 kB / 2.489 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.81e-07/4.685, allocations: 0 / 2.489 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005281/4.686, allocations: 163.8 kB / 2.489 GB, free: 51.05 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 () * 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.001143/4.687, allocations: 1.552 MB / 2.49 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002863/4.687, allocations: 177.4 kB / 2.491 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/4.687, allocations: 0 / 2.491 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/4.687, allocations: 84.83 kB / 2.491 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/4.688, allocations: 92.36 kB / 2.491 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/4.688, allocations: 336.9 kB / 2.491 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/4.689, allocations: 0.7367 MB / 2.492 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002798/4.689, allocations: 58.02 kB / 2.492 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.982e-05/4.689, allocations: 59.41 kB / 2.492 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/4.689, allocations: 0 / 2.492 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/4.715, allocations: 17.4 MB / 2.509 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/4.715, allocations: 133.7 kB / 2.509 GB, free: 30.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.08/6.795, allocations: 3.984 kB / 2.509 GB, free: 30.4 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)