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.001022/0.001022, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001198/0.001197, allocations: 198.6 kB / 16.14 MB, free: 6.66 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.459/1.459, allocations: 205.1 MB / 222 MB, free: 4.754 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.0012/0.0012, allocations: 55.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2959, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.0178/0.3138, allocations: 15.98 MB / 340.7 MB, free: 4.133 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.3167, allocations: 1.924 MB / 342.6 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.3171, allocations: 4 kB / 342.6 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000671/0.3178, allocations: 139.2 kB / 342.7 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006562/0.3184, allocations: 310.5 kB / 343 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.3192, allocations: 259.6 kB / 343.3 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.3206, allocations: 1.289 MB / 344.6 MB, free: 216 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.3208, allocations: 72.69 kB / 344.7 MB, free: 140 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.322, allocations: 462.1 kB / 345.1 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.3224, allocations: 290.8 kB / 345.4 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.3224, allocations: 16 kB / 345.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.3226, allocations: 20 kB / 345.4 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.3227, allocations: 83.72 kB / 345.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.3229, allocations: 167.2 kB / 345.7 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.3233, allocations: 423.9 kB / 346.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3233, allocations: 0 / 346.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3233, allocations: 0 / 346.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3234, allocations: 0 / 346.1 MB, free: 14.7 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.001033/0.3244, allocations: 0.5772 MB / 346.7 MB, free: 14.08 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3244, allocations: 8.031 kB / 346.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/0.3248, allocations: 44.55 kB / 346.7 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.3252, allocations: 283.7 kB / 347 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.3252, allocations: 24.94 kB / 347 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.3252, allocations: 28.31 kB / 347 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.3257, allocations: 299.9 kB / 347.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3258, allocations: 7.938 kB / 347.3 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.3258, allocations: 8 kB / 347.3 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3258, allocations: 12 kB / 347.4 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.3262, allocations: 189.6 kB / 347.5 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.3279, allocations: 1.436 MB / 349 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.3282, allocations: 183.1 kB / 349.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.3284, allocations: 88.83 kB / 349.2 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.3284, allocations: 4 kB / 349.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3284, allocations: 38.5 kB / 349.3 MB, free: 11.24 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 3.206e-06/0.3284, allocations: 0 / 349.3 MB, free: 11.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002479/0.3309, allocations: 1.011 MB / 350.3 MB, free: 10.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.331, allocations: 59.41 kB / 350.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.3313, allocations: 258.6 kB / 350.6 MB, free: 9.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3313, allocations: 29.7 kB / 350.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.3314, allocations: 172.2 kB / 350.8 MB, free: 9.613 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.3315, allocations: 94.64 kB / 350.9 MB, free: 9.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.3316, allocations: 69.39 kB / 351 MB, free: 9.445 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3317, allocations: 338.8 kB / 351.3 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.3319, allocations: 87.95 kB / 351.4 MB, free: 9.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.3321, allocations: 182.9 kB / 351.6 MB, free: 8.801 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.3325, allocations: 291 kB / 351.8 MB, free: 8.477 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3325, allocations: 4 kB / 351.9 MB, free: 8.473 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006537/0.3332, allocations: 378.8 kB / 352.2 MB, free: 8.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3332, allocations: 8 kB / 352.2 MB, free: 8.082 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3332, allocations: 0 / 352.2 MB, free: 8.082 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/0.3335, allocations: 61.67 kB / 352.3 MB, free: 8.016 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.3338, allocations: 67.91 kB / 352.4 MB, free: 7.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.336, allocations: 2.674 MB / 355 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.3362, allocations: 28.03 kB / 355.1 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.3363, allocations: 15.98 kB / 355.1 MB, free: 4.965 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.0001794/0.3365, allocations: 153.7 kB / 355.2 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.3365, allocations: 27.66 kB / 355.3 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.125e-05/0.3366, allocations: 38.17 kB / 355.3 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3366, allocations: 0 / 355.3 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3366, allocations: 4 kB / 355.3 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006099/0.3372, allocations: 0.5593 MB / 355.9 MB, free: 4.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.3383, allocations: 0.7066 MB / 356.6 MB, free: 3.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3383, allocations: 0 / 356.6 MB, free: 3.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.3385, allocations: 39.98 kB / 356.6 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002581/0.3388, allocations: 68.59 kB / 356.7 MB, free: 3.211 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.3388, allocations: 12 kB / 356.7 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.3399, allocations: 1.378 MB / 358.1 MB, free: 1.688 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3399, allocations: 3.938 kB / 358.1 MB, free: 1.684 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/0.3406, allocations: 473 kB / 358.5 MB, free: 1.199 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.3407, allocations: 100.8 kB / 358.6 MB, free: 1.082 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.3408, allocations: 8 kB / 358.6 MB, free: 1.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.341, allocations: 11.94 kB / 358.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.341, allocations: 23.91 kB / 358.7 MB, free: 1.039 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.3411, allocations: 11.98 kB / 358.7 MB, free: 1.027 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001726/0.3412, allocations: 190 kB / 358.9 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3412, allocations: 0 / 358.9 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.3417, allocations: 88 kB / 358.9 MB, free: 0.7539 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.0001424/0.3418, allocations: 99.23 kB / 359 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007531/0.3426, allocations: 490 kB / 359.5 MB, free: 148 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3426, allocations: 0 / 359.5 MB, free: 148 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.343, allocations: 234.5 kB / 359.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/0.3439, allocations: 156.3 kB / 359.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.3451, allocations: 0.7829 MB / 360.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3454, allocations: 0.7606 MB / 361.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002855/0.3457, allocations: 54.94 kB / 361.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.3458, allocations: 31.44 kB / 361.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3458, allocations: 0 / 361.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of Templates: time 0.009605/0.3554, allocations: 5.423 MB / 367 MB, free: 8.652 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)