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.001263/0.001263, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001475/0.001475, allocations: 177.3 kB / 15.95 MB, free: 216 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.41/1.41, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.387/0.387, allocations: 54.98 MB / 325.4 MB, free: 0.707 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.000542/0.0005421, allocations: 12 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3247, allocations: 60.71 MB / 457.3 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.008773/0.3336, allocations: 9.926 MB / 467.2 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.3355, allocations: 1.566 MB / 468.8 MB, free: 34.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.3357, allocations: 2.969 kB / 468.8 MB, free: 34.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.3363, allocations: 145.9 kB / 468.9 MB, free: 34.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.3367, allocations: 208.3 kB / 469.1 MB, free: 33.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.3373, allocations: 251.4 kB / 469.4 MB, free: 33.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.3378, allocations: 456.2 kB / 469.8 MB, free: 33.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3379, allocations: 68.78 kB / 469.9 MB, free: 33.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.3385, allocations: 329.5 kB / 470.2 MB, free: 33.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.3387, allocations: 154.9 kB / 470.4 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.3387, allocations: 13.69 kB / 470.4 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.339, allocations: 116.2 kB / 470.5 MB, free: 33.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.339, allocations: 68.98 kB / 470.6 MB, free: 33.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.3391, allocations: 86.14 kB / 470.7 MB, free: 33.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.3394, allocations: 348.5 kB / 471 MB, free: 33.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3394, allocations: 0 / 471 MB, free: 33.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3394, allocations: 0 / 471 MB, free: 33.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3394, allocations: 0 / 471 MB, free: 33.15 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.0006067/0.3401, allocations: 0.5206 MB / 471.5 MB, free: 32.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3401, allocations: 7.969 kB / 471.5 MB, free: 32.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005997/0.3407, allocations: 77.97 kB / 471.6 MB, free: 32.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.341, allocations: 270 kB / 471.9 MB, free: 32.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3411, allocations: 24.25 kB / 471.9 MB, free: 32.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.3411, allocations: 23.16 kB / 471.9 MB, free: 32.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.3416, allocations: 336.2 kB / 472.2 MB, free: 32.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.3417, allocations: 0 / 472.2 MB, free: 32.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.3417, allocations: 10.78 kB / 472.2 MB, free: 32.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3417, allocations: 12.88 kB / 472.3 MB, free: 32.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.3422, allocations: 224.3 kB / 472.5 MB, free: 32.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.3437, allocations: 1.685 MB / 474.2 MB, free: 30.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.344, allocations: 190.2 kB / 474.4 MB, free: 30.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3441, allocations: 3.094 kB / 474.4 MB, free: 30.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.3441, allocations: 40.44 kB / 474.4 MB, free: 30.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.452e-06/0.3441, allocations: 0 / 474.4 MB, free: 30.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.003505/0.3476, allocations: 1.249 MB / 475.6 MB, free: 29.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.3477, allocations: 54.38 kB / 475.7 MB, free: 29.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.3479, allocations: 281.2 kB / 476 MB, free: 29.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.348, allocations: 32.58 kB / 476 MB, free: 29.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.3481, allocations: 180 kB / 476.2 MB, free: 29.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.3481, allocations: 90.06 kB / 476.3 MB, free: 29.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.3482, allocations: 6.375 kB / 476.3 MB, free: 29.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.654e-05/0.3482, allocations: 341.3 kB / 476.6 MB, free: 28.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.3485, allocations: 95.23 kB / 476.7 MB, free: 28.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.3487, allocations: 188.7 kB / 476.9 MB, free: 28.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.349, allocations: 130.9 kB / 477 MB, free: 28.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.349, allocations: 0 / 477 MB, free: 28.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009615/0.35, allocations: 444.7 kB / 477.4 MB, free: 28.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.35, allocations: 9.344 kB / 477.5 MB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.35, allocations: 6.188 kB / 477.5 MB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005129/0.3506, allocations: 131.5 kB / 477.6 MB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.3509, allocations: 64.41 kB / 477.7 MB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.3534, allocations: 2.077 MB / 479.7 MB, free: 26.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.3538, allocations: 27.02 kB / 479.8 MB, free: 26.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.3538, allocations: 18.89 kB / 479.8 MB, free: 26.72 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.0001416/0.354, allocations: 149.8 kB / 479.9 MB, free: 26.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.354, allocations: 24.5 kB / 479.9 MB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.87e-05/0.3541, allocations: 35.53 kB / 480 MB, free: 26.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3541, allocations: 2.594 kB / 480 MB, free: 26.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3541, allocations: 3.281 kB / 480 MB, free: 26.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008387/0.355, allocations: 0.635 MB / 480.6 MB, free: 26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.3564, allocations: 0.8218 MB / 481.4 MB, free: 25.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3564, allocations: 0 / 481.4 MB, free: 25.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.3566, allocations: 38.98 kB / 481.5 MB, free: 25.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006014/0.3572, allocations: 142.3 kB / 481.6 MB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.3572, allocations: 11.03 kB / 481.6 MB, free: 25.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/0.3597, allocations: 1.975 MB / 483.6 MB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3597, allocations: 4.75 kB / 483.6 MB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.3607, allocations: 0.6039 MB / 484.2 MB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.861e-05/0.3608, allocations: 99.69 kB / 484.3 MB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.3609, allocations: 10.41 kB / 484.3 MB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.3612, allocations: 20.78 kB / 484.3 MB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.3613, allocations: 27.8 kB / 484.4 MB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.3613, allocations: 13.31 kB / 484.4 MB, free: 23.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.3615, allocations: 201.4 kB / 484.6 MB, free: 23.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3615, allocations: 0 / 484.6 MB, free: 23.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006206/0.3622, allocations: 100.8 kB / 484.7 MB, free: 23.07 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.0001895/0.3624, allocations: 129.8 kB / 484.8 MB, free: 22.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008807/0.3632, allocations: 415 kB / 485.2 MB, free: 22.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3633, allocations: 3.094 kB / 485.2 MB, free: 22.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.3639, allocations: 287.9 kB / 485.5 MB, free: 22.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008379/0.3647, allocations: 158.3 kB / 485.6 MB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3659, allocations: 0.7764 MB / 486.4 MB, free: 22.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.3661, allocations: 0.7714 MB / 487.2 MB, free: 21.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003065/0.3665, allocations: 49.86 kB / 487.2 MB, free: 21.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.3665, allocations: 28.88 kB / 487.3 MB, free: 21.34 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3665, allocations: 0 / 487.3 MB, free: 21.34 MB / 382.1 MB Notification: Performance of Templates: time 0.01205/0.3786, allocations: 6.535 MB / 493.8 MB, free: 20.94 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: