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.8107/0.8107, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001027, allocations: 180.9 kB / 187.3 MB, free: 11.89 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.5/1.5, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.001122/0.001122, allocations: 97.42 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001926/0.001926, allocations: 272.4 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.041e-05/4.078e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4709, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8951/1.366, allocations: 415.3 MB / 1.17 GB, free: 8.906 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.366, allocations: 67.53 kB / 1.17 GB, free: 8.875 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5174/1.884, allocations: 23.43 MB / 1.193 GB, free: 238.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.923e-06/1.884, allocations: 0 / 1.193 GB, free: 238.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.632e-06/1.884, allocations: 0 / 1.193 GB, free: 238.9 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003305/1.884, allocations: 362.9 kB / 1.193 GB, free: 238.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.884, allocations: 11.81 kB / 1.193 GB, free: 238.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/1.884, allocations: 30.56 kB / 1.193 GB, free: 238.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/1.884, allocations: 0 / 1.193 GB, free: 238.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.346e-05/1.884, allocations: 174.9 kB / 1.193 GB, free: 238.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/1.884, allocations: 25.7 kB / 1.193 GB, free: 238.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/1.884, allocations: 0 / 1.193 GB, free: 238.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/1.885, allocations: 45.34 kB / 1.194 GB, free: 238.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.885, allocations: 3.906 kB / 1.194 GB, free: 238.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/1.885, allocations: 0 / 1.194 GB, free: 238.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/1.885, allocations: 3.703 kB / 1.194 GB, free: 238.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/1.885, allocations: 11.94 kB / 1.194 GB, free: 238.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/1.885, allocations: 0.6049 MB / 1.194 GB, free: 237.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.06e-05/1.885, allocations: 18.52 kB / 1.194 GB, free: 237.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/1.885, allocations: 8.797 kB / 1.194 GB, free: 237.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/1.885, allocations: 0.5018 MB / 1.195 GB, free: 237 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/1.886, allocations: 30.56 kB / 1.195 GB, free: 236.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/1.886, allocations: 0 / 1.195 GB, free: 236.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001286/1.886, allocations: 41.09 kB / 1.195 GB, free: 236.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/1.886, allocations: 59.31 kB / 1.195 GB, free: 236.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.175e-05/1.886, allocations: 96.92 kB / 1.195 GB, free: 236.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/1.886, allocations: 25.7 kB / 1.195 GB, free: 236.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/1.886, allocations: 87.89 kB / 1.195 GB, free: 236.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/1.886, allocations: 11.88 kB / 1.195 GB, free: 236.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/1.886, allocations: 4 kB / 1.195 GB, free: 236.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.871e-05/1.886, allocations: 310.8 kB / 1.195 GB, free: 236.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/1.886, allocations: 3.969 kB / 1.195 GB, free: 236.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/1.886, allocations: 13.69 kB / 1.195 GB, free: 236.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.849e-05/1.886, allocations: 11.64 kB / 1.195 GB, free: 236.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.886, allocations: 0 / 1.195 GB, free: 236.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.629e-05/1.886, allocations: 49.31 kB / 1.195 GB, free: 236.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.886, allocations: 5.219 kB / 1.195 GB, free: 236.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/1.886, allocations: 3.969 kB / 1.195 GB, free: 236.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/1.886, allocations: 0 / 1.195 GB, free: 236.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.193e-05/1.886, allocations: 3.969 kB / 1.195 GB, free: 236.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.886, allocations: 0 / 1.195 GB, free: 236.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/1.886, allocations: 0 / 1.195 GB, free: 236.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/1.886, allocations: 8.438 kB / 1.195 GB, free: 236.2 MB / 0.698 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 () * 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 4.827e-05/1.886, allocations: 109 kB / 1.195 GB, free: 236.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/1.886, allocations: 7.875 kB / 1.195 GB, free: 236.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.616e-05/1.886, allocations: 116.7 kB / 1.196 GB, free: 236 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/1.886, allocations: 180.2 kB / 1.196 GB, free: 235.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.172e-05/1.886, allocations: 188.1 kB / 1.196 GB, free: 235.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-05/1.886, allocations: 184 kB / 1.196 GB, free: 235.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/1.887, allocations: 409 kB / 1.197 GB, free: 235 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/1.887, allocations: 108.9 kB / 1.197 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/1.887, allocations: 101 kB / 1.197 GB, free: 234.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.79e-05/1.887, allocations: 184.2 kB / 1.197 GB, free: 234.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/1.887, allocations: 176.3 kB / 1.197 GB, free: 234.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.773e-05/1.887, allocations: 184.2 kB / 1.197 GB, free: 234.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.612e-05/1.887, allocations: 184.3 kB / 1.197 GB, free: 234 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.269e-05/1.887, allocations: 311.6 kB / 1.198 GB, free: 233.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/1.887, allocations: 182 kB / 1.198 GB, free: 233.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/1.887, allocations: 180.3 kB / 1.198 GB, free: 233.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/1.887, allocations: 112.8 kB / 1.198 GB, free: 233.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/1.887, allocations: 184 kB / 1.198 GB, free: 233 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/1.887, allocations: 106.5 kB / 1.198 GB, free: 232.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.045e-05/1.887, allocations: 87.19 kB / 1.199 GB, free: 232.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.887, allocations: 0 / 1.199 GB, free: 232.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003629/1.888, allocations: 83.38 kB / 1.199 GB, free: 232.8 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 (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.0008166/1.888, allocations: 1.285 MB / 1.2 GB, free: 231.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.693e-05/1.888, allocations: 11.75 kB / 1.2 GB, free: 231.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.888, allocations: 0 / 1.2 GB, free: 231.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/1.889, allocations: 0 / 1.2 GB, free: 231.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/1.889, allocations: 0.526 MB / 1.2 GB, free: 231.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/1.889, allocations: 188.5 kB / 1.201 GB, free: 231.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/1.889, allocations: 0.6766 MB / 1.201 GB, free: 230.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.873e-05/1.889, allocations: 7.844 kB / 1.201 GB, free: 230.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/1.889, allocations: 23 kB / 1.201 GB, free: 230.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/1.889, allocations: 0 / 1.201 GB, free: 230.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/1.91, allocations: 11.27 MB / 1.212 GB, free: 229.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/1.91, allocations: 169.5 kB / 1.212 GB, free: 229.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/3.865, allocations: 0 / 1.212 GB, free: 229.3 MB / 0.698 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)