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.0009453/0.0009454, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001054/0.001054, allocations: 168.7 kB / 15.95 MB, free: 204 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.635/1.635, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.0004993/0.0004995, allocations: 16 kB / 278.9 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2862, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01587/0.3021, allocations: 14.54 MB / 341 MB, free: 4.926 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.3048, allocations: 1.8 MB / 342.8 MB, free: 3.121 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.3051, allocations: 7.938 kB / 342.8 MB, free: 3.113 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.3057, allocations: 123.3 kB / 343 MB, free: 2.992 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006731/0.3063, allocations: 298.4 kB / 343.2 MB, free: 2.699 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.307, allocations: 227.6 kB / 343.5 MB, free: 2.477 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.3081, allocations: 1.067 MB / 344.5 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.3083, allocations: 60.7 kB / 344.6 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009726/0.3093, allocations: 434.2 kB / 345 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.3097, allocations: 267 kB / 345.3 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.3098, allocations: 12 kB / 345.3 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.3099, allocations: 20 kB / 345.3 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.31, allocations: 71.77 kB / 345.4 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.238e-05/0.3101, allocations: 97.52 kB / 345.5 MB, free: 464 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.3105, allocations: 328.5 kB / 345.8 MB, free: 136 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3105, allocations: 0 / 345.8 MB, free: 136 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3105, allocations: 0 / 345.8 MB, free: 136 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.3105, allocations: 0 / 345.8 MB, free: 136 kB / 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.0009217/0.3114, allocations: 0.5263 MB / 346.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3115, allocations: 8.031 kB / 346.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.3118, allocations: 39.62 kB / 346.4 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.3121, allocations: 266.6 kB / 346.6 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.3122, allocations: 16.56 kB / 346.6 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.3122, allocations: 27.91 kB / 346.7 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.3127, allocations: 307.6 kB / 347 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.3128, allocations: 4 kB / 347 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.3128, allocations: 11.94 kB / 347 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3128, allocations: 8 kB / 347 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.3132, allocations: 197.6 kB / 347.2 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.3148, allocations: 1.425 MB / 348.6 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.3151, allocations: 187.1 kB / 348.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.3153, allocations: 89.2 kB / 348.9 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.3153, allocations: 192 / 348.9 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3154, allocations: 34.75 kB / 348.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.3154, allocations: 0 / 348.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002462/0.3179, allocations: 1.017 MB / 349.9 MB, free: 11.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.3179, allocations: 55.41 kB / 350 MB, free: 11.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.3182, allocations: 258.5 kB / 350.2 MB, free: 11.33 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.3183, allocations: 37.64 kB / 350.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3184, allocations: 172.2 kB / 350.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.3185, allocations: 94.72 kB / 350.5 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.3185, allocations: 7.938 kB / 350.5 MB, free: 11.02 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3186, allocations: 342.8 kB / 350.9 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.3188, allocations: 83.75 kB / 351 MB, free: 10.59 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.319, allocations: 182.9 kB / 351.1 MB, free: 10.37 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.3192, allocations: 119.9 kB / 351.3 MB, free: 10.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3192, allocations: 0 / 351.3 MB, free: 10.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007011/0.3199, allocations: 382.6 kB / 351.6 MB, free: 9.867 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.32, allocations: 8 kB / 351.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.32, allocations: 4 kB / 351.6 MB, free: 9.855 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002754/0.3203, allocations: 66.03 kB / 351.7 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.3206, allocations: 71.86 kB / 351.8 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.3228, allocations: 2.674 MB / 354.5 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.3231, allocations: 27.98 kB / 354.5 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.3231, allocations: 16 kB / 354.5 MB, free: 6.73 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.0001788/0.3233, allocations: 145.8 kB / 354.6 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.3234, allocations: 23.72 kB / 354.7 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.339e-05/0.3235, allocations: 42.12 kB / 354.7 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3235, allocations: 4 kB / 354.7 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3235, allocations: 0 / 354.7 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006496/0.3242, allocations: 0.567 MB / 355.3 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.3252, allocations: 0.6989 MB / 356 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3253, allocations: 7.969 kB / 356 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.3255, allocations: 35.98 kB / 356 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/0.3257, allocations: 56.78 kB / 356.1 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3258, allocations: 11.98 kB / 356.1 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.3269, allocations: 1.401 MB / 357.5 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3269, allocations: 4.031 kB / 357.5 MB, free: 3.441 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006796/0.3276, allocations: 473.1 kB / 358 MB, free: 2.957 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.3277, allocations: 100.8 kB / 358.1 MB, free: 2.84 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.3278, allocations: 4 kB / 358.1 MB, free: 2.836 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.328, allocations: 20.05 kB / 358.1 MB, free: 2.816 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.3281, allocations: 19.97 kB / 358.1 MB, free: 2.797 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.3281, allocations: 8 kB / 358.1 MB, free: 2.789 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.3283, allocations: 186 kB / 358.3 MB, free: 2.605 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3283, allocations: 0 / 358.3 MB, free: 2.605 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.3287, allocations: 88 kB / 358.4 MB, free: 2.52 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.0001428/0.3289, allocations: 107.2 kB / 358.5 MB, free: 2.406 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007651/0.3296, allocations: 473.2 kB / 358.9 MB, free: 1.918 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3297, allocations: 0 / 358.9 MB, free: 1.918 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.33, allocations: 231.4 kB / 359.2 MB, free: 1.68 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009075/0.331, allocations: 164.3 kB / 359.3 MB, free: 1.52 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.3323, allocations: 0.8308 MB / 360.2 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.3327, allocations: 0.7645 MB / 360.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002947/0.333, allocations: 50.94 kB / 361 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.3331, allocations: 27.44 kB / 361 MB, free: 15.8 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3331, allocations: 0 / 361 MB, free: 15.8 MB / 302.1 MB Notification: Performance of Templates: time 0.01095/0.344, allocations: 5.262 MB / 366.3 MB, free: 10.54 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)