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.001537/0.001537, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001744/0.001744, allocations: 193.6 kB / 16.25 MB, free: 6.625 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.511/1.511, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3935/0.3935, allocations: 54.94 MB / 324.4 MB, free: 100 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.001421/0.001421, allocations: 68.23 kB / 394.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1363, allocations: 59.58 MB / 454.4 MB, free: 492 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.2508/0.3871, allocations: 15.11 MB / 469.5 MB, free: 31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.3893, allocations: 2.123 MB / 471.7 MB, free: 29.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.3895, allocations: 2.906 kB / 471.7 MB, free: 29.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.3902, allocations: 157.4 kB / 471.8 MB, free: 29.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004594/0.3906, allocations: 303.7 kB / 472.1 MB, free: 29.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.3913, allocations: 299.1 kB / 472.4 MB, free: 29.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006409/0.3919, allocations: 0.8002 MB / 473.2 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.3921, allocations: 98.83 kB / 473.3 MB, free: 28.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000793/0.3929, allocations: 489.6 kB / 473.8 MB, free: 28.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.3932, allocations: 283 kB / 474.1 MB, free: 28.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.3933, allocations: 24.41 kB / 474.1 MB, free: 28.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.3936, allocations: 128.2 kB / 474.2 MB, free: 28.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.3937, allocations: 83.17 kB / 474.3 MB, free: 28.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.3939, allocations: 170.6 kB / 474.5 MB, free: 28.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.3944, allocations: 471.9 kB / 474.9 MB, free: 28.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3944, allocations: 0 / 474.9 MB, free: 28.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3944, allocations: 0 / 474.9 MB, free: 28.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3945, allocations: 0 / 474.9 MB, free: 28.02 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.0007278/0.3952, allocations: 0.5777 MB / 475.5 MB, free: 27.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3952, allocations: 9.906 kB / 475.5 MB, free: 27.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006314/0.3959, allocations: 73.67 kB / 475.6 MB, free: 27.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.3962, allocations: 278.9 kB / 475.9 MB, free: 27.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3962, allocations: 25.19 kB / 475.9 MB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.3962, allocations: 27.02 kB / 475.9 MB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.3967, allocations: 345.2 kB / 476.2 MB, free: 27.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3968, allocations: 2.938 kB / 476.2 MB, free: 27.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.3968, allocations: 11.94 kB / 476.3 MB, free: 27.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3968, allocations: 8.844 kB / 476.3 MB, free: 27.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.3972, allocations: 218.3 kB / 476.5 MB, free: 26.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.3987, allocations: 1.691 MB / 478.2 MB, free: 25.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.399, allocations: 195 kB / 478.4 MB, free: 25.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.3992, allocations: 81.94 kB / 478.4 MB, free: 25.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.3992, allocations: 2.75 kB / 478.4 MB, free: 25.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.3992, allocations: 39.22 kB / 478.5 MB, free: 25.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.3992, allocations: 0 / 478.5 MB, free: 25.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.003463/0.4027, allocations: 1.258 MB / 479.7 MB, free: 24.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.4027, allocations: 54.16 kB / 479.8 MB, free: 24.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.403, allocations: 269.9 kB / 480.1 MB, free: 24.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.403, allocations: 32.52 kB / 480.1 MB, free: 24.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.4031, allocations: 175.7 kB / 480.3 MB, free: 24.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.4032, allocations: 91.09 kB / 480.4 MB, free: 24.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-05/0.4033, allocations: 78 kB / 480.4 MB, free: 24.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.813e-05/0.4033, allocations: 338 kB / 480.8 MB, free: 23.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.4036, allocations: 101.8 kB / 480.9 MB, free: 23.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.4038, allocations: 192.2 kB / 481 MB, free: 23.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.4043, allocations: 288.6 kB / 481.3 MB, free: 23.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4043, allocations: 0 / 481.3 MB, free: 23.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009616/0.4052, allocations: 458.4 kB / 481.8 MB, free: 23.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4053, allocations: 12.61 kB / 481.8 MB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.4053, allocations: 2.875 kB / 481.8 MB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/0.4058, allocations: 123 kB / 481.9 MB, free: 23.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.4061, allocations: 69.53 kB / 482 MB, free: 23.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.4087, allocations: 2.251 MB / 484.2 MB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.4091, allocations: 25.58 kB / 484.3 MB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.4091, allocations: 16.88 kB / 484.3 MB, free: 21.18 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.0001915/0.4093, allocations: 160.1 kB / 484.4 MB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.85e-05/0.4094, allocations: 25.16 kB / 484.5 MB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.4095, allocations: 34.3 kB / 484.5 MB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4095, allocations: 6.562 kB / 484.5 MB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4095, allocations: 0 / 484.5 MB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008714/0.4104, allocations: 0.6471 MB / 485.1 MB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.4117, allocations: 0.8119 MB / 485.9 MB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4117, allocations: 0 / 485.9 MB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.4118, allocations: 43.89 kB / 486 MB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006226/0.4125, allocations: 138.5 kB / 486.1 MB, free: 19.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.4125, allocations: 7.906 kB / 486.1 MB, free: 19.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/0.415, allocations: 2.145 MB / 488.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.415, allocations: 9.719 kB / 488.3 MB, free: 18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.4162, allocations: 0.557 MB / 488.8 MB, free: 17.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.4163, allocations: 99.98 kB / 488.9 MB, free: 17.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.4164, allocations: 8.375 kB / 489 MB, free: 17.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.4167, allocations: 23.41 kB / 489 MB, free: 17.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.4168, allocations: 31.08 kB / 489 MB, free: 17.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.4169, allocations: 12.48 kB / 489 MB, free: 17.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002732/0.4171, allocations: 196 kB / 489.2 MB, free: 17.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4171, allocations: 0 / 489.2 MB, free: 17.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006619/0.4178, allocations: 99.28 kB / 489.3 MB, free: 17.41 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.0003209/0.4181, allocations: 121.7 kB / 489.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.4192, allocations: 430.8 kB / 489.8 MB, free: 17.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4193, allocations: 4.125 kB / 489.8 MB, free: 17.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006824/0.42, allocations: 292.7 kB / 490.1 MB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.421, allocations: 166.2 kB / 490.3 MB, free: 16.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.4225, allocations: 0.7616 MB / 491.1 MB, free: 16.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.4227, allocations: 0.7673 MB / 491.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002877/0.423, allocations: 51.47 kB / 491.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.735e-05/0.4231, allocations: 27.91 kB / 491.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4231, allocations: 0 / 491.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of Templates: time 0.01684/0.44, allocations: 7.08 MB / 499 MB, free: 15.23 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)