Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.008735/0.008735, 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.001483/0.001483, 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.424/1.424, 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/package.mo): time 0.8732/0.8732, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 61.56 kB / 0.5809 GB, free: 24.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1768, allocations: 80.22 MB / 0.6593 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006075/0.183, allocations: 4.048 MB / 0.6632 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003195/0.1862, allocations: 2.434 MB / 0.6656 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.1864, allocations: 0 / 0.6656 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.1868, allocations: 47.67 kB / 0.6656 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.1872, allocations: 95.34 kB / 0.6657 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.1889, allocations: 0.5224 MB / 0.6662 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.1893, allocations: 263.8 kB / 0.6665 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.301e-05/0.1894, allocations: 9.562 kB / 0.6665 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.1897, allocations: 119.6 kB / 0.6666 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.1899, allocations: 95.59 kB / 0.6667 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.1899, allocations: 8 kB / 0.6667 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.191, allocations: 455.3 kB / 0.6671 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1911, allocations: 47.77 kB / 0.6672 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1912, allocations: 83.66 kB / 0.6673 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009675/0.1922, allocations: 406.7 kB / 0.6676 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1922, allocations: 0 / 0.6676 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1922, allocations: 3.938 kB / 0.6677 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.1923, allocations: 0 / 0.6677 GB, free: 2.195 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.0009413/0.1932, allocations: 0.5031 MB / 0.6681 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1933, allocations: 16.02 kB / 0.6682 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/0.1933, allocations: 54.67 kB / 0.6682 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/0.1954, allocations: 176.5 kB / 0.6684 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.1959, allocations: 204.2 kB / 0.6686 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.1959, allocations: 16.7 kB / 0.6686 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.196, allocations: 20.36 kB / 0.6686 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007473/0.1967, allocations: 312.1 kB / 0.6689 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1967, allocations: 0 / 0.6689 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.1968, allocations: 8 kB / 0.6689 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.1968, allocations: 4 kB / 0.6689 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.1975, allocations: 259.6 kB / 0.6692 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.1995, allocations: 1.389 MB / 0.6705 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007355/0.2002, allocations: 198.6 kB / 0.6707 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.2005, allocations: 76.81 kB / 0.6708 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.2005, allocations: 7.984 kB / 0.6708 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.2006, allocations: 42.55 kB / 0.6708 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 3.537e-06/0.2006, allocations: 0 / 0.6708 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0008176/0.2014, allocations: 243 kB / 0.6711 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.2015, allocations: 55.39 kB / 0.6711 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.2016, allocations: 158.2 kB / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.2017, allocations: 37.7 kB / 0.6713 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2018, allocations: 128 kB / 0.6714 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.2019, allocations: 55.11 kB / 0.6715 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.202, allocations: 61.86 kB / 0.6715 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2021, allocations: 326.8 kB / 0.6719 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.2023, allocations: 60.42 kB / 0.6719 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.2026, allocations: 146.3 kB / 0.672 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/0.203, allocations: 223.2 kB / 0.6723 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2031, allocations: 0 / 0.6723 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005953/0.2037, allocations: 249.3 kB / 0.6725 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2037, allocations: 4 kB / 0.6725 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.2037, allocations: 4 kB / 0.6725 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.2037, allocations: 7.984 kB / 0.6725 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.2041, allocations: 63.89 kB / 0.6726 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.2041, allocations: 4 kB / 0.6726 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.2044, allocations: 31.69 kB / 0.6726 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.2044, allocations: 12.14 kB / 0.6726 GB, free: 12.71 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001667/0.2046, allocations: 133.7 kB / 0.6727 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.2047, allocations: 15.84 kB / 0.6728 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006286/0.2053, allocations: 232.7 kB / 0.673 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.2053, allocations: 4 kB / 0.673 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2053, allocations: 0 / 0.673 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2053, allocations: 0 / 0.673 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.2057, allocations: 249.3 kB / 0.6732 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2057, allocations: 3.938 kB / 0.6732 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.206, allocations: 51.91 kB / 0.6733 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.206, allocations: 3.984 kB / 0.6733 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.2061, allocations: 4 kB / 0.6733 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2061, allocations: 0 / 0.6733 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2061, allocations: 4 kB / 0.6733 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.2066, allocations: 295.2 kB / 0.6736 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.2068, allocations: 100.9 kB / 0.6737 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.2068, allocations: 19.97 kB / 0.6737 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.2071, allocations: 15.98 kB / 0.6737 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.2071, allocations: 7.984 kB / 0.6737 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.2072, allocations: 12 kB / 0.6737 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.727e-05/0.2073, allocations: 114.7 kB / 0.6738 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2073, allocations: 4 kB / 0.6738 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003834/0.2077, allocations: 68.06 kB / 0.6739 GB, free: 11.3 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 (20): * Single equations (assignments): 20 * 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.0009901/0.2087, allocations: 0.8583 MB / 0.6747 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005509/0.2092, allocations: 184.2 kB / 0.6749 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2092, allocations: 0 / 0.6749 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.2095, allocations: 93.02 kB / 0.675 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.21, allocations: 62.09 kB / 0.6751 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.2134, allocations: 2.156 MB / 0.6772 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.2138, allocations: 0.7134 MB / 0.6779 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002903/0.2141, allocations: 49.94 kB / 0.6779 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.2143, allocations: 54.66 kB / 0.678 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of SimCode: time 1.303e-06/0.2143, allocations: 0 / 0.678 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.2391, allocations: 5.266 MB / 0.6831 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.09, allocations: 3.938 kB / 0.6831 GB, free: 1.902 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)