Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001168/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001317/0.001317, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.447/1.447, allocations: 205.1 MB / 222 MB, free: 5.012 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.001484/0.001484, allocations: 51.91 kB / 278.1 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.274, allocations: 46.62 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.02176/0.2958, allocations: 15.98 MB / 340.7 MB, free: 4.16 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.2984, allocations: 1.912 MB / 342.6 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.2986, allocations: 7.938 kB / 342.6 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005737/0.2992, allocations: 147.2 kB / 342.7 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.2997, allocations: 310.4 kB / 343 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.3004, allocations: 255.6 kB / 343.3 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.3015, allocations: 1.293 MB / 344.6 MB, free: 244 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.3016, allocations: 76.69 kB / 344.7 MB, free: 164 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008559/0.3025, allocations: 470.1 kB / 345.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.3029, allocations: 279 kB / 345.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.3029, allocations: 16 kB / 345.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.303, allocations: 24 kB / 345.4 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3031, allocations: 83.66 kB / 345.5 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.3033, allocations: 159.3 kB / 345.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.3037, allocations: 428 kB / 346.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3037, allocations: 4 kB / 346.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3037, allocations: 0 / 346.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3038, allocations: 0 / 346.1 MB, free: 14.73 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.0009508/0.3047, allocations: 0.5733 MB / 346.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3048, allocations: 8.031 kB / 346.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.3051, allocations: 44.55 kB / 346.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.3054, allocations: 287.7 kB / 347 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3054, allocations: 20.94 kB / 347 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.3055, allocations: 24.38 kB / 347 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.306, allocations: 307.8 kB / 347.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.306, allocations: 0 / 347.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.306, allocations: 16 kB / 347.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.3061, allocations: 4 kB / 347.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.3064, allocations: 193.5 kB / 347.6 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.3081, allocations: 1.436 MB / 349 MB, free: 11.6 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.3084, allocations: 182.5 kB / 349.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.3086, allocations: 88.83 kB / 349.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.3086, allocations: 4 kB / 349.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.3087, allocations: 34.56 kB / 349.3 MB, free: 11.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/0.3087, allocations: 0 / 349.3 MB, free: 11.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002586/0.3113, allocations: 1.004 MB / 350.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.3113, allocations: 59.41 kB / 350.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.3116, allocations: 258.6 kB / 350.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.3116, allocations: 29.7 kB / 350.6 MB, free: 9.824 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3117, allocations: 176.2 kB / 350.8 MB, free: 9.648 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.3118, allocations: 90.64 kB / 350.9 MB, free: 9.559 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3119, allocations: 69.39 kB / 351 MB, free: 9.484 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.312, allocations: 342.8 kB / 351.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3122, allocations: 83.97 kB / 351.4 MB, free: 9.059 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.3124, allocations: 190.8 kB / 351.6 MB, free: 8.832 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.3128, allocations: 287 kB / 351.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3128, allocations: 4 kB / 351.8 MB, free: 8.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006613/0.3135, allocations: 378.8 kB / 352.2 MB, free: 8.125 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3135, allocations: 8 kB / 352.2 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3135, allocations: 4 kB / 352.2 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/0.3138, allocations: 57.67 kB / 352.3 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.3141, allocations: 71.84 kB / 352.4 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.3162, allocations: 2.678 MB / 355 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.3165, allocations: 27.98 kB / 355.1 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3165, allocations: 12 kB / 355.1 MB, free: 4.996 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.0001591/0.3167, allocations: 149.8 kB / 355.2 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.3168, allocations: 27.66 kB / 355.2 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.651e-05/0.3168, allocations: 38.17 kB / 355.3 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3169, allocations: 4 kB / 355.3 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3169, allocations: 4 kB / 355.3 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006053/0.3175, allocations: 0.5592 MB / 355.8 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3185, allocations: 0.7066 MB / 356.6 MB, free: 3.352 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.3185, allocations: 0 / 356.6 MB, free: 3.352 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.3188, allocations: 51.95 kB / 356.6 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/0.319, allocations: 52.92 kB / 356.7 MB, free: 3.246 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.319, allocations: 4 kB / 356.7 MB, free: 3.242 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.3201, allocations: 1.389 MB / 358.1 MB, free: 1.719 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3201, allocations: 0 / 358.1 MB, free: 1.719 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.3209, allocations: 481.1 kB / 358.5 MB, free: 1.227 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-05/0.3209, allocations: 96.81 kB / 358.6 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.321, allocations: 8 kB / 358.6 MB, free: 1.105 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.3212, allocations: 11.94 kB / 358.6 MB, free: 1.094 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.3213, allocations: 23.97 kB / 358.7 MB, free: 1.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.3213, allocations: 8.047 kB / 358.7 MB, free: 1.062 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.3215, allocations: 190 kB / 358.9 MB, free: 0.875 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3215, allocations: 0 / 358.9 MB, free: 0.875 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004272/0.3219, allocations: 88 kB / 358.9 MB, free: 0.7891 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.0001609/0.3221, allocations: 107.2 kB / 359 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007827/0.3229, allocations: 482 kB / 359.5 MB, free: 184 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3229, allocations: 0 / 359.5 MB, free: 184 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.3233, allocations: 238.5 kB / 359.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009743/0.3243, allocations: 157.8 kB / 359.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3257, allocations: 0.7867 MB / 360.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.326, allocations: 0.7567 MB / 361.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002844/0.3263, allocations: 54.94 kB / 361.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.09e-05/0.3264, allocations: 23.44 kB / 361.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3264, allocations: 0 / 361.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of Templates: time 0.009917/0.3363, allocations: 5.434 MB / 367 MB, free: 8.68 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)