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.00143/0.00143, allocations: 172.9 kB / 7.646 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.8615/0.8615, allocations: 133.5 MB / 141.6 MB, free: 2.902 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.719/1.719, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0009127/0.0009125, allocations: 100.7 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.07e-05, allocations: 4 kB / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5693/0.5694, allocations: 82.31 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.984/1.553, allocations: 417.3 MB / 1.041 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/1.554, allocations: 71.84 kB / 1.042 GB, free: 1.254 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5839/2.138, allocations: 22.99 MB / 1.064 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.725e-06/2.138, allocations: 0.875 kB / 1.064 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.043e-05/2.138, allocations: 0 / 1.064 GB, free: 227.3 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.0004712/2.138, allocations: 367.2 kB / 1.064 GB, free: 227 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/2.138, allocations: 9.625 kB / 1.064 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/2.138, allocations: 7.078 kB / 1.064 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/2.138, allocations: 161.2 kB / 1.064 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.08e-05/2.139, allocations: 31.45 kB / 1.065 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/2.139, allocations: 3.938 kB / 1.065 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001163/2.139, allocations: 12.25 kB / 1.065 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/2.139, allocations: 43.31 kB / 1.065 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/2.139, allocations: 0 / 1.065 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/2.139, allocations: 0 / 1.065 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/2.139, allocations: 8.984 kB / 1.065 GB, free: 226.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/2.14, allocations: 0.5754 MB / 1.065 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.887e-05/2.14, allocations: 17.61 kB / 1.065 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/2.14, allocations: 10.58 kB / 1.065 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003747/2.14, allocations: 0.4949 MB / 1.066 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/2.14, allocations: 32.62 kB / 1.066 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/2.14, allocations: 0 / 1.066 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0004022/2.141, allocations: 38.62 kB / 1.066 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/2.141, allocations: 54.86 kB / 1.066 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/2.141, allocations: 95.16 kB / 1.066 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/2.141, allocations: 25.7 kB / 1.066 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/2.141, allocations: 94.39 kB / 1.066 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.655e-06/2.141, allocations: 4.016 kB / 1.066 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/2.141, allocations: 0 / 1.066 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/2.141, allocations: 316.2 kB / 1.066 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/2.141, allocations: 5.422 kB / 1.066 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.08e-05/2.141, allocations: 16.67 kB / 1.066 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/2.141, allocations: 21.16 kB / 1.066 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/2.141, allocations: 2.844 kB / 1.066 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002645/2.142, allocations: 61.64 kB / 1.066 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/2.142, allocations: 4.938 kB / 1.066 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/2.142, allocations: 4.688 kB / 1.066 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/2.142, allocations: 0.75 kB / 1.066 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.409e-05/2.142, allocations: 10 kB / 1.066 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/2.142, allocations: 0.75 kB / 1.066 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/2.142, allocations: 4.359 kB / 1.066 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/2.142, allocations: 4.312 kB / 1.066 GB, free: 224.8 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.53e-05/2.142, allocations: 107.2 kB / 1.067 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001826/2.142, allocations: 43.98 kB / 1.067 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/2.142, allocations: 1.938 kB / 1.067 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/2.142, allocations: 122.5 kB / 1.067 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.835e-05/2.142, allocations: 177.7 kB / 1.067 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.861e-05/2.142, allocations: 184 kB / 1.067 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-05/2.143, allocations: 178.2 kB / 1.067 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/2.143, allocations: 388.3 kB / 1.068 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/2.143, allocations: 109.2 kB / 1.068 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/2.143, allocations: 106.5 kB / 1.068 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.511e-05/2.143, allocations: 180.9 kB / 1.068 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/2.143, allocations: 178.2 kB / 1.068 GB, free: 223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.684e-05/2.143, allocations: 180.5 kB / 1.068 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.351e-05/2.143, allocations: 180.2 kB / 1.068 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/2.143, allocations: 315.1 kB / 1.069 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/2.143, allocations: 183.9 kB / 1.069 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/2.143, allocations: 180.5 kB / 1.069 GB, free: 222 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/2.143, allocations: 110.2 kB / 1.069 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/2.143, allocations: 184.1 kB / 1.069 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/2.144, allocations: 106.5 kB / 1.069 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.856e-05/2.144, allocations: 81.83 kB / 1.07 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/2.144, allocations: 0 / 1.07 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005632/2.144, allocations: 86.5 kB / 1.07 GB, free: 221.5 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.001686/2.146, allocations: 1.357 MB / 1.071 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.32e-05/2.146, allocations: 11.14 kB / 1.071 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/2.146, allocations: 0 / 1.071 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/2.146, allocations: 1.766 kB / 1.071 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/2.146, allocations: 0.5255 MB / 1.072 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/2.147, allocations: 197.4 kB / 1.072 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/2.147, allocations: 0.6792 MB / 1.072 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.175e-05/2.147, allocations: 4.234 kB / 1.072 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/2.147, allocations: 10.44 kB / 1.072 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/2.147, allocations: 2.25 kB / 1.072 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/2.181, allocations: 5.365 MB / 1.078 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/2.182, allocations: 132.5 kB / 1.078 GB, free: 218.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/4.015, allocations: 0 / 1.078 GB, free: 218.5 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)