Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.001513/0.001513, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8223/0.8223, allocations: 133.6 MB / 141.6 MB, free: 2.852 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.699/1.699, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009193/0.0009194, allocations: 107.7 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.02e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.5175, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.519, allocations: 417.3 MB / 1.041 GB, free: 1.27 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/1.519, allocations: 76.02 kB / 1.042 GB, free: 1.23 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5574/2.077, allocations: 22.99 MB / 1.064 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.216e-06/2.077, allocations: 0 / 1.064 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.218e-05/2.077, allocations: 0.7812 kB / 1.064 GB, free: 227.5 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.0005033/2.077, allocations: 367.5 kB / 1.064 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/2.077, allocations: 10.47 kB / 1.064 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/2.077, allocations: 6.75 kB / 1.064 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/2.078, allocations: 162 kB / 1.064 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.439e-05/2.078, allocations: 30.78 kB / 1.065 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/2.078, allocations: 1.406 kB / 1.065 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001147/2.078, allocations: 10.86 kB / 1.065 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/2.078, allocations: 40.66 kB / 1.065 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/2.078, allocations: 0.8438 kB / 1.065 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/2.078, allocations: 2.844 kB / 1.065 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/2.078, allocations: 5.281 kB / 1.065 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008966/2.079, allocations: 0.5769 MB / 1.065 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.057e-05/2.079, allocations: 23.64 kB / 1.065 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/2.079, allocations: 5.609 kB / 1.065 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000403/2.079, allocations: 0.495 MB / 1.066 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/2.079, allocations: 34.55 kB / 1.066 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.884e-06/2.08, allocations: 0.9062 kB / 1.066 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0003425/2.08, allocations: 41.38 kB / 1.066 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/2.08, allocations: 53.05 kB / 1.066 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/2.08, allocations: 97.45 kB / 1.066 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/2.08, allocations: 29.72 kB / 1.066 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/2.08, allocations: 87.56 kB / 1.066 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/2.08, allocations: 4.391 kB / 1.066 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/2.08, allocations: 0 / 1.066 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.287e-05/2.08, allocations: 316.6 kB / 1.066 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/2.08, allocations: 3.578 kB / 1.066 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.875e-05/2.08, allocations: 19.73 kB / 1.066 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/2.08, allocations: 17.5 kB / 1.066 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/2.08, allocations: 0 / 1.066 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002465/2.081, allocations: 66.17 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/2.081, allocations: 10.83 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/2.081, allocations: 1.875 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/2.081, allocations: 1.812 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/2.081, allocations: 5.188 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/2.081, allocations: 1.531 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/2.081, allocations: 0.6562 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/2.081, allocations: 2.672 kB / 1.066 GB, free: 225 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 () * 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 7.341e-05/2.081, allocations: 111.9 kB / 1.067 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001653/2.081, allocations: 44.39 kB / 1.067 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/2.081, allocations: 2.234 kB / 1.067 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/2.081, allocations: 119.3 kB / 1.067 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-05/2.081, allocations: 180.2 kB / 1.067 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.042e-05/2.081, allocations: 181.8 kB / 1.067 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.811e-05/2.081, allocations: 178.3 kB / 1.067 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/2.082, allocations: 397.4 kB / 1.068 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/2.082, allocations: 106.1 kB / 1.068 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/2.082, allocations: 104.7 kB / 1.068 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.91e-05/2.082, allocations: 180.3 kB / 1.068 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/2.082, allocations: 180.4 kB / 1.068 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.78e-05/2.082, allocations: 183 kB / 1.068 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.547e-05/2.082, allocations: 181 kB / 1.068 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/2.082, allocations: 310.8 kB / 1.069 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/2.082, allocations: 188 kB / 1.069 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/2.082, allocations: 180.3 kB / 1.069 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/2.082, allocations: 106.6 kB / 1.069 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/2.082, allocations: 182.5 kB / 1.069 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/2.082, allocations: 102.2 kB / 1.069 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.297e-05/2.082, allocations: 87.58 kB / 1.07 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.8e-07/2.083, allocations: 0.7812 kB / 1.07 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004951/2.083, allocations: 79.94 kB / 1.07 GB, free: 221.7 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 () * 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.001859/2.085, allocations: 1.363 MB / 1.071 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001176/2.085, allocations: 8.734 kB / 1.071 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/2.085, allocations: 0.7188 kB / 1.071 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.941e-06/2.085, allocations: 0.875 kB / 1.071 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/2.085, allocations: 0.5296 MB / 1.072 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/2.086, allocations: 193.3 kB / 1.072 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/2.086, allocations: 0.6812 MB / 1.072 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.544e-05/2.086, allocations: 5.484 kB / 1.072 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/2.086, allocations: 13 kB / 1.072 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/2.086, allocations: 0 / 1.072 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/2.118, allocations: 5.37 MB / 1.078 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/2.118, allocations: 137.5 kB / 1.078 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/3.889, allocations: 4 kB / 1.078 GB, free: 218.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)