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.001258/0.001258, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 192.9 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4294/0.4294, allocations: 54.95 MB / 324.8 MB, free: 15.91 MB / 270.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.002009/0.002009, allocations: 75.89 kB / 396.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3802, allocations: 59.58 MB / 455.7 MB, free: 39.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.01419/0.3944, allocations: 15.13 MB / 470.8 MB, free: 31.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3969, allocations: 2.129 MB / 472.9 MB, free: 29.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.3972, allocations: 2.906 kB / 473 MB, free: 29.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006292/0.3979, allocations: 179.1 kB / 473.1 MB, free: 29.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.3984, allocations: 322 kB / 473.4 MB, free: 29.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007174/0.3992, allocations: 303.8 kB / 473.7 MB, free: 29.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008714/0.4, allocations: 0.8082 MB / 474.5 MB, free: 28.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.4003, allocations: 97.03 kB / 474.6 MB, free: 28.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.4017, allocations: 0.4934 MB / 475.1 MB, free: 28.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.4021, allocations: 265.3 kB / 475.4 MB, free: 28.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.4021, allocations: 26.56 kB / 475.4 MB, free: 28.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.4025, allocations: 131.3 kB / 475.5 MB, free: 28.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.4026, allocations: 86.17 kB / 475.6 MB, free: 28.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.4028, allocations: 171.8 kB / 475.8 MB, free: 28.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005554/0.4034, allocations: 466.2 kB / 476.3 MB, free: 28.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4034, allocations: 4 kB / 476.3 MB, free: 28.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4034, allocations: 0 / 476.3 MB, free: 28.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.4034, allocations: 0 / 476.3 MB, free: 28.08 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.0008265/0.4043, allocations: 0.5758 MB / 476.8 MB, free: 27.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.4043, allocations: 9.875 kB / 476.8 MB, free: 27.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006982/0.405, allocations: 80.39 kB / 476.9 MB, free: 27.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.4055, allocations: 284.2 kB / 477.2 MB, free: 27.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.4055, allocations: 20.25 kB / 477.2 MB, free: 27.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.4056, allocations: 22.78 kB / 477.2 MB, free: 27.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/0.4061, allocations: 346.3 kB / 477.6 MB, free: 27.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.4062, allocations: 6.594 kB / 477.6 MB, free: 27.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.4062, allocations: 12.52 kB / 477.6 MB, free: 27.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.4062, allocations: 7.688 kB / 477.6 MB, free: 27.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.4067, allocations: 222.4 kB / 477.8 MB, free: 27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.4082, allocations: 1.691 MB / 479.5 MB, free: 25.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.4086, allocations: 192.2 kB / 479.7 MB, free: 25.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.4088, allocations: 94.27 kB / 479.8 MB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.4088, allocations: 6.5 kB / 479.8 MB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.4088, allocations: 33.06 kB / 479.8 MB, free: 25.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.4088, allocations: 0 / 479.8 MB, free: 25.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.003627/0.4125, allocations: 1.25 MB / 481.1 MB, free: 24.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.4125, allocations: 54.72 kB / 481.1 MB, free: 24.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.4129, allocations: 273.5 kB / 481.4 MB, free: 24.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.4129, allocations: 32.64 kB / 481.4 MB, free: 24.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.413, allocations: 183.9 kB / 481.6 MB, free: 24.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.4131, allocations: 88.78 kB / 481.7 MB, free: 24.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4132, allocations: 72.95 kB / 481.8 MB, free: 24.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.4133, allocations: 338.5 kB / 482.1 MB, free: 23.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.4135, allocations: 102.2 kB / 482.2 MB, free: 23.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.4138, allocations: 186.2 kB / 482.4 MB, free: 23.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.4143, allocations: 295 kB / 482.7 MB, free: 23.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4143, allocations: 0 / 482.7 MB, free: 23.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009756/0.4152, allocations: 451.1 kB / 483.1 MB, free: 23.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4153, allocations: 6.688 kB / 483.1 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4153, allocations: 2.906 kB / 483.1 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/0.4158, allocations: 133.9 kB / 483.3 MB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.4161, allocations: 65.98 kB / 483.3 MB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.4188, allocations: 2.237 MB / 485.6 MB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.4192, allocations: 23 kB / 485.6 MB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.4193, allocations: 12.14 kB / 485.6 MB, free: 21.24 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.4194, allocations: 159.3 kB / 485.7 MB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.4195, allocations: 25.91 kB / 485.8 MB, free: 21.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.188e-05/0.4196, allocations: 38.88 kB / 485.8 MB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4196, allocations: 2.969 kB / 485.8 MB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4196, allocations: 0 / 485.8 MB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009225/0.4205, allocations: 0.6347 MB / 486.4 MB, free: 20.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.4219, allocations: 0.8175 MB / 487.3 MB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4219, allocations: 3.312 kB / 487.3 MB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.4221, allocations: 35.02 kB / 487.3 MB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006134/0.4227, allocations: 145.1 kB / 487.4 MB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.4228, allocations: 9.906 kB / 487.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.4252, allocations: 2.145 MB / 489.6 MB, free: 18.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4252, allocations: 1.094 kB / 489.6 MB, free: 18.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.4263, allocations: 0.5637 MB / 490.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.4263, allocations: 99.81 kB / 490.3 MB, free: 17.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.4264, allocations: 6.375 kB / 490.3 MB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.4267, allocations: 15.72 kB / 490.3 MB, free: 17.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.4267, allocations: 27.86 kB / 490.3 MB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.4268, allocations: 10.22 kB / 490.3 MB, free: 17.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.427, allocations: 198.7 kB / 490.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.427, allocations: 0 / 490.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005255/0.4275, allocations: 100.1 kB / 490.6 MB, free: 17.48 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.4277, allocations: 123.9 kB / 490.7 MB, free: 17.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007875/0.4285, allocations: 434.7 kB / 491.2 MB, free: 17.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4285, allocations: 0 / 491.2 MB, free: 17.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006293/0.4292, allocations: 283.3 kB / 491.4 MB, free: 16.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.43, allocations: 171 kB / 491.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4313, allocations: 0.6699 MB / 492.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.4316, allocations: 0.7609 MB / 493 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.4318, allocations: 56.84 kB / 493.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.332e-05/0.4319, allocations: 27.12 kB / 493.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4319, allocations: 0 / 493.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of Templates: time 0.01451/0.4464, allocations: 7.112 MB / 0.4885 GB, free: 15.39 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile (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)