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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007179/0.007179, allocations: 98.55 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 194.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002525/0.002525, allocations: 278.9 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002622/0.002622, allocations: 99.78 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1546, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4466/0.6013, allocations: 135.4 MB / 0.8981 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001628/0.6015, allocations: 52.88 kB / 0.8982 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.216e-05/0.6015, allocations: 0 / 0.8982 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.6016, allocations: 7.984 kB / 0.8982 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.6018, allocations: 9.797 kB / 0.8982 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007854/0.6025, allocations: 243 kB / 0.8984 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.673e-05/0.6026, allocations: 31.86 kB / 0.8985 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.6027, allocations: 4 kB / 0.8985 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.6027, allocations: 19.8 kB / 0.8985 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.6028, allocations: 11.94 kB / 0.8985 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.6028, allocations: 4 kB / 0.8985 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.6033, allocations: 239.5 kB / 0.8987 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.6033, allocations: 11.98 kB / 0.8987 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.6033, allocations: 11.92 kB / 0.8987 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.6037, allocations: 185.8 kB / 0.8989 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.6037, allocations: 4 kB / 0.8989 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6037, allocations: 3.938 kB / 0.8989 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.6037, allocations: 0 / 0.8989 GB, free: 10.97 MB / 0.6544 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.0004135/0.6041, allocations: 359.2 kB / 0.8993 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.6042, allocations: 16.02 kB / 0.8993 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.6042, allocations: 30.75 kB / 0.8993 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.6042, allocations: 0.9375 kB / 0.8993 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.6044, allocations: 164.3 kB / 0.8995 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.6044, allocations: 42.19 kB / 0.8995 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.6044, allocations: 10.56 kB / 0.8995 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.6046, allocations: 41.69 kB / 0.8996 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.6046, allocations: 0.5 kB / 0.8996 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.6046, allocations: 4 kB / 0.8996 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.6046, allocations: 0 / 0.8996 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.299e-05/0.6047, allocations: 15.98 kB / 0.8996 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007674/0.6054, allocations: 0.595 MB / 0.9002 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.795e-05/0.6055, allocations: 26.5 kB / 0.9002 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.6055, allocations: 4.859 kB / 0.9002 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.6057, allocations: 340.5 kB / 0.9005 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.6058, allocations: 34.12 kB / 0.9006 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.6058, allocations: 0 / 0.9006 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.6059, allocations: 41.66 kB / 0.9006 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.606, allocations: 55.34 kB / 0.9006 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.154e-05/0.6061, allocations: 101.8 kB / 0.9007 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.6061, allocations: 25.7 kB / 0.9008 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.6061, allocations: 88.09 kB / 0.9009 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.146e-06/0.6062, allocations: 4 kB / 0.9009 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.6062, allocations: 17.66 kB / 0.9009 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6063, allocations: 318.8 kB / 0.9012 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.6064, allocations: 8.125 kB / 0.9012 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.39e-05/0.6064, allocations: 17.72 kB / 0.9012 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.6064, allocations: 21.7 kB / 0.9012 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6064, allocations: 0 / 0.9012 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.856e-05/0.6065, allocations: 45.64 kB / 0.9013 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.6065, allocations: 4 kB / 0.9013 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.6065, allocations: 8.047 kB / 0.9013 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.6066, allocations: 0 / 0.9013 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.283e-05/0.6066, allocations: 12.22 kB / 0.9013 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.6066, allocations: 1.562 kB / 0.9013 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.6067, allocations: 7.953 kB / 0.9013 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.6067, allocations: 3.938 kB / 0.9013 GB, free: 8.156 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/0.6067, allocations: 118.4 kB / 0.9014 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.6068, allocations: 0 / 0.9014 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.6069, allocations: 126 kB / 0.9015 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.563e-05/0.607, allocations: 180.3 kB / 0.9017 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-05/0.6071, allocations: 188.2 kB / 0.9019 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.939e-05/0.6071, allocations: 176.3 kB / 0.9021 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.6074, allocations: 413.1 kB / 0.9024 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.244e-05/0.6075, allocations: 109 kB / 0.9026 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.6075, allocations: 104.9 kB / 0.9027 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.932e-05/0.6076, allocations: 176.3 kB / 0.9028 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.098e-05/0.6077, allocations: 180.3 kB / 0.903 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.106e-05/0.6077, allocations: 180.2 kB / 0.9032 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.292e-05/0.6078, allocations: 180.3 kB / 0.9033 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.608, allocations: 311.7 kB / 0.9036 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.6081, allocations: 182.1 kB / 0.9038 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.973e-05/0.6082, allocations: 192.2 kB / 0.904 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.6083, allocations: 108.5 kB / 0.9041 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.6084, allocations: 184.2 kB / 0.9043 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.6085, allocations: 101 kB / 0.9044 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.087e-05/0.6085, allocations: 91.2 kB / 0.9045 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6085, allocations: 0 / 0.9045 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003822/0.6089, allocations: 55.75 kB / 0.9045 GB, free: 4.656 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006113/0.6095, allocations: 0.8877 MB / 0.9054 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.645e-05/0.6096, allocations: 12 kB / 0.9054 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6096, allocations: 4.125 kB / 0.9054 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.6096, allocations: 0 / 0.9054 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.6101, allocations: 455.7 kB / 0.9058 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.6112, allocations: 1.362 MB / 0.9072 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.6115, allocations: 0.6729 MB / 0.9078 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.644e-05/0.6115, allocations: 10.08 kB / 0.9078 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.6116, allocations: 7.438 kB / 0.9078 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6116, allocations: 0 / 0.9078 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4876/1.099, allocations: 2.234 MB / 0.91 GB, free: 15.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/15.01, allocations: 10.38 kB / 0.91 GB, free: 15.02 MB / 0.67 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/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)