Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.0008566/0.0008566, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005122/0.005122, allocations: 169.6 kB / 16.27 MB, free: 6.648 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.475/1.475, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.0005299/0.0005299, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.261, allocations: 47.59 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01636/0.2775, allocations: 15.43 MB / 342.5 MB, free: 3.891 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.2801, allocations: 1.905 MB / 344.4 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.2804, allocations: 4 kB / 344.4 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005558/0.281, allocations: 143.2 kB / 344.5 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000683/0.2817, allocations: 302.5 kB / 344.8 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006877/0.2824, allocations: 263.6 kB / 345.1 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.2837, allocations: 1.301 MB / 346.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.284, allocations: 76.67 kB / 346.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.285, allocations: 458.1 kB / 346.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.2854, allocations: 274.8 kB / 347.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.2854, allocations: 16 kB / 347.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.2855, allocations: 20 kB / 347.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2857, allocations: 83.7 kB / 347.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.2859, allocations: 185 kB / 347.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.2863, allocations: 420 kB / 347.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2863, allocations: 0 / 347.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2863, allocations: 0 / 347.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.2864, allocations: 0 / 347.9 MB, free: 14.46 MB / 286.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.0009109/0.2873, allocations: 0.5226 MB / 348.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2873, allocations: 8.031 kB / 348.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.2876, allocations: 40.56 kB / 348.4 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.288, allocations: 283.7 kB / 348.7 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.288, allocations: 16.94 kB / 348.7 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.2881, allocations: 24.38 kB / 348.8 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005477/0.2886, allocations: 311.8 kB / 349.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.2887, allocations: 0 / 349.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.2887, allocations: 12 kB / 349.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.2887, allocations: 4 kB / 349.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.2891, allocations: 201.5 kB / 349.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.2908, allocations: 1.432 MB / 350.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.2911, allocations: 178.6 kB / 350.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.2913, allocations: 88.83 kB / 351 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.2913, allocations: 8 kB / 351 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.2914, allocations: 34.56 kB / 351 MB, free: 11.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.2914, allocations: 0 / 351 MB, free: 11.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002528/0.2939, allocations: 1.008 MB / 352 MB, free: 9.988 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.294, allocations: 51.41 kB / 352.1 MB, free: 9.926 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.2942, allocations: 262.5 kB / 352.3 MB, free: 9.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2943, allocations: 33.7 kB / 352.4 MB, free: 9.621 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2944, allocations: 176.2 kB / 352.5 MB, free: 9.445 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.2945, allocations: 98.64 kB / 352.6 MB, free: 9.348 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.2945, allocations: 33.7 kB / 352.7 MB, free: 9.309 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2946, allocations: 334.8 kB / 353 MB, free: 8.973 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.2948, allocations: 91.69 kB / 353.1 MB, free: 8.883 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.295, allocations: 186.9 kB / 353.3 MB, free: 8.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.2954, allocations: 287 kB / 353.5 MB, free: 8.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2955, allocations: 8 kB / 353.6 MB, free: 8.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006905/0.2962, allocations: 374.7 kB / 353.9 MB, free: 7.953 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.2962, allocations: 4.375 kB / 353.9 MB, free: 7.949 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2962, allocations: 11.94 kB / 353.9 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/0.2965, allocations: 65.66 kB / 354 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.2968, allocations: 67.91 kB / 354.1 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.2991, allocations: 2.681 MB / 356.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.2995, allocations: 23.92 kB / 356.8 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.2995, allocations: 12 kB / 356.8 MB, free: 4.816 MB / 286.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.0001954/0.2997, allocations: 153.8 kB / 356.9 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.2998, allocations: 27.66 kB / 357 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.812e-05/0.2999, allocations: 38.17 kB / 357 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2999, allocations: 4 kB / 357 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.2999, allocations: 0 / 357 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006645/0.3006, allocations: 0.5669 MB / 357.6 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.3017, allocations: 0.699 MB / 358.3 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3017, allocations: 3.938 kB / 358.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.3019, allocations: 43.97 kB / 358.3 MB, free: 3.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002922/0.3022, allocations: 60.73 kB / 358.4 MB, free: 3.062 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.3022, allocations: 11.98 kB / 358.4 MB, free: 3.051 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.3034, allocations: 1.386 MB / 359.8 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3034, allocations: 0 / 359.8 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007029/0.3042, allocations: 485 kB / 360.2 MB, free: 1.035 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/0.3042, allocations: 100.8 kB / 360.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.3043, allocations: 7.984 kB / 360.3 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3045, allocations: 15.94 kB / 360.4 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.3046, allocations: 15.97 kB / 360.4 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3046, allocations: 8 kB / 360.4 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.3048, allocations: 190 kB / 360.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3048, allocations: 0 / 360.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004269/0.3052, allocations: 92 kB / 360.7 MB, free: 0.5938 MB / 286.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.0001707/0.3054, allocations: 107.2 kB / 360.8 MB, free: 492 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007681/0.3062, allocations: 474 kB / 361.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3062, allocations: 0 / 361.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.3066, allocations: 242.5 kB / 361.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.3077, allocations: 148.4 kB / 361.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3091, allocations: 0.8634 MB / 362.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.3095, allocations: 0.7606 MB / 363.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.3098, allocations: 54.94 kB / 363.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/0.3099, allocations: 27.44 kB / 363.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3099, allocations: 3.938 kB / 363.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01079/0.3207, allocations: 5.441 MB / 368.8 MB, free: 8.402 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)