Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",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.007224/0.007224, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001818/0.001818, allocations: 202 kB / 16.68 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7786/0.7786, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 63.7 kB / 0.5809 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1791, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006092/0.1852, allocations: 4.727 MB / 0.6638 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003114/0.1884, allocations: 2.691 MB / 0.6665 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.603e-05/0.1885, allocations: 4 kB / 0.6665 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.1887, allocations: 47.67 kB / 0.6665 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.189, allocations: 99.36 kB / 0.6666 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1902, allocations: 0.494 MB / 0.6671 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.1904, allocations: 231.9 kB / 0.6673 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.1905, allocations: 18.95 kB / 0.6673 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.1907, allocations: 111.6 kB / 0.6674 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.1909, allocations: 95.59 kB / 0.6675 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1909, allocations: 8 kB / 0.6675 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006736/0.1916, allocations: 363.3 kB / 0.6679 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.447e-05/0.1916, allocations: 35.89 kB / 0.6679 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.839e-05/0.1918, allocations: 91.58 kB / 0.668 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005674/0.1923, allocations: 359.1 kB / 0.6684 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1923, allocations: 0 / 0.6684 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1923, allocations: 0 / 0.6684 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.1924, allocations: 4 kB / 0.6684 GB, free: 4.602 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007433/0.1931, allocations: 0.5025 MB / 0.6689 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1931, allocations: 8.031 kB / 0.6689 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.471e-05/0.1932, allocations: 54.73 kB / 0.6689 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.1934, allocations: 24.83 kB / 0.6689 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.1937, allocations: 212.1 kB / 0.6691 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1937, allocations: 20.69 kB / 0.6692 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1937, allocations: 12.38 kB / 0.6692 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.1941, allocations: 256.6 kB / 0.6694 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1941, allocations: 0 / 0.6694 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.1942, allocations: 8 kB / 0.6694 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.1942, allocations: 4 kB / 0.6694 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005197/0.1947, allocations: 427.5 kB / 0.6698 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.196, allocations: 0.9604 MB / 0.6708 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.1962, allocations: 159.6 kB / 0.6709 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1964, allocations: 69.75 kB / 0.671 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/0.1979, allocations: 1.817 MB / 0.6728 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.198, allocations: 34.56 kB / 0.6728 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.198, allocations: 0 / 0.6728 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003508/0.1984, allocations: 157.4 kB / 0.6729 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1984, allocations: 55.34 kB / 0.673 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1986, allocations: 177.6 kB / 0.6732 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.1986, allocations: 29.7 kB / 0.6732 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1987, allocations: 136.1 kB / 0.6733 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.1988, allocations: 59.56 kB / 0.6734 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/0.1989, allocations: 53.66 kB / 0.6734 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.199, allocations: 322.8 kB / 0.6737 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.1991, allocations: 39.98 kB / 0.6738 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.1993, allocations: 138.9 kB / 0.6739 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.1995, allocations: 200.3 kB / 0.6741 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1996, allocations: 8 kB / 0.6741 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003394/0.1999, allocations: 205.2 kB / 0.6743 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1999, allocations: 8 kB / 0.6743 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1999, allocations: 4.469 kB / 0.6743 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.2, allocations: 7.938 kB / 0.6743 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.2002, allocations: 59.91 kB / 0.6744 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.2002, allocations: 11.94 kB / 0.6744 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.2003, allocations: 27.78 kB / 0.6744 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.2003, allocations: 15.98 kB / 0.6744 GB, free: 13.64 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001279/0.2005, allocations: 141.7 kB / 0.6746 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.2005, allocations: 15.91 kB / 0.6746 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.2008, allocations: 150.4 kB / 0.6747 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.2009, allocations: 11.94 kB / 0.6747 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2009, allocations: 0 / 0.6747 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2009, allocations: 0 / 0.6747 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.2012, allocations: 221.5 kB / 0.675 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2012, allocations: 0 / 0.675 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.2013, allocations: 23.98 kB / 0.675 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2013, allocations: 0 / 0.675 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.2013, allocations: 8 kB / 0.675 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.2013, allocations: 3.938 kB / 0.675 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.401e-05/0.2013, allocations: 3.984 kB / 0.675 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.2016, allocations: 227.3 kB / 0.6752 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.2017, allocations: 112.9 kB / 0.6753 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.2017, allocations: 0 / 0.6753 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.2019, allocations: 19.92 kB / 0.6753 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.202, allocations: 11.92 kB / 0.6753 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.202, allocations: 12 kB / 0.6754 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.333e-05/0.2021, allocations: 121.6 kB / 0.6755 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2021, allocations: 0 / 0.6755 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003689/0.2025, allocations: 79.86 kB / 0.6756 GB, free: 12.41 MB / 0.5137 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007447/0.2032, allocations: 0.8293 MB / 0.6764 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.2035, allocations: 115.8 kB / 0.6765 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2035, allocations: 0 / 0.6765 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.2036, allocations: 47.3 kB / 0.6765 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.204, allocations: 62.55 kB / 0.6766 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.2064, allocations: 2.045 MB / 0.6786 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.2067, allocations: 0.7128 MB / 0.6793 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.2069, allocations: 37.92 kB / 0.6793 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.207, allocations: 51.42 kB / 0.6794 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of SimCode: time 2.174e-06/0.207, allocations: 0 / 0.6794 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1969/0.4039, allocations: 5.235 MB / 0.6845 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.139/9.542, allocations: 9.594 kB / 0.6845 GB, free: 3.172 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)