Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.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.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",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.7888/0.7888, allocations: 143.3 MB / 158.3 MB, free: 5.809 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: 177 kB / 191.5 MB, free: 5.762 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.589/1.589, allocations: 223.2 MB / 447.7 MB, free: 4.824 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.0008447/0.0008446, allocations: 88.33 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001731, allocations: 271.6 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004326, allocations: 11.12 kB / 0.6929 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1348, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.227, allocations: 415.4 MB / 1.179 GB, free: 244.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/1.227, allocations: 76.48 kB / 1.179 GB, free: 244.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05901/1.286, allocations: 23.51 MB / 1.202 GB, free: 241.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.775e-06/1.286, allocations: 0 / 1.202 GB, free: 241.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.084e-06/1.286, allocations: 0 / 1.202 GB, free: 241.4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004151/1.287, allocations: 371.9 kB / 1.203 GB, free: 241 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.287, allocations: 7.844 kB / 1.203 GB, free: 241 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/1.287, allocations: 30.56 kB / 1.203 GB, free: 240.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/1.287, allocations: 3.969 kB / 1.203 GB, free: 240.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.956e-05/1.287, allocations: 171.8 kB / 1.203 GB, free: 240.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.448e-05/1.287, allocations: 29.12 kB / 1.203 GB, free: 240.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/1.287, allocations: 3.969 kB / 1.203 GB, free: 240.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/1.287, allocations: 43.64 kB / 1.203 GB, free: 240.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.287, allocations: 0 / 1.203 GB, free: 240.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/1.287, allocations: 0 / 1.203 GB, free: 240.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/1.287, allocations: 0 / 1.203 GB, free: 240.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.84e-05/1.288, allocations: 15.25 kB / 1.203 GB, free: 240.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007014/1.288, allocations: 0.5923 MB / 1.204 GB, free: 240 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.141e-05/1.288, allocations: 26.86 kB / 1.204 GB, free: 240 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003537/1.289, allocations: 0.495 MB / 1.204 GB, free: 239.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/1.289, allocations: 35.12 kB / 1.204 GB, free: 239.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.854e-06/1.289, allocations: 4 kB / 1.204 GB, free: 239.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001697/1.289, allocations: 38.91 kB / 1.204 GB, free: 239.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/1.289, allocations: 55.36 kB / 1.204 GB, free: 239.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/1.289, allocations: 91.66 kB / 1.204 GB, free: 239.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/1.289, allocations: 25.7 kB / 1.204 GB, free: 239.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/1.289, allocations: 97.36 kB / 1.205 GB, free: 239.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/1.289, allocations: 0 / 1.205 GB, free: 239.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/1.289, allocations: 0.9375 kB / 1.205 GB, free: 239.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.353e-05/1.289, allocations: 315.6 kB / 1.205 GB, free: 238.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/1.289, allocations: 5.281 kB / 1.205 GB, free: 238.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/1.289, allocations: 22.33 kB / 1.205 GB, free: 238.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/1.289, allocations: 5.344 kB / 1.205 GB, free: 238.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.289, allocations: 0 / 1.205 GB, free: 238.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001081/1.289, allocations: 44.8 kB / 1.205 GB, free: 238.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.289, allocations: 4 kB / 1.205 GB, free: 238.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.29, allocations: 7.969 kB / 1.205 GB, free: 238.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/1.29, allocations: 3.938 kB / 1.205 GB, free: 238.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.824e-05/1.29, allocations: 7.969 kB / 1.205 GB, free: 238.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.29, allocations: 0 / 1.205 GB, free: 238.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/1.29, allocations: 7.859 kB / 1.205 GB, free: 238.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/1.29, allocations: 7.438 kB / 1.205 GB, free: 238.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 6.442e-05/1.29, allocations: 110 kB / 1.205 GB, free: 238.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/1.29, allocations: 3.875 kB / 1.205 GB, free: 238.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/1.29, allocations: 120.9 kB / 1.205 GB, free: 238.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/1.29, allocations: 184.8 kB / 1.205 GB, free: 238.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.172e-05/1.29, allocations: 176.3 kB / 1.205 GB, free: 238.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.668e-05/1.29, allocations: 181.1 kB / 1.206 GB, free: 237.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/1.29, allocations: 407.4 kB / 1.206 GB, free: 237.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/1.29, allocations: 106 kB / 1.206 GB, free: 237.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/1.29, allocations: 109.6 kB / 1.206 GB, free: 237.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.018e-05/1.29, allocations: 183.8 kB / 1.206 GB, free: 237.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/1.29, allocations: 180.9 kB / 1.207 GB, free: 236.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-05/1.291, allocations: 176.8 kB / 1.207 GB, free: 236.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-05/1.291, allocations: 196.7 kB / 1.207 GB, free: 236.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.917e-05/1.291, allocations: 309.7 kB / 1.207 GB, free: 236.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/1.291, allocations: 187 kB / 1.207 GB, free: 236 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/1.291, allocations: 180.6 kB / 1.208 GB, free: 235.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/1.291, allocations: 109.5 kB / 1.208 GB, free: 235.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/1.291, allocations: 180.9 kB / 1.208 GB, free: 235.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/1.291, allocations: 104.8 kB / 1.208 GB, free: 235.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.036e-05/1.291, allocations: 81.69 kB / 1.208 GB, free: 235.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.01e-07/1.291, allocations: 0 / 1.208 GB, free: 235.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006712/1.292, allocations: 93.67 kB / 1.208 GB, free: 235.3 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 (0): * Single equations (assignments): 0 * 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.001325/1.293, allocations: 1.284 MB / 1.209 GB, free: 234.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.684e-05/1.293, allocations: 9.125 kB / 1.209 GB, free: 234.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.293, allocations: 0 / 1.209 GB, free: 234.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/1.293, allocations: 3.938 kB / 1.209 GB, free: 234.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/1.294, allocations: 0.5251 MB / 1.21 GB, free: 233.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/1.294, allocations: 245.8 kB / 1.21 GB, free: 233.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/1.294, allocations: 0.6805 MB / 1.211 GB, free: 232.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.813e-05/1.294, allocations: 3.938 kB / 1.211 GB, free: 232.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/1.295, allocations: 12.12 kB / 1.211 GB, free: 232.8 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/1.295, allocations: 4 kB / 1.211 GB, free: 232.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/1.324, allocations: 9.79 MB / 1.22 GB, free: 227.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/1.324, allocations: 198.6 kB / 1.221 GB, free: 227 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/3.14, allocations: 0 / 1.221 GB, free: 227 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)