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.000895/0.0008955, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007315/0.007315, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.689/1.689, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4943/0.4943, allocations: 55.02 MB / 325.8 MB, free: 0.5547 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.00105/0.001049, allocations: 12 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4679, allocations: 60.71 MB / 458 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.01212/0.4801, allocations: 14.7 MB / 472.7 MB, free: 31.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.4829, allocations: 2.12 MB / 474.8 MB, free: 29.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.4833, allocations: 10.66 kB / 474.8 MB, free: 29.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.484, allocations: 142.4 kB / 474.9 MB, free: 29.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007165/0.4847, allocations: 313.3 kB / 475.2 MB, free: 29.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008433/0.4856, allocations: 287.1 kB / 475.5 MB, free: 29.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.4868, allocations: 1.262 MB / 476.8 MB, free: 28.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.487, allocations: 72.48 kB / 476.9 MB, free: 28.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007223/0.4877, allocations: 443.4 kB / 477.3 MB, free: 28.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.488, allocations: 269 kB / 477.6 MB, free: 28.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.4881, allocations: 15.53 kB / 477.6 MB, free: 28.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.4883, allocations: 108.9 kB / 477.7 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.4884, allocations: 71.52 kB / 477.7 MB, free: 28.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.4886, allocations: 182.3 kB / 477.9 MB, free: 28.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.489, allocations: 448.8 kB / 478.4 MB, free: 28.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.489, allocations: 3.328 kB / 478.4 MB, free: 28.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.489, allocations: 0 / 478.4 MB, free: 28.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.489, allocations: 0 / 478.4 MB, free: 28.36 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.0006652/0.4897, allocations: 0.5171 MB / 478.9 MB, free: 27.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.4897, allocations: 8.125 kB / 478.9 MB, free: 27.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006542/0.4904, allocations: 76.28 kB / 479 MB, free: 27.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.4908, allocations: 280.1 kB / 479.2 MB, free: 27.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.4908, allocations: 12.66 kB / 479.2 MB, free: 27.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.079e-05/0.4909, allocations: 27.89 kB / 479.3 MB, free: 27.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000599/0.4915, allocations: 346 kB / 479.6 MB, free: 27.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.4915, allocations: 3.75 kB / 479.6 MB, free: 27.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.4916, allocations: 10.78 kB / 479.6 MB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.4916, allocations: 12.41 kB / 479.6 MB, free: 27.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.4921, allocations: 224.5 kB / 479.9 MB, free: 27.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.4935, allocations: 1.689 MB / 481.5 MB, free: 25.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.4939, allocations: 195.1 kB / 481.7 MB, free: 25.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.494, allocations: 93.61 kB / 481.8 MB, free: 25.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.4941, allocations: 2.875 kB / 481.8 MB, free: 25.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.4941, allocations: 34.56 kB / 481.9 MB, free: 25.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.332e-06/0.4941, allocations: 0 / 481.9 MB, free: 25.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.003516/0.4976, allocations: 1.253 MB / 483.1 MB, free: 24.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.4977, allocations: 57.73 kB / 483.2 MB, free: 24.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.498, allocations: 276.1 kB / 483.4 MB, free: 24.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.498, allocations: 32.8 kB / 483.5 MB, free: 24.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.4981, allocations: 177 kB / 483.6 MB, free: 24.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.4982, allocations: 92.88 kB / 483.7 MB, free: 24.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.4983, allocations: 39.62 kB / 483.8 MB, free: 24.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.4984, allocations: 340.5 kB / 484.1 MB, free: 24.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.4986, allocations: 99.72 kB / 484.2 MB, free: 24.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.4989, allocations: 189.2 kB / 484.4 MB, free: 23.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.4994, allocations: 295.9 kB / 484.7 MB, free: 23.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4994, allocations: 0 / 484.7 MB, free: 23.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009828/0.5004, allocations: 452.2 kB / 485.1 MB, free: 23.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5004, allocations: 5.938 kB / 485.1 MB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5004, allocations: 3.656 kB / 485.1 MB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005184/0.501, allocations: 130.3 kB / 485.3 MB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.5013, allocations: 65.22 kB / 485.3 MB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.5038, allocations: 2.046 MB / 487.4 MB, free: 21.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.5041, allocations: 31.58 kB / 487.4 MB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.5042, allocations: 12.91 kB / 487.4 MB, free: 21.73 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.0001467/0.5043, allocations: 150.8 kB / 487.6 MB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.5044, allocations: 32.58 kB / 487.6 MB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.951e-05/0.5045, allocations: 38.12 kB / 487.6 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5045, allocations: 6.797 kB / 487.6 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5045, allocations: 0.6875 kB / 487.6 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008458/0.5053, allocations: 0.633 MB / 488.3 MB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.5066, allocations: 0.8162 MB / 489.1 MB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5066, allocations: 0 / 489.1 MB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.5068, allocations: 43.53 kB / 489.1 MB, free: 20.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005841/0.5074, allocations: 133.7 kB / 489.3 MB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.5074, allocations: 10.83 kB / 489.3 MB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/0.5097, allocations: 1.959 MB / 491.2 MB, free: 18.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5097, allocations: 4.031 kB / 491.2 MB, free: 18.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.5108, allocations: 0.5555 MB / 491.8 MB, free: 18.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.5109, allocations: 108.9 kB / 491.9 MB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.5109, allocations: 6.844 kB / 491.9 MB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.5112, allocations: 17.56 kB / 491.9 MB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.5113, allocations: 30.47 kB / 491.9 MB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.5113, allocations: 13.91 kB / 492 MB, free: 18.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.5115, allocations: 195.4 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5115, allocations: 0 / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000566/0.5121, allocations: 107 kB / 492.3 MB, free: 18.15 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.0002711/0.5124, allocations: 116.9 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009933/0.5134, allocations: 423.8 kB / 492.8 MB, free: 17.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5134, allocations: 0 / 492.8 MB, free: 17.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007035/0.5141, allocations: 291.1 kB / 493.1 MB, free: 17.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.5153, allocations: 165.7 kB / 493.2 MB, free: 17.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.5167, allocations: 0.814 MB / 494 MB, free: 17.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.5171, allocations: 0.7655 MB / 494.8 MB, free: 16.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003011/0.5174, allocations: 52.94 kB / 494.9 MB, free: 16.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.5175, allocations: 26.31 kB / 494.9 MB, free: 16.39 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5175, allocations: 4 kB / 494.9 MB, free: 16.38 MB / 382.1 MB Notification: Performance of Templates: time 0.0174/0.5349, allocations: 6.742 MB / 0.4899 GB, free: 15.96 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: