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.001043/0.001043, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001122/0.001122, allocations: 177.3 kB / 15.94 MB, free: 228 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.579/1.579, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005271/0.0005272, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3213, allocations: 47.58 MB / 326.4 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01144/0.3328, allocations: 10.63 MB / 337.1 MB, free: 8.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.3349, allocations: 1.403 MB / 338.5 MB, free: 7.473 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.3352, allocations: 8 kB / 338.5 MB, free: 7.465 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005645/0.3357, allocations: 135.3 kB / 338.6 MB, free: 7.332 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004601/0.3362, allocations: 207.4 kB / 338.8 MB, free: 7.129 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.3369, allocations: 223.6 kB / 339 MB, free: 6.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007031/0.3376, allocations: 463 kB / 339.5 MB, free: 6.457 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.3378, allocations: 68.67 kB / 339.6 MB, free: 6.387 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007314/0.3386, allocations: 350.9 kB / 339.9 MB, free: 6.043 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.3388, allocations: 167.4 kB / 340.1 MB, free: 5.879 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.3389, allocations: 12 kB / 340.1 MB, free: 5.867 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.339, allocations: 20 kB / 340.1 MB, free: 5.848 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.3391, allocations: 71.78 kB / 340.2 MB, free: 5.777 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.3392, allocations: 93.52 kB / 340.3 MB, free: 5.68 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.3396, allocations: 324.5 kB / 340.6 MB, free: 5.363 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3396, allocations: 0 / 340.6 MB, free: 5.363 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3396, allocations: 0 / 340.6 MB, free: 5.363 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3396, allocations: 0 / 340.6 MB, free: 5.363 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.0008454/0.3404, allocations: 0.5263 MB / 341.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3405, allocations: 8.031 kB / 341.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.3408, allocations: 43.61 kB / 341.2 MB, free: 4.738 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.3412, allocations: 266.6 kB / 341.4 MB, free: 4.438 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.3412, allocations: 20.56 kB / 341.4 MB, free: 4.418 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.3413, allocations: 27.91 kB / 341.5 MB, free: 4.391 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.3418, allocations: 307.6 kB / 341.8 MB, free: 4.059 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3418, allocations: 4 kB / 341.8 MB, free: 4.055 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.3418, allocations: 12 kB / 341.8 MB, free: 4.043 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3418, allocations: 4 kB / 341.8 MB, free: 4.039 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.3422, allocations: 197.5 kB / 342 MB, free: 3.848 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.344, allocations: 1.432 MB / 343.4 MB, free: 2.297 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.3443, allocations: 187.1 kB / 343.6 MB, free: 2.105 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.3444, allocations: 4.188 kB / 343.6 MB, free: 2.102 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.3444, allocations: 30.75 kB / 343.6 MB, free: 2.062 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/0.3445, allocations: 0 / 343.6 MB, free: 2.062 MB / 270.1 MB Notification: Performance of matching and sorting (n=26): time 0.002626/0.3471, allocations: 1.01 MB / 344.6 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.3472, allocations: 59.39 kB / 344.7 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.3475, allocations: 254.5 kB / 344.9 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.3475, allocations: 37.7 kB / 345 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.3477, allocations: 172.2 kB / 345.1 MB, free: 444 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.803e-05/0.3478, allocations: 94.72 kB / 345.2 MB, free: 348 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.3478, allocations: 4 kB / 345.2 MB, free: 344 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.348, allocations: 342.8 kB / 345.6 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.3482, allocations: 83.75 kB / 345.7 MB, free: 15.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.3484, allocations: 190.8 kB / 345.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3486, allocations: 111.9 kB / 346 MB, free: 15.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3486, allocations: 4 kB / 346 MB, free: 15.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006697/0.3493, allocations: 378.7 kB / 346.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3493, allocations: 8 kB / 346.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3494, allocations: 4 kB / 346.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/0.3497, allocations: 69.59 kB / 346.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.35, allocations: 64.3 kB / 346.5 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.3524, allocations: 2.689 MB / 349.2 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.3527, allocations: 27.98 kB / 349.2 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.3527, allocations: 16 kB / 349.2 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.000151/0.3529, allocations: 149.8 kB / 349.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.3529, allocations: 27.72 kB / 349.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.511e-05/0.353, allocations: 34.17 kB / 349.4 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.353, allocations: 11.95 kB / 349.4 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.353, allocations: 0 / 349.4 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00062/0.3536, allocations: 0.5631 MB / 350 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.3547, allocations: 0.6951 MB / 350.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3547, allocations: 4.031 kB / 350.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.3549, allocations: 47.91 kB / 350.7 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000265/0.3552, allocations: 60.72 kB / 350.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.3552, allocations: 4 kB / 350.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.3565, allocations: 1.409 MB / 352.2 MB, free: 8.742 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3565, allocations: 0 / 352.2 MB, free: 8.742 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007019/0.3572, allocations: 494.3 kB / 352.7 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.3573, allocations: 100.8 kB / 352.8 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.3573, allocations: 4 kB / 352.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.3575, allocations: 16.06 kB / 352.8 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.3576, allocations: 19.97 kB / 352.8 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.3576, allocations: 11.98 kB / 352.8 MB, free: 8.062 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.3578, allocations: 182 kB / 353 MB, free: 7.883 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3578, allocations: 0 / 353 MB, free: 7.883 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004178/0.3582, allocations: 88 kB / 353.1 MB, free: 7.797 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.0001409/0.3584, allocations: 111.2 kB / 353.2 MB, free: 7.68 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007365/0.3591, allocations: 465.7 kB / 353.7 MB, free: 7.199 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3591, allocations: 4 kB / 353.7 MB, free: 7.195 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.3595, allocations: 235.3 kB / 353.9 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.0008924/0.3604, allocations: 156.3 kB / 354 MB, free: 6.801 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.3617, allocations: 0.8347 MB / 354.9 MB, free: 5.938 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.3621, allocations: 0.7684 MB / 355.6 MB, free: 5.145 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.3624, allocations: 54.94 kB / 355.7 MB, free: 5.094 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.3624, allocations: 31.44 kB / 355.7 MB, free: 5.066 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3625, allocations: 0 / 355.7 MB, free: 5.066 MB / 286.1 MB Notification: Performance of Templates: time 0.009894/0.3724, allocations: 5.254 MB / 361 MB, free: 15.81 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: