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.00137/0.00137, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.001477/0.001477, allocations: 187.2 kB / 17.2 MB, free: 5.91 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.441/1.441, allocations: 205.4 MB / 223.4 MB, free: 5.52 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.0004479/0.0004479, allocations: 12 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2907, allocations: 47.59 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01325/0.304, allocations: 10.62 MB / 338.3 MB, free: 8.867 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.3062, allocations: 1.399 MB / 339.7 MB, free: 7.465 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002717/0.3065, allocations: 4 kB / 339.7 MB, free: 7.461 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006365/0.3071, allocations: 139.3 kB / 339.9 MB, free: 7.324 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000488/0.3076, allocations: 211.4 kB / 340.1 MB, free: 7.117 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006948/0.3083, allocations: 223.6 kB / 340.3 MB, free: 6.898 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005336/0.3089, allocations: 463 kB / 340.8 MB, free: 6.445 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.3091, allocations: 64.69 kB / 340.8 MB, free: 6.379 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.3097, allocations: 350.9 kB / 341.2 MB, free: 6.035 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.31, allocations: 163.4 kB / 341.3 MB, free: 5.875 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.31, allocations: 16 kB / 341.3 MB, free: 5.859 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3102, allocations: 24 kB / 341.4 MB, free: 5.836 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.296e-05/0.3102, allocations: 63.78 kB / 341.4 MB, free: 5.773 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.772e-05/0.3103, allocations: 97.45 kB / 341.5 MB, free: 5.672 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.3107, allocations: 336.5 kB / 341.8 MB, free: 5.344 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.3107, allocations: 0 / 341.8 MB, free: 5.344 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3107, allocations: 0 / 341.8 MB, free: 5.344 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3107, allocations: 0 / 341.8 MB, free: 5.344 MB / 270.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.0009721/0.3117, allocations: 0.5185 MB / 342.4 MB, free: 4.777 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.3117, allocations: 8.031 kB / 342.4 MB, free: 4.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/0.312, allocations: 43.61 kB / 342.4 MB, free: 4.727 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.3124, allocations: 266.6 kB / 342.7 MB, free: 4.426 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3125, allocations: 20.56 kB / 342.7 MB, free: 4.406 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.3125, allocations: 27.91 kB / 342.7 MB, free: 4.379 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.313, allocations: 299.6 kB / 343 MB, free: 4.055 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.313, allocations: 4 kB / 343 MB, free: 4.051 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.3131, allocations: 11.98 kB / 343 MB, free: 4.039 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.3131, allocations: 8 kB / 343 MB, free: 4.031 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.3134, allocations: 197.5 kB / 343.2 MB, free: 3.84 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.3152, allocations: 1.428 MB / 344.7 MB, free: 2.293 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.3156, allocations: 179.1 kB / 344.8 MB, free: 2.109 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.3156, allocations: 192 / 344.8 MB, free: 2.109 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.3156, allocations: 42.75 kB / 344.9 MB, free: 2.059 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/0.3156, allocations: 0 / 344.9 MB, free: 2.059 MB / 270.1 MB Notification: Performance of matching and sorting (n=26): time 0.002465/0.3181, allocations: 1.006 MB / 345.9 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.3182, allocations: 55.41 kB / 345.9 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.3184, allocations: 254.5 kB / 346.2 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.3185, allocations: 33.7 kB / 346.2 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.3186, allocations: 176.2 kB / 346.4 MB, free: 448 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/0.3187, allocations: 94.73 kB / 346.5 MB, free: 352 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/0.3187, allocations: 8 kB / 346.5 MB, free: 344 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3189, allocations: 342.8 kB / 346.8 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.319, allocations: 87.62 kB / 346.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.3192, allocations: 182.9 kB / 347.1 MB, free: 15.69 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.3194, allocations: 115.9 kB / 347.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3194, allocations: 4 kB / 347.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006306/0.3201, allocations: 375 kB / 347.6 MB, free: 15.19 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3201, allocations: 8 kB / 347.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3201, allocations: 0 / 347.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002755/0.3204, allocations: 69.61 kB / 347.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.3207, allocations: 67.91 kB / 347.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.3231, allocations: 2.701 MB / 350.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.3233, allocations: 19.98 kB / 350.4 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.3234, allocations: 20 kB / 350.5 MB, free: 12.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.3235, allocations: 149.7 kB / 350.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.3236, allocations: 23.72 kB / 350.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.182e-05/0.3237, allocations: 38.17 kB / 350.7 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.3237, allocations: 7.953 kB / 350.7 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3237, allocations: 0 / 350.7 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006173/0.3243, allocations: 0.5709 MB / 351.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.3254, allocations: 0.6992 MB / 351.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3254, allocations: 0 / 351.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.3256, allocations: 43.97 kB / 352 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/0.3258, allocations: 64.75 kB / 352 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.3259, allocations: 7.984 kB / 352.1 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.3271, allocations: 1.401 MB / 353.5 MB, free: 8.738 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3271, allocations: 0 / 353.5 MB, free: 8.738 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006881/0.3278, allocations: 490.3 kB / 353.9 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.3279, allocations: 100.8 kB / 354 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.3279, allocations: 8 kB / 354 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.3281, allocations: 12 kB / 354 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3282, allocations: 24.03 kB / 354.1 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.3282, allocations: 7.984 kB / 354.1 MB, free: 8.062 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.3284, allocations: 186 kB / 354.3 MB, free: 7.879 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3284, allocations: 3.938 kB / 354.3 MB, free: 7.875 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.3288, allocations: 88 kB / 354.4 MB, free: 7.789 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 (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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001431/0.329, allocations: 95.25 kB / 354.4 MB, free: 7.688 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000727/0.3297, allocations: 473.8 kB / 354.9 MB, free: 7.199 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3297, allocations: 0 / 354.9 MB, free: 7.199 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.3301, allocations: 239.3 kB / 355.1 MB, free: 6.953 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008575/0.331, allocations: 160.6 kB / 355.3 MB, free: 6.797 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.3322, allocations: 0.8307 MB / 356.1 MB, free: 5.938 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.3325, allocations: 0.7684 MB / 356.9 MB, free: 5.145 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002515/0.3327, allocations: 54.94 kB / 357 MB, free: 5.094 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.3328, allocations: 27.44 kB / 357 MB, free: 5.07 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3328, allocations: 0 / 357 MB, free: 5.07 MB / 286.1 MB Notification: Performance of Templates: time 0.009299/0.3421, allocations: 5.258 MB / 362.2 MB, free: 15.81 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: