Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_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.000799/0.0008033, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008476/0.0008476, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7364/0.7364, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003605, allocations: 8 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4351, allocations: 81.58 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1407/0.5758, allocations: 122.6 MB / 0.7029 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001378/0.576, allocations: 47.91 kB / 0.7029 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.576, allocations: 4 kB / 0.7029 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.211e-05/0.5761, allocations: 7.922 kB / 0.7029 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.5762, allocations: 7.984 kB / 0.7029 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000853/0.577, allocations: 193.5 kB / 0.7031 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.446e-05/0.5771, allocations: 47.83 kB / 0.7031 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.124e-05/0.5772, allocations: 4 kB / 0.7032 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.322e-05/0.5772, allocations: 8 kB / 0.7032 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.5773, allocations: 15.91 kB / 0.7032 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.5773, allocations: 4 kB / 0.7032 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.5777, allocations: 159.6 kB / 0.7033 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.5778, allocations: 7.984 kB / 0.7033 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.5778, allocations: 29.64 kB / 0.7034 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.5781, allocations: 106.1 kB / 0.7035 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5781, allocations: 4 kB / 0.7035 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5781, allocations: 3.938 kB / 0.7035 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.5781, allocations: 0 / 0.7035 GB, free: 4.973 MB / 0.5294 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.0003378/0.5784, allocations: 359.2 kB / 0.7038 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.5785, allocations: 8.031 kB / 0.7038 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.5785, allocations: 42.55 kB / 0.7039 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.5786, allocations: 3.953 kB / 0.7039 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.418e-05/0.5787, allocations: 159.1 kB / 0.704 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.5787, allocations: 33.7 kB / 0.7041 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.5788, allocations: 0 / 0.7041 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.5789, allocations: 45.67 kB / 0.7041 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.5789, allocations: 0 / 0.7041 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.5789, allocations: 4 kB / 0.7041 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.5789, allocations: 0 / 0.7041 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.579, allocations: 19.88 kB / 0.7041 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007175/0.5797, allocations: 0.599 MB / 0.7047 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.453e-05/0.5798, allocations: 14.58 kB / 0.7047 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.372e-05/0.5798, allocations: 12.86 kB / 0.7047 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.58, allocations: 332.4 kB / 0.705 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.58, allocations: 30.56 kB / 0.7051 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.58, allocations: 8 kB / 0.7051 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000124/0.5802, allocations: 41.59 kB / 0.7051 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.5802, allocations: 55.39 kB / 0.7052 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.436e-05/0.5803, allocations: 105.8 kB / 0.7053 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.5803, allocations: 25.7 kB / 0.7053 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.5803, allocations: 80.14 kB / 0.7054 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/0.5804, allocations: 11.83 kB / 0.7054 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.5804, allocations: 0 / 0.7054 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.5805, allocations: 319 kB / 0.7057 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.5805, allocations: 4 kB / 0.7057 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.5805, allocations: 13.72 kB / 0.7057 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.034e-05/0.5805, allocations: 7.984 kB / 0.7057 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5805, allocations: 0 / 0.7057 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.471e-05/0.5806, allocations: 45.64 kB / 0.7058 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.5806, allocations: 8 kB / 0.7058 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5807, allocations: 4.062 kB / 0.7058 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.5807, allocations: 7.938 kB / 0.7058 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.946e-05/0.5807, allocations: 4 kB / 0.7058 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.5807, allocations: 4 kB / 0.7058 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.5808, allocations: 0 / 0.7058 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.5808, allocations: 3.938 kB / 0.7058 GB, free: 2.211 MB / 0.5294 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 9.457e-05/0.5809, allocations: 113.8 kB / 0.7059 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.5809, allocations: 0 / 0.7059 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.581, allocations: 128.8 kB / 0.706 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.836e-05/0.5811, allocations: 184.2 kB / 0.7062 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.674e-05/0.5811, allocations: 184.3 kB / 0.7064 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-05/0.5812, allocations: 180.3 kB / 0.7065 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.5814, allocations: 409.1 kB / 0.7069 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.33e-05/0.5814, allocations: 117 kB / 0.707 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.5815, allocations: 105.2 kB / 0.7071 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.186e-05/0.5815, allocations: 176.3 kB / 0.7073 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.477e-05/0.5816, allocations: 176.3 kB / 0.7075 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.448e-05/0.5817, allocations: 184.2 kB / 0.7077 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.005e-05/0.5817, allocations: 184.2 kB / 0.7078 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.5819, allocations: 315.7 kB / 0.7081 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.582, allocations: 178.1 kB / 0.7083 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.582, allocations: 188.2 kB / 0.7085 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.5822, allocations: 109 kB / 0.7086 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.5823, allocations: 184.2 kB / 0.7088 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.5823, allocations: 108.9 kB / 0.7089 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.749e-05/0.5824, allocations: 87.28 kB / 0.709 GB, free: 14.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5824, allocations: 0 / 0.709 GB, free: 14.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002965/0.5827, allocations: 51.92 kB / 0.709 GB, free: 14.7 MB / 0.545 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.0005224/0.5832, allocations: 0.875 MB / 0.7099 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.194e-05/0.5833, allocations: 12 kB / 0.7099 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5833, allocations: 4.125 kB / 0.7099 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/0.5833, allocations: 4 kB / 0.7099 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.5836, allocations: 0.5185 MB / 0.7104 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.5841, allocations: 253.3 kB / 0.7106 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.5843, allocations: 0.677 MB / 0.7113 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.335e-05/0.5844, allocations: 11.56 kB / 0.7113 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.5844, allocations: 11.38 kB / 0.7113 GB, free: 12.25 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5844, allocations: 0 / 0.7113 GB, free: 12.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01141/0.5958, allocations: 1.948 MB / 0.7132 GB, free: 10.45 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.596, allocations: 181 kB / 0.7134 GB, free: 10.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.294, allocations: 0 / 0.7134 GB, free: 10.21 MB / 0.545 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: