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.0008312/0.0008312, allocations: 92.19 kB / 16.31 MB, free: 5.945 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.000877/0.000877, allocations: 178.8 kB / 17.2 MB, free: 5.859 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.474/1.474, allocations: 205.4 MB / 223.4 MB, free: 5.477 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.0006114/0.0006115, allocations: 12 kB / 280.2 MB, free: 12.89 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.307, allocations: 47.58 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01671/0.3238, allocations: 14.52 MB / 342.3 MB, free: 4.961 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.3267, allocations: 1.808 MB / 344.1 MB, free: 3.148 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005269/0.3273, allocations: 3.938 kB / 344.1 MB, free: 3.145 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000637/0.3279, allocations: 123.2 kB / 344.2 MB, free: 3.023 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008499/0.3288, allocations: 310.4 kB / 344.5 MB, free: 2.719 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007509/0.3296, allocations: 223.6 kB / 344.7 MB, free: 2.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.331, allocations: 1.059 MB / 345.8 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.3312, allocations: 68.69 kB / 345.8 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.3324, allocations: 430.2 kB / 346.3 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.3329, allocations: 271 kB / 346.5 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.333, allocations: 12 kB / 346.5 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.3331, allocations: 20 kB / 346.6 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3333, allocations: 71.72 kB / 346.6 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.3334, allocations: 89.58 kB / 346.7 MB, free: 496 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.3337, allocations: 332.5 kB / 347 MB, free: 164 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3338, allocations: 4 kB / 347 MB, free: 160 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3338, allocations: 0 / 347 MB, free: 160 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3338, allocations: 0 / 347 MB, free: 160 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.0009828/0.3348, allocations: 0.5262 MB / 347.6 MB, free: 15.58 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3348, allocations: 8.031 kB / 347.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/0.3352, allocations: 43.61 kB / 347.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.3356, allocations: 274.5 kB / 347.9 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.3356, allocations: 12.56 kB / 347.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.3357, allocations: 24 kB / 347.9 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.3362, allocations: 303.7 kB / 348.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.3363, allocations: 3.938 kB / 348.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.3363, allocations: 12 kB / 348.2 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.3363, allocations: 8 kB / 348.2 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.3367, allocations: 193.6 kB / 348.4 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.3388, allocations: 1.436 MB / 349.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.3391, allocations: 175.2 kB / 350 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.3393, allocations: 93.2 kB / 350.1 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.3393, allocations: 4.172 kB / 350.1 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.3394, allocations: 38.69 kB / 350.2 MB, free: 12.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.372e-06/0.3394, allocations: 0 / 350.2 MB, free: 12.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002708/0.3421, allocations: 1.009 MB / 351.2 MB, free: 11.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.3422, allocations: 59.34 kB / 351.2 MB, free: 11.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.3425, allocations: 254.5 kB / 351.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.3426, allocations: 37.7 kB / 351.5 MB, free: 11.31 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.3427, allocations: 176.2 kB / 351.7 MB, free: 11.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.3428, allocations: 94.64 kB / 351.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.3429, allocations: 8 kB / 351.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.343, allocations: 338.8 kB / 352.1 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.3432, allocations: 83.75 kB / 352.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.3434, allocations: 186.9 kB / 352.4 MB, free: 10.39 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.3437, allocations: 115.9 kB / 352.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3437, allocations: 0 / 352.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007086/0.3444, allocations: 382.8 kB / 352.9 MB, free: 9.891 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3444, allocations: 11.98 kB / 352.9 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.3444, allocations: 4 kB / 352.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002784/0.3447, allocations: 65.67 kB / 353 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.345, allocations: 72.14 kB / 353 MB, free: 9.734 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.3473, allocations: 2.674 MB / 355.7 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.3476, allocations: 24.05 kB / 355.7 MB, free: 6.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.3476, allocations: 12 kB / 355.7 MB, free: 6.758 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.0002124/0.3478, allocations: 149.7 kB / 355.9 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.3479, allocations: 27.72 kB / 355.9 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.943e-05/0.348, allocations: 38.12 kB / 355.9 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.348, allocations: 4 kB / 356 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.348, allocations: 4 kB / 356 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006336/0.3487, allocations: 0.567 MB / 356.5 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.3497, allocations: 0.6989 MB / 357.2 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3497, allocations: 4 kB / 357.2 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.3499, allocations: 44 kB / 357.3 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002451/0.3502, allocations: 56.78 kB / 357.3 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.3502, allocations: 4 kB / 357.3 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.3514, allocations: 1.401 MB / 358.7 MB, free: 3.469 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3514, allocations: 4.031 kB / 358.7 MB, free: 3.465 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006659/0.3521, allocations: 473.1 kB / 359.2 MB, free: 2.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/0.3522, allocations: 104.8 kB / 359.3 MB, free: 2.859 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.3522, allocations: 4 kB / 359.3 MB, free: 2.855 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.3524, allocations: 12.06 kB / 359.3 MB, free: 2.844 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.3525, allocations: 23.97 kB / 359.3 MB, free: 2.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.3525, allocations: 8 kB / 359.3 MB, free: 2.812 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.3527, allocations: 189.9 kB / 359.5 MB, free: 2.625 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3527, allocations: 0 / 359.5 MB, free: 2.625 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004399/0.3532, allocations: 88 kB / 359.6 MB, free: 2.539 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.0001353/0.3533, allocations: 99.25 kB / 359.7 MB, free: 2.434 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008002/0.3541, allocations: 477.1 kB / 360.2 MB, free: 1.941 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3541, allocations: 4 kB / 360.2 MB, free: 1.938 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.3545, allocations: 231.4 kB / 360.4 MB, free: 1.699 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008921/0.3554, allocations: 152.4 kB / 360.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.3568, allocations: 0.8386 MB / 361.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.3572, allocations: 0.7606 MB / 362.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003054/0.3575, allocations: 46.95 kB / 362.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.3576, allocations: 27.44 kB / 362.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3576, allocations: 4 kB / 362.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of Templates: time 0.01038/0.368, allocations: 5.263 MB / 367.5 MB, free: 10.57 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (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)