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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.001191/0.001191, allocations: 177.3 kB / 15.94 MB, free: 228 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.379/1.379, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9713/0.9713, allocations: 135.2 MB / 426.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003668, allocations: 12.62 kB / 0.5069 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2102, allocations: 82.31 MB / 0.5873 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4811/0.6914, allocations: 114.3 MB / 0.6989 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006756/0.6921, allocations: 488.9 kB / 0.6993 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.6921, allocations: 0.9688 kB / 0.6993 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.6923, allocations: 4.688 kB / 0.6993 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.6923, allocations: 6.25 kB / 0.6994 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.6931, allocations: 201.8 kB / 0.6995 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.597e-05/0.6931, allocations: 22.03 kB / 0.6996 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.6932, allocations: 6.234 kB / 0.6996 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.13e-05/0.6932, allocations: 13.05 kB / 0.6996 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.6933, allocations: 5.891 kB / 0.6996 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.6933, allocations: 5.5 kB / 0.6996 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.6938, allocations: 179.6 kB / 0.6998 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.6938, allocations: 9.281 kB / 0.6998 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.6939, allocations: 32.48 kB / 0.6998 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.6942, allocations: 91.69 kB / 0.6999 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6942, allocations: 0 / 0.6999 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6942, allocations: 0 / 0.6999 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.6942, allocations: 0.9688 kB / 0.6999 GB, free: 10.24 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.0004527/0.6946, allocations: 353.8 kB / 0.7002 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.6947, allocations: 13.34 kB / 0.7002 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.6947, allocations: 36.47 kB / 0.7003 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.6948, allocations: 1.688 kB / 0.7003 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.6949, allocations: 164.7 kB / 0.7004 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-05/0.695, allocations: 28.28 kB / 0.7005 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.695, allocations: 5.484 kB / 0.7005 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.6951, allocations: 46.86 kB / 0.7005 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.6952, allocations: 0 / 0.7005 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.6952, allocations: 3.062 kB / 0.7005 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.6952, allocations: 13.27 kB / 0.7005 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.757e-05/0.6953, allocations: 13 kB / 0.7005 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007687/0.696, allocations: 0.5917 MB / 0.7011 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.974e-05/0.6961, allocations: 20.41 kB / 0.7011 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.6963, allocations: 336.1 kB / 0.7015 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.6964, allocations: 31.88 kB / 0.7015 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.6964, allocations: 0 / 0.7015 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001553/0.6965, allocations: 38.62 kB / 0.7015 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.6966, allocations: 56.89 kB / 0.7016 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.6967, allocations: 106.3 kB / 0.7017 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.6967, allocations: 25.7 kB / 0.7017 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.6967, allocations: 82.12 kB / 0.7018 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-06/0.6968, allocations: 13.78 kB / 0.7018 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.6968, allocations: 4 kB / 0.7018 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6969, allocations: 312.6 kB / 0.7021 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.6969, allocations: 3.375 kB / 0.7021 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.6969, allocations: 16.52 kB / 0.7021 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.145e-05/0.697, allocations: 7.672 kB / 0.7021 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.697, allocations: 1.188 kB / 0.7021 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.682e-05/0.6971, allocations: 53.2 kB / 0.7022 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.6971, allocations: 5.312 kB / 0.7022 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.6971, allocations: 2.25 kB / 0.7022 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.6971, allocations: 0 / 0.7022 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.738e-05/0.6972, allocations: 5.641 kB / 0.7022 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6972, allocations: 2.031 kB / 0.7022 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.6972, allocations: 5.141 kB / 0.7022 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.6972, allocations: 3.281 kB / 0.7022 GB, free: 7.73 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.005e-05/0.6973, allocations: 112.9 kB / 0.7023 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.6973, allocations: 5 kB / 0.7023 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.6975, allocations: 126.4 kB / 0.7024 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.317e-05/0.6976, allocations: 181 kB / 0.7026 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-05/0.6976, allocations: 181.9 kB / 0.7028 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-05/0.6977, allocations: 179 kB / 0.703 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.698, allocations: 415.7 kB / 0.7033 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.964e-05/0.698, allocations: 103.1 kB / 0.7034 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.6981, allocations: 101.5 kB / 0.7035 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.338e-05/0.6982, allocations: 190.4 kB / 0.7037 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.288e-05/0.6982, allocations: 178.8 kB / 0.7039 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.288e-05/0.6983, allocations: 188.9 kB / 0.7041 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.902e-05/0.6984, allocations: 178.1 kB / 0.7042 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.6985, allocations: 306 kB / 0.7045 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.6986, allocations: 185.9 kB / 0.7047 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.182e-05/0.6987, allocations: 182.5 kB / 0.7049 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.6989, allocations: 112.3 kB / 0.705 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.699, allocations: 177.3 kB / 0.7052 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.699, allocations: 106 kB / 0.7053 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.748e-05/0.699, allocations: 86.72 kB / 0.7053 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6991, allocations: 0 / 0.7053 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003369/0.6994, allocations: 55.61 kB / 0.7054 GB, free: 4.336 MB / 0.5294 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.0005886/0.7, allocations: 0.8849 MB / 0.7063 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.179e-05/0.7001, allocations: 11.22 kB / 0.7063 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7001, allocations: 1.188 kB / 0.7063 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.7001, allocations: 1.078 kB / 0.7063 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.7005, allocations: 0.5235 MB / 0.7068 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.7009, allocations: 254 kB / 0.707 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.7013, allocations: 0.6767 MB / 0.7077 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.511e-05/0.7013, allocations: 10.67 kB / 0.7077 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.7013, allocations: 9.688 kB / 0.7077 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.7013, allocations: 0 / 0.7077 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.7162, allocations: 1.943 MB / 0.7096 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.7164, allocations: 179.9 kB / 0.7098 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.483, allocations: 4 kB / 0.7098 GB, free: 1.535 MB / 0.5294 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) Environment - environmentSimulation: