Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8604/0.8604, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 180.8 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009853/0.0009855, allocations: 95.86 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001706/0.001706, allocations: 272.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.744e-05/1.747e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5441/0.5441, allocations: 82.77 MB / 0.7575 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.01/12.55, allocations: 4.368 GB / 5.125 GB, free: 172.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/12.55, allocations: 84.45 kB / 5.125 GB, free: 172.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08266/12.64, allocations: 46.29 MB / 5.17 GB, free: 125.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/12.64, allocations: 4 kB / 5.17 GB, free: 125.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.945e-06/12.64, allocations: 0 / 5.17 GB, free: 125.7 MB / 0.698 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.0003199/12.64, allocations: 334.5 kB / 5.171 GB, free: 125.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/12.64, allocations: 12.03 kB / 5.171 GB, free: 125.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/12.64, allocations: 19.94 kB / 5.171 GB, free: 125.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/12.64, allocations: 163.1 kB / 5.171 GB, free: 125.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/12.64, allocations: 29.7 kB / 5.171 GB, free: 125.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/12.64, allocations: 4 kB / 5.171 GB, free: 125.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.135e-05/12.64, allocations: 19.98 kB / 5.171 GB, free: 125.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.854e-05/12.64, allocations: 45.62 kB / 5.171 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/12.64, allocations: 0 / 5.171 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/12.64, allocations: 3.953 kB / 5.171 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/12.64, allocations: 4 kB / 5.171 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/12.64, allocations: 245.4 kB / 5.171 GB, free: 124.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.142e-05/12.64, allocations: 14.58 kB / 5.171 GB, free: 124.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/12.64, allocations: 5.172 kB / 5.171 GB, free: 124.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/12.64, allocations: 4.062 kB / 5.171 GB, free: 124.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/12.64, allocations: 30.56 kB / 5.171 GB, free: 124.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.484e-06/12.64, allocations: 0 / 5.171 GB, free: 124.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.000134/12.64, allocations: 37.59 kB / 5.171 GB, free: 124.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/12.64, allocations: 55.44 kB / 5.171 GB, free: 124.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/12.64, allocations: 104.9 kB / 5.171 GB, free: 124.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/12.64, allocations: 25.7 kB / 5.171 GB, free: 124.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/12.64, allocations: 91.98 kB / 5.172 GB, free: 124.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-06/12.64, allocations: 3.906 kB / 5.172 GB, free: 124.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-06/12.64, allocations: 0 / 5.172 GB, free: 124.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.702e-05/12.64, allocations: 318.8 kB / 5.172 GB, free: 124 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/12.64, allocations: 0 / 5.172 GB, free: 124 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-05/12.64, allocations: 26.58 kB / 5.172 GB, free: 124 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/12.64, allocations: 12 kB / 5.172 GB, free: 124 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/12.64, allocations: 0 / 5.172 GB, free: 124 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.439e-05/12.64, allocations: 49.62 kB / 5.172 GB, free: 123.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/12.64, allocations: 8 kB / 5.172 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/12.64, allocations: 0 / 5.172 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/12.64, allocations: 4.094 kB / 5.172 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/12.64, allocations: 15.94 kB / 5.172 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/12.64, allocations: 7.922 kB / 5.172 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.038e-05/12.64, allocations: 0 / 5.172 GB, free: 123.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/12.64, allocations: 4 kB / 5.172 GB, free: 123.9 MB / 0.698 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 5.591e-05/12.64, allocations: 101 kB / 5.172 GB, free: 123.8 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.693e-05/12.64, allocations: 33.61 kB / 5.172 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/12.64, allocations: 4 kB / 5.172 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/12.64, allocations: 7.703 kB / 5.172 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/12.64, allocations: 4.031 kB / 5.172 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/12.64, allocations: 0 / 5.172 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/12.64, allocations: 3.984 kB / 5.172 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/12.64, allocations: 323.3 kB / 5.172 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/12.64, allocations: 256 / 5.172 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.07e-05/12.64, allocations: 11.94 kB / 5.172 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/12.64, allocations: 3.953 kB / 5.172 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/12.64, allocations: 0 / 5.172 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/12.64, allocations: 4.031 kB / 5.172 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/12.64, allocations: 0 / 5.172 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.421e-05/12.64, allocations: 61.12 kB / 5.172 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/12.64, allocations: 81.02 kB / 5.173 GB, free: 123.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/12.64, allocations: 3.953 kB / 5.173 GB, free: 123.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/12.64, allocations: 4 kB / 5.173 GB, free: 123.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/12.64, allocations: 96 / 5.173 GB, free: 123.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/12.64, allocations: 8.016 kB / 5.173 GB, free: 123.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.837e-05/12.64, allocations: 95.2 kB / 5.173 GB, free: 123 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/12.64, allocations: 0 / 5.173 GB, free: 123 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002767/12.64, allocations: 27.98 kB / 5.173 GB, free: 123 MB / 0.698 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.0009716/12.64, allocations: 1.14 MB / 5.174 GB, free: 121.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.487e-05/12.64, allocations: 15.94 kB / 5.174 GB, free: 121.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/12.64, allocations: 0 / 5.174 GB, free: 121.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.691e-06/12.64, allocations: 7.938 kB / 5.174 GB, free: 121.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/12.64, allocations: 16.8 kB / 5.174 GB, free: 121.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/12.64, allocations: 89.59 kB / 5.174 GB, free: 121.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/12.64, allocations: 0.6768 MB / 5.175 GB, free: 121 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.727e-05/12.64, allocations: 7.984 kB / 5.175 GB, free: 121 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/12.64, allocations: 13.41 kB / 5.175 GB, free: 121 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/12.64, allocations: 0 / 5.175 GB, free: 121 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/12.68, allocations: 5.435 MB / 5.18 GB, free: 115.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/12.68, allocations: 187.5 kB / 5.18 GB, free: 115.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/14.64, allocations: 1.562 kB / 5.18 GB, free: 115.3 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)