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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008451/0.008451, allocations: 169.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7519/0.7519, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 406.8 MB, free: 3.262 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.0008955/0.0008952, allocations: 100.5 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004216, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4331, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.69, allocations: 418 MB / 1.058 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/1.69, allocations: 81.02 kB / 1.058 GB, free: 236.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04657/1.737, allocations: 23.5 MB / 1.081 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/1.737, allocations: 0 / 1.081 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.245e-06/1.737, allocations: 0 / 1.081 GB, free: 230.7 MB / 0.6823 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.0003925/1.737, allocations: 366.6 kB / 1.081 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.738, allocations: 10.38 kB / 1.081 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/1.738, allocations: 30.56 kB / 1.081 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/1.738, allocations: 19.11 kB / 1.081 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.023e-05/1.738, allocations: 166.5 kB / 1.081 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/1.738, allocations: 28.86 kB / 1.081 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/1.738, allocations: 0 / 1.081 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/1.738, allocations: 40.52 kB / 1.081 GB, free: 230 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.738, allocations: 0 / 1.081 GB, free: 230 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/1.738, allocations: 11.44 kB / 1.081 GB, free: 230 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/1.738, allocations: 0 / 1.081 GB, free: 230 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.489e-05/1.738, allocations: 18.83 kB / 1.081 GB, free: 230 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/1.739, allocations: 0.587 MB / 1.082 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.697e-05/1.739, allocations: 21.64 kB / 1.082 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/1.739, allocations: 0.4902 MB / 1.083 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/1.739, allocations: 38.5 kB / 1.083 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/1.739, allocations: 0 / 1.083 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001415/1.739, allocations: 47.31 kB / 1.083 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/1.739, allocations: 51.41 kB / 1.083 GB, free: 228.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/1.739, allocations: 95.22 kB / 1.083 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/1.739, allocations: 29.7 kB / 1.083 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/1.739, allocations: 87.98 kB / 1.083 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.432e-06/1.739, allocations: 11.31 kB / 1.083 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/1.739, allocations: 0 / 1.083 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.049e-05/1.739, allocations: 310.8 kB / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/1.739, allocations: 7.969 kB / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.017e-05/1.739, allocations: 21.14 kB / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.985e-05/1.739, allocations: 3.969 kB / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.739, allocations: 0 / 1.083 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.463e-05/1.739, allocations: 49.05 kB / 1.083 GB, free: 228 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.739, allocations: 3.969 kB / 1.083 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.74, allocations: 3.906 kB / 1.083 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.74, allocations: 0 / 1.083 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/1.74, allocations: 11.86 kB / 1.083 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/1.74, allocations: 3.703 kB / 1.083 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/1.74, allocations: 0 / 1.083 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/1.74, allocations: 3.719 kB / 1.083 GB, free: 228 MB / 0.6823 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.068e-05/1.74, allocations: 109.8 kB / 1.083 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/1.74, allocations: 8.031 kB / 1.083 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/1.74, allocations: 116.6 kB / 1.083 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/1.74, allocations: 184.2 kB / 1.084 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-05/1.74, allocations: 184.2 kB / 1.084 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/1.74, allocations: 184.1 kB / 1.084 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/1.74, allocations: 404.7 kB / 1.084 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.74, allocations: 101 kB / 1.085 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/1.74, allocations: 116.6 kB / 1.085 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.202e-05/1.74, allocations: 176.3 kB / 1.085 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/1.74, allocations: 180.2 kB / 1.085 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.276e-05/1.74, allocations: 176.3 kB / 1.085 GB, free: 226 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.221e-05/1.74, allocations: 188.3 kB / 1.085 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.226e-05/1.74, allocations: 315.6 kB / 1.086 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/1.74, allocations: 183.7 kB / 1.086 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/1.741, allocations: 187.6 kB / 1.086 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/1.741, allocations: 112.8 kB / 1.086 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/1.741, allocations: 184.1 kB / 1.086 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/1.741, allocations: 104.5 kB / 1.086 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3e-05/1.741, allocations: 79.25 kB / 1.086 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.741, allocations: 0 / 1.086 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004616/1.741, allocations: 98.06 kB / 1.087 GB, free: 224.6 MB / 0.6823 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.0008695/1.742, allocations: 1.269 MB / 1.088 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.656e-05/1.742, allocations: 11.38 kB / 1.088 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.742, allocations: 0 / 1.088 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/1.742, allocations: 3.938 kB / 1.088 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/1.743, allocations: 0.526 MB / 1.088 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/1.743, allocations: 246.5 kB / 1.089 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/1.743, allocations: 0.6807 MB / 1.089 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.966e-05/1.743, allocations: 3.875 kB / 1.089 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/1.743, allocations: 11.44 kB / 1.089 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/1.743, allocations: 0 / 1.089 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/1.766, allocations: 9.764 MB / 1.099 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/1.766, allocations: 170.4 kB / 1.099 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/3.508, allocations: 0 / 1.099 GB, free: 219.6 MB / 0.6823 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)