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.007346/0.007346, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001215/0.001215, allocations: 190.1 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8009/0.8009, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.95 kB / 0.5851 GB, free: 22.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1541, allocations: 80.93 MB / 0.6641 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5153/0.6694, allocations: 135.4 MB / 0.7964 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001556/0.6696, allocations: 48.31 kB / 0.7964 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.6697, allocations: 1.219 kB / 0.7964 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.6698, allocations: 10.47 kB / 0.7964 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.6699, allocations: 11.16 kB / 0.7965 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.6707, allocations: 237.1 kB / 0.7967 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.265e-05/0.6708, allocations: 42.36 kB / 0.7967 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.6708, allocations: 3.125 kB / 0.7967 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.392e-05/0.6709, allocations: 14.34 kB / 0.7967 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.6709, allocations: 15.33 kB / 0.7967 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.6709, allocations: 1.344 kB / 0.7968 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.6714, allocations: 247 kB / 0.797 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.6714, allocations: 8.359 kB / 0.797 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.6715, allocations: 10.14 kB / 0.797 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.6718, allocations: 195 kB / 0.7972 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6718, allocations: 1.156 kB / 0.7972 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6718, allocations: 5.781 kB / 0.7972 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.6718, allocations: 0 / 0.7972 GB, free: 12.43 MB / 0.5919 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.0004138/0.6722, allocations: 354.5 kB / 0.7975 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.6723, allocations: 11.39 kB / 0.7975 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.6723, allocations: 34.44 kB / 0.7976 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.6724, allocations: 3.125 kB / 0.7976 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.6725, allocations: 164.2 kB / 0.7977 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.105e-05/0.6725, allocations: 31.12 kB / 0.7978 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.6725, allocations: 5.031 kB / 0.7978 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.6727, allocations: 53.61 kB / 0.7978 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6727, allocations: 0 / 0.7978 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.6727, allocations: 1.094 kB / 0.7978 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.6727, allocations: 3.688 kB / 0.7978 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.573e-05/0.6728, allocations: 17.33 kB / 0.7978 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007351/0.6735, allocations: 0.5985 MB / 0.7984 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.773e-05/0.6736, allocations: 24.33 kB / 0.7985 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.6736, allocations: 8.344 kB / 0.7985 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.6738, allocations: 332.7 kB / 0.7988 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.6738, allocations: 31.72 kB / 0.7988 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.6738, allocations: 0 / 0.7988 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001403/0.674, allocations: 41.97 kB / 0.7988 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.674, allocations: 55.53 kB / 0.7989 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.6741, allocations: 106.2 kB / 0.799 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.6741, allocations: 25.7 kB / 0.799 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.6742, allocations: 87.25 kB / 0.7991 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/0.6742, allocations: 5.344 kB / 0.7991 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.6742, allocations: 18.25 kB / 0.7991 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.6743, allocations: 316.2 kB / 0.7994 GB, free: 10 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.6743, allocations: 2.469 kB / 0.7994 GB, free: 10 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.6744, allocations: 23.67 kB / 0.7995 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.83e-05/0.6744, allocations: 22.75 kB / 0.7995 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.6744, allocations: 1.094 kB / 0.7995 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.649e-05/0.6745, allocations: 54.53 kB / 0.7995 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.6745, allocations: 5.469 kB / 0.7995 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6745, allocations: 2.938 kB / 0.7995 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.6745, allocations: 5.219 kB / 0.7995 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.273e-05/0.6746, allocations: 6.594 kB / 0.7996 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.6746, allocations: 1.062 kB / 0.7996 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.6746, allocations: 1.062 kB / 0.7996 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.6746, allocations: 6.062 kB / 0.7996 GB, free: 9.914 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/0.6747, allocations: 112 kB / 0.7997 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.6747, allocations: 1.062 kB / 0.7997 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.6748, allocations: 127.9 kB / 0.7998 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.856e-05/0.6749, allocations: 177.5 kB / 0.8 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.34e-05/0.675, allocations: 181.4 kB / 0.8001 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-05/0.675, allocations: 184.8 kB / 0.8003 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.6752, allocations: 404.9 kB / 0.8007 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.241e-05/0.6753, allocations: 104.9 kB / 0.8008 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.6753, allocations: 111.7 kB / 0.8009 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.412e-05/0.6754, allocations: 177.4 kB / 0.8011 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/0.6754, allocations: 181.3 kB / 0.8012 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.563e-05/0.6755, allocations: 179.6 kB / 0.8014 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.207e-05/0.6756, allocations: 181.5 kB / 0.8016 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.6757, allocations: 309.7 kB / 0.8019 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/0.6758, allocations: 190.9 kB / 0.8021 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.858e-05/0.6758, allocations: 187.8 kB / 0.8022 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.676, allocations: 110.5 kB / 0.8024 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.6761, allocations: 181.5 kB / 0.8025 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.6761, allocations: 111.3 kB / 0.8026 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.6762, allocations: 92 kB / 0.8027 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6762, allocations: 0 / 0.8027 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002973/0.6765, allocations: 59.39 kB / 0.8028 GB, free: 6.527 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005692/0.677, allocations: 0.8785 MB / 0.8036 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.672e-05/0.6771, allocations: 12.36 kB / 0.8036 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6771, allocations: 0 / 0.8036 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.6771, allocations: 5.281 kB / 0.8036 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.6775, allocations: 458.4 kB / 0.8041 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.6786, allocations: 1.325 MB / 0.8054 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.6788, allocations: 0.6796 MB / 0.806 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.804e-05/0.6789, allocations: 7.156 kB / 0.806 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.6789, allocations: 15.58 kB / 0.8061 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.6789, allocations: 0 / 0.8061 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.6963, allocations: 2.212 MB / 0.8082 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.404/8.1, allocations: 8.125 kB / 0.8082 GB, free: 2.738 MB / 0.5919 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/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)