Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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.001011/0.001011, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5088/0.5088, allocations: 90.91 MB / 99.34 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 221.5 MB / 343.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 99.86 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.629e-05/1.633e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1321, allocations: 72.29 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.66/3.793, allocations: 1.664 GB / 2.217 GB, free: 3.363 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/3.793, allocations: 71.95 kB / 2.218 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.3688/4.162, allocations: 36.69 MB / 2.253 GB, free: 223 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.282e-06/4.162, allocations: 0 / 2.253 GB, free: 223 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.542e-06/4.162, allocations: 8 kB / 2.253 GB, free: 223 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003102/4.162, allocations: 343 kB / 2.254 GB, free: 222.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/4.162, allocations: 8.031 kB / 2.254 GB, free: 222.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003548/4.162, allocations: 27.88 kB / 2.254 GB, free: 222.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.782e-05/4.163, allocations: 170.9 kB / 2.254 GB, free: 222.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/4.163, allocations: 29.7 kB / 2.254 GB, free: 222.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/4.163, allocations: 0 / 2.254 GB, free: 222.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.612e-05/4.163, allocations: 23.95 kB / 2.254 GB, free: 222.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/4.163, allocations: 45.67 kB / 2.254 GB, free: 222.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/4.163, allocations: 3.938 kB / 2.254 GB, free: 222.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/4.163, allocations: 4 kB / 2.254 GB, free: 222.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/4.163, allocations: 3.984 kB / 2.254 GB, free: 222.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/4.163, allocations: 326.6 kB / 2.254 GB, free: 221.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.202e-05/4.163, allocations: 22.52 kB / 2.254 GB, free: 221.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/4.164, allocations: 8.922 kB / 2.254 GB, free: 221.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/4.164, allocations: 0 / 2.254 GB, free: 221.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/4.164, allocations: 30.56 kB / 2.254 GB, free: 221.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/4.164, allocations: 0 / 2.254 GB, free: 221.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002321/4.164, allocations: 41.69 kB / 2.254 GB, free: 221.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.815e-05/4.164, allocations: 55.44 kB / 2.254 GB, free: 221.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/4.164, allocations: 100.9 kB / 2.255 GB, free: 221.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/4.164, allocations: 25.7 kB / 2.255 GB, free: 221.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/4.164, allocations: 92.03 kB / 2.255 GB, free: 221.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-06/4.164, allocations: 0 / 2.255 GB, free: 221.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/4.164, allocations: 0 / 2.255 GB, free: 221.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.844e-05/4.164, allocations: 314.8 kB / 2.255 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/4.164, allocations: 7.938 kB / 2.255 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.661e-05/4.164, allocations: 22.58 kB / 2.255 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/4.164, allocations: 7.984 kB / 2.255 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/4.164, allocations: 3.938 kB / 2.255 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001016/4.164, allocations: 61.48 kB / 2.255 GB, free: 221 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/4.164, allocations: 5.406 kB / 2.255 GB, free: 221 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/4.164, allocations: 256 / 2.255 GB, free: 221 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/4.164, allocations: 8.094 kB / 2.255 GB, free: 221 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.166e-05/4.164, allocations: 8 kB / 2.255 GB, free: 221 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/4.164, allocations: 0 / 2.255 GB, free: 221 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/4.165, allocations: 7.938 kB / 2.255 GB, free: 221 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/4.165, allocations: 0 / 2.255 GB, free: 221 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 4.585e-05/4.165, allocations: 101 kB / 2.255 GB, free: 220.9 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.557e-05/4.165, allocations: 45.58 kB / 2.255 GB, free: 220.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/4.165, allocations: 0 / 2.255 GB, free: 220.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/4.165, allocations: 7.75 kB / 2.255 GB, free: 220.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/4.165, allocations: 8.031 kB / 2.255 GB, free: 220.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/4.165, allocations: 3.938 kB / 2.255 GB, free: 220.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/4.165, allocations: 0 / 2.255 GB, free: 220.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/4.165, allocations: 323.3 kB / 2.256 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/4.165, allocations: 0 / 2.256 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.749e-05/4.165, allocations: 0 / 2.256 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/4.165, allocations: 0 / 2.256 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/4.165, allocations: 0 / 2.256 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/4.165, allocations: 7.984 kB / 2.256 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/4.165, allocations: 4.031 kB / 2.256 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.219e-05/4.165, allocations: 60.94 kB / 2.256 GB, free: 220.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/4.165, allocations: 77.11 kB / 2.256 GB, free: 220.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/4.165, allocations: 4 kB / 2.256 GB, free: 220.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/4.165, allocations: 3.984 kB / 2.256 GB, free: 220.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/4.165, allocations: 4 kB / 2.256 GB, free: 220.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/4.165, allocations: 4.031 kB / 2.256 GB, free: 220.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.534e-05/4.165, allocations: 83.28 kB / 2.256 GB, free: 220.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/4.166, allocations: 0 / 2.256 GB, free: 220.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004253/4.166, allocations: 35.98 kB / 2.256 GB, free: 220.1 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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.001071/4.167, allocations: 1.125 MB / 2.257 GB, free: 219 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.395e-05/4.167, allocations: 15.88 kB / 2.257 GB, free: 218.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/4.167, allocations: 4.188 kB / 2.257 GB, free: 218.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/4.167, allocations: 4 kB / 2.257 GB, free: 218.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/4.167, allocations: 10.41 kB / 2.257 GB, free: 218.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/4.168, allocations: 85.64 kB / 2.257 GB, free: 218.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/4.168, allocations: 0.6787 MB / 2.258 GB, free: 218.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.334e-05/4.168, allocations: 11.92 kB / 2.258 GB, free: 218.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/4.168, allocations: 11.44 kB / 2.258 GB, free: 218.1 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/4.168, allocations: 3.938 kB / 2.258 GB, free: 218.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/4.194, allocations: 5.263 MB / 2.263 GB, free: 212.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/4.194, allocations: 143.4 kB / 2.263 GB, free: 212.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/5.913, allocations: 4 kB / 2.263 GB, free: 212.6 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)