Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 109.7 kB / 17.06 MB, free: 5.824 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.001078/0.001078, allocations: 191 kB / 18 MB, free: 4.977 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.413/1.413, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 47.92 kB / 327.9 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1126, allocations: 46.62 MB / 374.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.2562/0.3689, allocations: 15.84 MB / 390.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.3719, allocations: 1.917 MB / 392.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.3722, allocations: 4.469 kB / 392.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.3729, allocations: 170.9 kB / 392.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005999/0.3735, allocations: 312.6 kB / 392.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.3742, allocations: 278 kB / 393 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009673/0.3751, allocations: 0.8418 MB / 393.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.3754, allocations: 102.1 kB / 394 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000925/0.3763, allocations: 0.5173 MB / 394.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/0.3766, allocations: 277.8 kB / 394.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.3767, allocations: 28.38 kB / 394.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.3768, allocations: 36.78 kB / 394.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.3769, allocations: 85.02 kB / 394.9 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.3771, allocations: 187.6 kB / 395.1 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005692/0.3777, allocations: 435.6 kB / 395.5 MB, free: 1.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3777, allocations: 3.938 kB / 395.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3777, allocations: 0 / 395.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.3777, allocations: 0.6094 kB / 395.5 MB, free: 1.289 MB / 318.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.0009301/0.3787, allocations: 0.5772 MB / 396.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3787, allocations: 12.92 kB / 396.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/0.379, allocations: 43.38 kB / 396.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.3795, allocations: 288.8 kB / 396.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.3795, allocations: 19.56 kB / 396.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.3796, allocations: 27.12 kB / 396.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.3801, allocations: 306 kB / 396.8 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.3801, allocations: 5.938 kB / 396.8 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.3801, allocations: 10.75 kB / 396.8 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3802, allocations: 10.97 kB / 396.8 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.3806, allocations: 195 kB / 397 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.3825, allocations: 1.434 MB / 398.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.3829, allocations: 178.7 kB / 398.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.3831, allocations: 89.47 kB / 398.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.3831, allocations: 7.797 kB / 398.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.3832, allocations: 36.44 kB / 398.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.983e-06/0.3832, allocations: 5.156 kB / 398.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.00283/0.386, allocations: 0.9993 MB / 399.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3861, allocations: 57.88 kB / 399.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.3864, allocations: 262.9 kB / 400.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.3865, allocations: 30.89 kB / 400.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3866, allocations: 178 kB / 400.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.3867, allocations: 93.78 kB / 400.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.3868, allocations: 63.45 kB / 400.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.387, allocations: 336.7 kB / 400.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.3871, allocations: 91.77 kB / 400.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.3874, allocations: 172.4 kB / 401 MB, free: 13.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.3878, allocations: 287.5 kB / 401.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3878, allocations: 0 / 401.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007163/0.3885, allocations: 392.9 kB / 401.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3886, allocations: 5.469 kB / 401.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.3886, allocations: 5.828 kB / 401.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/0.3889, allocations: 60.28 kB / 401.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.3892, allocations: 68.28 kB / 401.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.3916, allocations: 2.878 MB / 404.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.3919, allocations: 9.953 kB / 404.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.3919, allocations: 18.38 kB / 404.7 MB, free: 9.867 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.3921, allocations: 153.5 kB / 404.9 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.3921, allocations: 29.97 kB / 404.9 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.381e-05/0.3922, allocations: 40.47 kB / 404.9 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3923, allocations: 4.578 kB / 404.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3923, allocations: 3.156 kB / 404.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006549/0.3929, allocations: 0.5557 MB / 405.5 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.3941, allocations: 0.7006 MB / 406.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3941, allocations: 0 / 406.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.3943, allocations: 52.17 kB / 406.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002343/0.3946, allocations: 47.03 kB / 406.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.3946, allocations: 7.938 kB / 406.3 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.3959, allocations: 1.489 MB / 407.8 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3959, allocations: 1.375 kB / 407.8 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007823/0.3967, allocations: 480.2 kB / 408.3 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/0.3968, allocations: 105.3 kB / 408.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.3969, allocations: 10.5 kB / 408.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3971, allocations: 1.375 kB / 408.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.3971, allocations: 19.28 kB / 408.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.3972, allocations: 13.28 kB / 408.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.3974, allocations: 187.4 kB / 408.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3974, allocations: 0 / 408.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004361/0.3978, allocations: 90.31 kB / 408.7 MB, free: 6.617 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (24): * Single equations (assignments): 23 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000152/0.398, allocations: 107 kB / 408.8 MB, free: 6.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008988/0.3989, allocations: 482.2 kB / 409.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3989, allocations: 0 / 409.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.3993, allocations: 239.5 kB / 409.5 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/0.4003, allocations: 160.8 kB / 409.6 MB, free: 6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.4018, allocations: 0.6904 MB / 410.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.4022, allocations: 0.764 MB / 411.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.4024, allocations: 51.86 kB / 411.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.946e-05/0.4025, allocations: 25.75 kB / 411.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of SimCode: time 1.083e-06/0.4025, allocations: 1.094 kB / 411.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of Templates: time 0.01173/0.4143, allocations: 5.741 MB / 416.9 MB, free: 2.254 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)