Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.007627/0.007627, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001541/0.001541, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 422.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62.53 kB / 0.5809 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1866, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005322/0.1919, allocations: 3.284 MB / 0.6624 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000129/0.1921, allocations: 51.84 kB / 0.6625 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.1922, allocations: 0 / 0.6625 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.1923, allocations: 11.88 kB / 0.6625 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.852e-05/0.1924, allocations: 15.92 kB / 0.6625 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007141/0.1932, allocations: 183.2 kB / 0.6627 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.1933, allocations: 27.92 kB / 0.6627 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.1933, allocations: 7.984 kB / 0.6627 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.1934, allocations: 19.92 kB / 0.6627 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.739e-05/0.1935, allocations: 11.92 kB / 0.6627 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1935, allocations: 7.984 kB / 0.6627 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.1939, allocations: 167.6 kB / 0.6629 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.194, allocations: 7.984 kB / 0.6629 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.1941, allocations: 4 kB / 0.6629 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.1944, allocations: 138.6 kB / 0.663 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1944, allocations: 4 kB / 0.663 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1944, allocations: 0 / 0.663 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.1944, allocations: 0 / 0.663 GB, free: 10.04 MB / 0.4981 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.0004844/0.1949, allocations: 352.3 kB / 0.6634 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.195, allocations: 12.03 kB / 0.6634 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.195, allocations: 30.75 kB / 0.6634 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.1951, allocations: 0.9375 kB / 0.6634 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1952, allocations: 172.3 kB / 0.6636 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.456e-05/0.1953, allocations: 26.27 kB / 0.6636 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-06/0.1953, allocations: 4.125 kB / 0.6636 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1955, allocations: 45.69 kB / 0.6637 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1955, allocations: 4 kB / 0.6637 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1955, allocations: 0 / 0.6637 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.1955, allocations: 3.984 kB / 0.6637 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.345e-05/0.1956, allocations: 23.86 kB / 0.6637 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.1963, allocations: 0.5833 MB / 0.6643 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.025e-05/0.1963, allocations: 14.58 kB / 0.6643 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.1964, allocations: 16.86 kB / 0.6643 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.1966, allocations: 348.4 kB / 0.6646 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1967, allocations: 30.56 kB / 0.6646 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1967, allocations: 0 / 0.6646 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000166/0.1968, allocations: 37.64 kB / 0.6647 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1969, allocations: 51.41 kB / 0.6647 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.197, allocations: 105.8 kB / 0.6648 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.197, allocations: 25.83 kB / 0.6649 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.1971, allocations: 92.03 kB / 0.6649 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-06/0.1971, allocations: 7.938 kB / 0.665 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.1971, allocations: 21.61 kB / 0.665 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1972, allocations: 318.8 kB / 0.6653 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.1972, allocations: 8 kB / 0.6653 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.1973, allocations: 13.72 kB / 0.6653 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.069e-05/0.1973, allocations: 33.64 kB / 0.6653 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1973, allocations: 0 / 0.6653 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.656e-05/0.1974, allocations: 37.7 kB / 0.6654 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1974, allocations: 7.984 kB / 0.6654 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1975, allocations: 7.938 kB / 0.6654 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1975, allocations: 0 / 0.6654 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.1975, allocations: 4 kB / 0.6654 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1975, allocations: 0 / 0.6654 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.1976, allocations: 8.062 kB / 0.6654 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1976, allocations: 4 kB / 0.6654 GB, free: 7.23 MB / 0.4981 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 8.117e-05/0.1977, allocations: 110.4 kB / 0.6655 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.1977, allocations: 4 kB / 0.6655 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.1979, allocations: 123.9 kB / 0.6656 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.658e-05/0.1979, allocations: 184.1 kB / 0.6658 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.96e-05/0.198, allocations: 180.3 kB / 0.666 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-05/0.1981, allocations: 184.2 kB / 0.6661 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.1983, allocations: 409.2 kB / 0.6665 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.547e-05/0.1984, allocations: 105 kB / 0.6666 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.1984, allocations: 108.9 kB / 0.6667 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.66e-05/0.1985, allocations: 176.3 kB / 0.6669 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.1985, allocations: 184.2 kB / 0.6671 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.859e-05/0.1986, allocations: 176.3 kB / 0.6673 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.546e-05/0.1987, allocations: 192.2 kB / 0.6674 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.1988, allocations: 299.8 kB / 0.6677 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.1989, allocations: 189.9 kB / 0.6679 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.525e-05/0.199, allocations: 184.2 kB / 0.6681 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.1992, allocations: 112.9 kB / 0.6682 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.1993, allocations: 176.3 kB / 0.6684 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.1993, allocations: 116.9 kB / 0.6685 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.1994, allocations: 83.28 kB / 0.6685 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1994, allocations: 4 kB / 0.6686 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003413/0.1997, allocations: 31.94 kB / 0.6686 GB, free: 3.746 MB / 0.4981 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.0005536/0.2003, allocations: 0.8597 MB / 0.6694 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.817e-05/0.2004, allocations: 12 kB / 0.6694 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2004, allocations: 0 / 0.6694 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.2004, allocations: 3.938 kB / 0.6694 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.2009, allocations: 465.2 kB / 0.6699 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.202, allocations: 1.332 MB / 0.6712 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.2023, allocations: 0.6729 MB / 0.6718 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.758e-05/0.2023, allocations: 8 kB / 0.6718 GB, free: 264 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.2024, allocations: 11.44 kB / 0.6719 GB, free: 252 kB / 0.4981 GB Notification: Performance of SimCode: time 4.1e-07/0.2024, allocations: 0 / 0.6719 GB, free: 252 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.2229, allocations: 2.148 MB / 0.674 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/7.848, allocations: 7.531 kB / 0.674 GB, free: 14.3 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)