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.902/0.902, allocations: 143.3 MB / 158.3 MB, free: 5.785 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.001289/0.001288, allocations: 175.2 kB / 191.5 MB, free: 5.758 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.43/1.43, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.0009139/0.0009139, allocations: 92.31 kB / 0.5187 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001809/0.001809, allocations: 280.1 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004392, allocations: 15.75 kB / 0.6929 GB, free: 59.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1607, allocations: 82.78 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.545/9.705, allocations: 4.368 GB / 5.142 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/9.706, allocations: 83.08 kB / 5.142 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.08129/9.787, allocations: 47.13 MB / 5.188 GB, free: 102.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/9.787, allocations: 0 / 5.188 GB, free: 102.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.213e-06/9.787, allocations: 0 / 5.188 GB, free: 102.3 MB / 0.7136 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.0002694/9.787, allocations: 343 kB / 5.188 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/9.787, allocations: 8.031 kB / 5.188 GB, free: 101.9 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/9.787, allocations: 38.52 kB / 5.189 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/9.788, allocations: 16.77 kB / 5.189 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.851e-05/9.788, allocations: 171 kB / 5.189 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/9.788, allocations: 25.7 kB / 5.189 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/9.788, allocations: 11.88 kB / 5.189 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/9.788, allocations: 49.66 kB / 5.189 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/9.788, allocations: 0 / 5.189 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/9.788, allocations: 11.69 kB / 5.189 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/9.788, allocations: 0 / 5.189 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.957e-05/9.788, allocations: 19.61 kB / 5.189 GB, free: 101.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/9.788, allocations: 260.1 kB / 5.189 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.988e-05/9.788, allocations: 18.83 kB / 5.189 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/9.788, allocations: 3.953 kB / 5.189 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/9.788, allocations: 34.62 kB / 5.189 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/9.788, allocations: 4 kB / 5.189 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001176/9.789, allocations: 33.58 kB / 5.189 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/9.789, allocations: 55.34 kB / 5.189 GB, free: 101 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/9.789, allocations: 108.7 kB / 5.189 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/9.789, allocations: 25.7 kB / 5.189 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/9.789, allocations: 91.39 kB / 5.189 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.017e-06/9.789, allocations: 4 kB / 5.189 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/9.789, allocations: 0 / 5.189 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.82e-05/9.789, allocations: 318.8 kB / 5.19 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/9.789, allocations: 7.984 kB / 5.19 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/9.789, allocations: 18.58 kB / 5.19 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/9.789, allocations: 11.94 kB / 5.19 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/9.789, allocations: 0 / 5.19 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.217e-05/9.789, allocations: 53.5 kB / 5.19 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/9.789, allocations: 16.05 kB / 5.19 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/9.789, allocations: 0 / 5.19 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/9.789, allocations: 0 / 5.19 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.552e-05/9.789, allocations: 11.98 kB / 5.19 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/9.789, allocations: 3.938 kB / 5.19 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.582e-05/9.789, allocations: 3.906 kB / 5.19 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/9.789, allocations: 4 kB / 5.19 GB, free: 100.3 MB / 0.7136 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 () * Number of clocked 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.052e-05/9.789, allocations: 110.2 kB / 5.19 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/9.789, allocations: 4 kB / 5.19 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.566e-05/9.789, allocations: 11.08 kB / 5.19 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/9.789, allocations: 0 / 5.19 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/9.789, allocations: 0 / 5.19 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/9.789, allocations: 3.938 kB / 5.19 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/9.789, allocations: 342.6 kB / 5.19 GB, free: 99.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/9.789, allocations: 0 / 5.19 GB, free: 99.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/9.789, allocations: 11.89 kB / 5.19 GB, free: 99.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/9.789, allocations: 0 / 5.19 GB, free: 99.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/9.789, allocations: 4.031 kB / 5.19 GB, free: 99.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/9.789, allocations: 0 / 5.19 GB, free: 99.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/9.789, allocations: 0 / 5.19 GB, free: 99.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.789e-05/9.789, allocations: 61.06 kB / 5.19 GB, free: 99.72 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/9.789, allocations: 77.11 kB / 5.19 GB, free: 99.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/9.79, allocations: 4.203 kB / 5.19 GB, free: 99.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/9.79, allocations: 4 kB / 5.19 GB, free: 99.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/9.79, allocations: 15.95 kB / 5.19 GB, free: 99.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/9.79, allocations: 4 kB / 5.19 GB, free: 99.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.528e-05/9.79, allocations: 83.16 kB / 5.191 GB, free: 99.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/9.79, allocations: 0 / 5.191 GB, free: 99.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000282/9.79, allocations: 39.11 kB / 5.191 GB, free: 99.5 MB / 0.7136 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 () * Number of clocked 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.0006525/9.791, allocations: 1.065 MB / 5.192 GB, free: 98.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.248e-05/9.791, allocations: 8 kB / 5.192 GB, free: 98.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/9.791, allocations: 0 / 5.192 GB, free: 98.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.27e-06/9.791, allocations: 8.125 kB / 5.192 GB, free: 98.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/9.791, allocations: 8.484 kB / 5.192 GB, free: 98.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/9.791, allocations: 150.8 kB / 5.192 GB, free: 98.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/9.791, allocations: 0.677 MB / 5.192 GB, free: 97.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.38e-05/9.791, allocations: 12.05 kB / 5.192 GB, free: 97.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/9.791, allocations: 13.62 kB / 5.192 GB, free: 97.5 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/9.791, allocations: 0 / 5.192 GB, free: 97.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/9.823, allocations: 10.59 MB / 5.203 GB, free: 87.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/9.823, allocations: 222 kB / 5.203 GB, free: 86.87 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/11.74, allocations: 2.531 kB / 5.203 GB, free: 86.87 MB / 0.7136 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)