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.001634/0.001634, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002056/0.002056, allocations: 194.9 kB / 16.14 MB, free: 6.703 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.52/1.52, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4001/0.4001, allocations: 54.93 MB / 324.3 MB, free: 204 kB / 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.002292/0.002292, allocations: 67.91 kB / 394.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1274, allocations: 59.59 MB / 454.3 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.2439/0.3713, allocations: 15.2 MB / 469.5 MB, free: 30.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.3735, allocations: 2.133 MB / 471.6 MB, free: 29.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.3737, allocations: 2.906 kB / 471.6 MB, free: 29.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.3742, allocations: 157.8 kB / 471.8 MB, free: 29.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.3746, allocations: 317.4 kB / 472.1 MB, free: 29.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005554/0.3752, allocations: 288 kB / 472.4 MB, free: 28.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007656/0.3759, allocations: 1.26 MB / 473.6 MB, free: 28.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.3761, allocations: 69.75 kB / 473.7 MB, free: 28.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006109/0.3767, allocations: 446.1 kB / 474.1 MB, free: 28.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.377, allocations: 276.3 kB / 474.4 MB, free: 28.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.377, allocations: 21.5 kB / 474.4 MB, free: 28.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.3773, allocations: 112 kB / 474.5 MB, free: 28.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.3774, allocations: 76.77 kB / 474.6 MB, free: 28.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.3776, allocations: 157.5 kB / 474.8 MB, free: 28.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.378, allocations: 456.9 kB / 475.2 MB, free: 27.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.378, allocations: 0 / 475.2 MB, free: 27.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.378, allocations: 0 / 475.2 MB, free: 27.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.378, allocations: 2.719 kB / 475.2 MB, free: 27.87 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.0007158/0.3787, allocations: 0.5703 MB / 475.8 MB, free: 27.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3788, allocations: 9.344 kB / 475.8 MB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006837/0.3795, allocations: 76.61 kB / 475.9 MB, free: 27.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.3798, allocations: 284.7 kB / 476.1 MB, free: 27.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3798, allocations: 20.91 kB / 476.2 MB, free: 27.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.3799, allocations: 22.25 kB / 476.2 MB, free: 27.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005382/0.3804, allocations: 344.9 kB / 476.5 MB, free: 26.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.3804, allocations: 3.938 kB / 476.5 MB, free: 26.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.3805, allocations: 14.56 kB / 476.5 MB, free: 26.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3805, allocations: 4.219 kB / 476.5 MB, free: 26.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.3809, allocations: 225 kB / 476.8 MB, free: 26.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.3824, allocations: 1.691 MB / 478.5 MB, free: 25.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.3828, allocations: 191.6 kB / 478.6 MB, free: 25.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.3829, allocations: 86.62 kB / 478.7 MB, free: 25.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.383, allocations: 5.859 kB / 478.7 MB, free: 25.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.383, allocations: 41.22 kB / 478.8 MB, free: 25.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.704e-06/0.383, allocations: 0 / 478.8 MB, free: 25.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.003709/0.3867, allocations: 1.252 MB / 480 MB, free: 24.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.3868, allocations: 59.28 kB / 480.1 MB, free: 24.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.3871, allocations: 264.7 kB / 480.3 MB, free: 24.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.3871, allocations: 36.52 kB / 480.4 MB, free: 24.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.3872, allocations: 180.1 kB / 480.5 MB, free: 23.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.3872, allocations: 94.73 kB / 480.6 MB, free: 23.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3874, allocations: 65.39 kB / 480.7 MB, free: 23.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.3874, allocations: 341.5 kB / 481 MB, free: 23.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.3877, allocations: 101.7 kB / 481.1 MB, free: 23.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.388, allocations: 191 kB / 481.3 MB, free: 23.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.3886, allocations: 293.7 kB / 481.6 MB, free: 23.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3886, allocations: 0 / 481.6 MB, free: 23.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001079/0.3897, allocations: 454.1 kB / 482.1 MB, free: 22.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3897, allocations: 5.781 kB / 482.1 MB, free: 22.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3897, allocations: 3.969 kB / 482.1 MB, free: 22.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005291/0.3902, allocations: 128 kB / 482.2 MB, free: 22.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.3905, allocations: 64.14 kB / 482.3 MB, free: 22.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.3934, allocations: 2.033 MB / 484.3 MB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.3938, allocations: 32.42 kB / 484.3 MB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.3939, allocations: 17.56 kB / 484.3 MB, free: 21.21 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.0001491/0.394, allocations: 151 kB / 484.5 MB, free: 21.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.3941, allocations: 29.69 kB / 484.5 MB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.636e-05/0.3942, allocations: 37.58 kB / 484.5 MB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3942, allocations: 6.938 kB / 484.6 MB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3942, allocations: 2.781 kB / 484.6 MB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000869/0.3951, allocations: 0.6335 MB / 485.2 MB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.3965, allocations: 0.8128 MB / 486 MB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.3965, allocations: 4.125 kB / 486 MB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.3967, allocations: 40.81 kB / 486 MB, free: 19.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006907/0.3974, allocations: 141.5 kB / 486.2 MB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.3974, allocations: 10.19 kB / 486.2 MB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/0.3998, allocations: 1.945 MB / 488.1 MB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3998, allocations: 2.562 kB / 488.1 MB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.4009, allocations: 0.5581 MB / 488.7 MB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.846e-05/0.401, allocations: 105.8 kB / 488.8 MB, free: 17.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.401, allocations: 6.125 kB / 488.8 MB, free: 17.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.4013, allocations: 19.53 kB / 488.8 MB, free: 17.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.4014, allocations: 19.91 kB / 488.8 MB, free: 17.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.4014, allocations: 11.34 kB / 488.9 MB, free: 17.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002181/0.4017, allocations: 199.6 kB / 489.1 MB, free: 17.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4017, allocations: 3.938 kB / 489.1 MB, free: 17.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.4023, allocations: 105.3 kB / 489.2 MB, free: 17.64 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.0001665/0.4024, allocations: 127.7 kB / 489.3 MB, free: 17.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007696/0.4032, allocations: 421.1 kB / 489.7 MB, free: 17.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4032, allocations: 0 / 489.7 MB, free: 17.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.4038, allocations: 286.8 kB / 490 MB, free: 17.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.4048, allocations: 161.3 kB / 490.1 MB, free: 17.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.4061, allocations: 0.7632 MB / 490.9 MB, free: 16.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.4064, allocations: 0.7668 MB / 491.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003277/0.4067, allocations: 49.91 kB / 491.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.4068, allocations: 26.56 kB / 491.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4068, allocations: 0 / 491.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of Templates: time 0.01359/0.4204, allocations: 6.758 MB / 498.5 MB, free: 15.47 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)