Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001165/0.001165, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4292/0.4292, allocations: 55.01 MB / 325.4 MB, free: 0.6484 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005971/0.0005975, allocations: 12 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4424, allocations: 60.72 MB / 457.4 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.01242/0.4549, allocations: 13.88 MB / 471.2 MB, free: 32.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.4574, allocations: 2.008 MB / 473.3 MB, free: 30.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.4577, allocations: 6.719 kB / 473.3 MB, free: 30.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005256/0.4582, allocations: 130.8 kB / 473.4 MB, free: 30.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005526/0.4588, allocations: 304.8 kB / 473.7 MB, free: 30.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.4594, allocations: 245.1 kB / 473.9 MB, free: 30.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008978/0.4604, allocations: 1.042 MB / 475 MB, free: 29.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.4606, allocations: 71.2 kB / 475 MB, free: 29.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007759/0.4613, allocations: 417.5 kB / 475.4 MB, free: 29.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.4617, allocations: 254.6 kB / 475.7 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.4617, allocations: 13.75 kB / 475.7 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.462, allocations: 106 kB / 475.8 MB, free: 29.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.767e-05/0.4621, allocations: 69.8 kB / 475.9 MB, free: 29.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.628e-05/0.4622, allocations: 90.7 kB / 476 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.4626, allocations: 349 kB / 476.3 MB, free: 29.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4626, allocations: 0 / 476.3 MB, free: 29.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4626, allocations: 4 kB / 476.3 MB, free: 29.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.4626, allocations: 0 / 476.3 MB, free: 29.38 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007271/0.4633, allocations: 0.5116 MB / 476.8 MB, free: 28.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.4634, allocations: 8.094 kB / 476.8 MB, free: 28.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006087/0.464, allocations: 79.11 kB / 476.9 MB, free: 28.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.4644, allocations: 277.4 kB / 477.2 MB, free: 28.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.4644, allocations: 21.97 kB / 477.2 MB, free: 28.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.4644, allocations: 21.44 kB / 477.2 MB, free: 28.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.465, allocations: 338.8 kB / 477.6 MB, free: 28.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.465, allocations: 0 / 477.6 MB, free: 28.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.4651, allocations: 13.5 kB / 477.6 MB, free: 28.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4651, allocations: 5.125 kB / 477.6 MB, free: 28.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.4655, allocations: 227.6 kB / 477.8 MB, free: 28.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.467, allocations: 1.686 MB / 479.5 MB, free: 26.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.4674, allocations: 196.2 kB / 479.7 MB, free: 26.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.4676, allocations: 84.64 kB / 479.8 MB, free: 26.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.4676, allocations: 2.531 kB / 479.8 MB, free: 26.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.4676, allocations: 37.75 kB / 479.8 MB, free: 26.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.4677, allocations: 4 kB / 479.8 MB, free: 26.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.003352/0.471, allocations: 1.26 MB / 481.1 MB, free: 25.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.4711, allocations: 54.25 kB / 481.1 MB, free: 25.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.4714, allocations: 271.8 kB / 481.4 MB, free: 25.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.4714, allocations: 32.61 kB / 481.4 MB, free: 25.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.4715, allocations: 174.9 kB / 481.6 MB, free: 25.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.528e-05/0.4716, allocations: 99.92 kB / 481.7 MB, free: 25.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.4716, allocations: 4 kB / 481.7 MB, free: 25.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4717, allocations: 346.1 kB / 482 MB, free: 25.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.472, allocations: 97.05 kB / 482.1 MB, free: 25.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.4722, allocations: 184.2 kB / 482.3 MB, free: 24.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.4725, allocations: 128.2 kB / 482.4 MB, free: 24.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4725, allocations: 0 / 482.4 MB, free: 24.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008862/0.4734, allocations: 447.2 kB / 482.9 MB, free: 24.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4734, allocations: 6.094 kB / 482.9 MB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4734, allocations: 10.75 kB / 482.9 MB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004795/0.4739, allocations: 134.3 kB / 483 MB, free: 24.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.4742, allocations: 63.73 kB / 483.1 MB, free: 24.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.4767, allocations: 2.029 MB / 485.1 MB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.477, allocations: 41.59 kB / 485.1 MB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.4771, allocations: 9.75 kB / 485.1 MB, free: 22.93 MB / 382.1 MB 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.4772, allocations: 152.1 kB / 485.3 MB, free: 22.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.4773, allocations: 23.81 kB / 485.3 MB, free: 22.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.707e-05/0.4774, allocations: 35.75 kB / 485.3 MB, free: 22.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4774, allocations: 2.906 kB / 485.4 MB, free: 22.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.4774, allocations: 4 kB / 485.4 MB, free: 22.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007597/0.4782, allocations: 0.633 MB / 486 MB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.4794, allocations: 0.8151 MB / 486.8 MB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4794, allocations: 1.5 kB / 486.8 MB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.4797, allocations: 44.25 kB / 486.8 MB, free: 21.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005526/0.4802, allocations: 138.8 kB / 487 MB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.4803, allocations: 9.922 kB / 487 MB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.4826, allocations: 1.956 MB / 489 MB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.4826, allocations: 1.859 kB / 489 MB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009634/0.4836, allocations: 0.5595 MB / 489.5 MB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.284e-05/0.4837, allocations: 101.9 kB / 489.6 MB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.4837, allocations: 10.52 kB / 489.6 MB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.484, allocations: 19.33 kB / 489.6 MB, free: 19.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.4841, allocations: 18.56 kB / 489.7 MB, free: 19.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.4841, allocations: 16.33 kB / 489.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.4843, allocations: 199.8 kB / 489.9 MB, free: 19.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4843, allocations: 0 / 489.9 MB, free: 19.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005456/0.4849, allocations: 100.8 kB / 490 MB, free: 19.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001699/0.485, allocations: 129.8 kB / 490.1 MB, free: 19.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000754/0.4858, allocations: 417.7 kB / 490.5 MB, free: 19.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.4858, allocations: 0 / 490.5 MB, free: 19.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005729/0.4864, allocations: 285.9 kB / 490.8 MB, free: 18.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008487/0.4873, allocations: 162.9 kB / 490.9 MB, free: 18.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.4884, allocations: 0.7914 MB / 491.7 MB, free: 18.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.4886, allocations: 0.7628 MB / 492.5 MB, free: 17.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002885/0.4889, allocations: 54.33 kB / 492.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.489, allocations: 23.97 kB / 492.6 MB, free: 17.62 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.489, allocations: 0 / 492.6 MB, free: 17.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01435/0.5033, allocations: 6.554 MB / 499.1 MB, free: 17.19 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe 2>&1) Environment - environmentSimulation: