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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008369/0.008369, allocations: 99.25 kB / 15.73 MB, free: 5.594 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.001398/0.001399, allocations: 195.1 kB / 16.67 MB, free: 5.527 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8457/0.8457, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 65.39 kB / 0.5814 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1995, allocations: 80.21 MB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006221/0.2058, allocations: 4.059 MB / 0.6637 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003121/0.2089, allocations: 2.43 MB / 0.6661 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.814e-05/0.209, allocations: 7.938 kB / 0.6661 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.2094, allocations: 47.67 kB / 0.6661 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.2097, allocations: 99.34 kB / 0.6662 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.2111, allocations: 0.5359 MB / 0.6667 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.2114, allocations: 259.9 kB / 0.667 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.2115, allocations: 13.55 kB / 0.667 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.2117, allocations: 115.6 kB / 0.6671 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.2119, allocations: 95.64 kB / 0.6672 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.2119, allocations: 11.94 kB / 0.6672 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007985/0.2127, allocations: 455.3 kB / 0.6676 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.157e-05/0.2128, allocations: 43.81 kB / 0.6677 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.941e-05/0.2129, allocations: 79.67 kB / 0.6678 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000624/0.2135, allocations: 414.9 kB / 0.6682 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2135, allocations: 0 / 0.6682 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2135, allocations: 0 / 0.6682 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2136, allocations: 0 / 0.6682 GB, free: 1.527 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.001097/0.2147, allocations: 0.5109 MB / 0.6687 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2147, allocations: 12.03 kB / 0.6687 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.2167, allocations: 176.5 kB / 0.6688 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.217, allocations: 200.2 kB / 0.669 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.2171, allocations: 12.7 kB / 0.669 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.2171, allocations: 16.38 kB / 0.6691 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.2178, allocations: 312.3 kB / 0.6694 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2178, allocations: 3.938 kB / 0.6694 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.2178, allocations: 12 kB / 0.6694 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.2179, allocations: 8 kB / 0.6694 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007256/0.2186, allocations: 260.1 kB / 0.6696 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.2203, allocations: 1.381 MB / 0.671 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/0.2209, allocations: 192.4 kB / 0.6712 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.2212, allocations: 80.81 kB / 0.6712 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.2212, allocations: 3.984 kB / 0.6712 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.2213, allocations: 42.55 kB / 0.6713 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.2213, allocations: 0 / 0.6713 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0008/0.2221, allocations: 245.3 kB / 0.6715 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.2221, allocations: 51.41 kB / 0.6716 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2223, allocations: 169.5 kB / 0.6717 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.2223, allocations: 29.7 kB / 0.6718 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.2224, allocations: 128 kB / 0.6719 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.2225, allocations: 63.11 kB / 0.6719 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.084e-05/0.2226, allocations: 49.92 kB / 0.672 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.2228, allocations: 330.8 kB / 0.6723 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.223, allocations: 68.41 kB / 0.6724 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.2233, allocations: 142.3 kB / 0.6725 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.2237, allocations: 223 kB / 0.6727 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2237, allocations: 0 / 0.6727 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005828/0.2243, allocations: 251.1 kB / 0.673 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2244, allocations: 7.984 kB / 0.673 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2244, allocations: 7.984 kB / 0.673 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2244, allocations: 4 kB / 0.673 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.2248, allocations: 72.2 kB / 0.673 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2248, allocations: 8 kB / 0.673 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.225, allocations: 27.73 kB / 0.6731 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.225, allocations: 12 kB / 0.6731 GB, free: 12.1 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.0001294/0.2252, allocations: 137.7 kB / 0.6732 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.2252, allocations: 11.91 kB / 0.6732 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006463/0.2259, allocations: 224.9 kB / 0.6734 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2259, allocations: 0 / 0.6734 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2259, allocations: 4 kB / 0.6734 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2259, allocations: 0 / 0.6734 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.2262, allocations: 249.3 kB / 0.6737 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2262, allocations: 3.938 kB / 0.6737 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/0.2265, allocations: 51.95 kB / 0.6737 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2266, allocations: 3.938 kB / 0.6737 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.2266, allocations: 0 / 0.6737 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.2266, allocations: 4 kB / 0.6737 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2266, allocations: 0 / 0.6737 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.2272, allocations: 305.2 kB / 0.674 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.2273, allocations: 108.9 kB / 0.6741 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.2273, allocations: 0 / 0.6741 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.2276, allocations: 15.98 kB / 0.6742 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.2276, allocations: 15.98 kB / 0.6742 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.2277, allocations: 8 kB / 0.6742 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.155e-05/0.2278, allocations: 111.2 kB / 0.6743 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2278, allocations: 4 kB / 0.6743 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003672/0.2281, allocations: 64.06 kB / 0.6743 GB, free: 10.71 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.0002336/0.2284, allocations: 131.2 kB / 0.6745 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005416/0.2289, allocations: 184.3 kB / 0.6746 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2289, allocations: 4 kB / 0.6747 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.2292, allocations: 87.89 kB / 0.6747 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.2297, allocations: 63.81 kB / 0.6748 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009654/0.2307, allocations: 403.2 kB / 0.6752 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.231, allocations: 0.7173 MB / 0.6759 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002667/0.2312, allocations: 49.92 kB / 0.6759 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.2313, allocations: 31.42 kB / 0.676 GB, free: 9 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.2314, allocations: 0 / 0.676 GB, free: 9 MB / 0.5137 GB Notification: Performance of Templates: time 0.007282/0.2386, allocations: 3.408 MB / 0.6793 GB, free: 5.668 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (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 & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)