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.001343/0.001343, allocations: 105.7 kB / 17.06 MB, free: 6.027 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.001357/0.001357, allocations: 195 kB / 18 MB, free: 5.105 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.445/1.445, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001241/0.001241, allocations: 55.94 kB / 327.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1145, allocations: 46.61 MB / 374.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.2565/0.371, allocations: 15.84 MB / 390.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.3736, allocations: 1.918 MB / 392.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.3738, allocations: 3.531 kB / 392.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.3744, allocations: 170.6 kB / 392.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005529/0.375, allocations: 308.5 kB / 392.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006024/0.3756, allocations: 282.2 kB / 393 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008585/0.3764, allocations: 0.841 MB / 393.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.3767, allocations: 104.2 kB / 394 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008271/0.3775, allocations: 0.5236 MB / 394.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/0.3779, allocations: 268.4 kB / 394.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.103e-05/0.3779, allocations: 28.84 kB / 394.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.3781, allocations: 39.09 kB / 394.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3782, allocations: 86.33 kB / 394.9 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.3784, allocations: 187.5 kB / 395.1 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.3789, allocations: 436.1 kB / 395.5 MB, free: 1.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3789, allocations: 3.938 kB / 395.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3789, allocations: 1.469 kB / 395.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.3789, allocations: 4 kB / 395.5 MB, free: 1.285 MB / 318.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.0008215/0.3797, allocations: 0.5718 MB / 396.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3798, allocations: 14.73 kB / 396.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.3801, allocations: 45.8 kB / 396.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.3805, allocations: 286.1 kB / 396.4 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.3805, allocations: 18.5 kB / 396.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.3806, allocations: 24.88 kB / 396.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.3811, allocations: 306.3 kB / 396.8 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.3811, allocations: 5.281 kB / 396.8 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.3811, allocations: 11.34 kB / 396.8 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3811, allocations: 7.109 kB / 396.8 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.3815, allocations: 194.3 kB / 397 MB, free: 272 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.3833, allocations: 1.434 MB / 398.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.3837, allocations: 184.5 kB / 398.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.3838, allocations: 89.52 kB / 398.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3839, allocations: 3.297 kB / 398.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3839, allocations: 40.45 kB / 398.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.3839, allocations: 1.438 kB / 398.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002588/0.3865, allocations: 1.003 MB / 399.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.3866, allocations: 53.53 kB / 399.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.3869, allocations: 262.9 kB / 400.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.3869, allocations: 31.98 kB / 400.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3871, allocations: 176.8 kB / 400.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.3872, allocations: 94.91 kB / 400.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.3873, allocations: 62.42 kB / 400.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3874, allocations: 341.7 kB / 400.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.3876, allocations: 87.56 kB / 400.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.3878, allocations: 176.4 kB / 401 MB, free: 13.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.3882, allocations: 282.7 kB / 401.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3883, allocations: 1.125 kB / 401.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007213/0.389, allocations: 390.5 kB / 401.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.389, allocations: 6.984 kB / 401.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.389, allocations: 3.375 kB / 401.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/0.3893, allocations: 62.11 kB / 401.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.3896, allocations: 72.42 kB / 401.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.3919, allocations: 2.873 MB / 404.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.3922, allocations: 11.31 kB / 404.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.3922, allocations: 16.61 kB / 404.7 MB, free: 9.867 MB / 334.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.000183/0.3924, allocations: 155.9 kB / 404.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.3925, allocations: 29.03 kB / 404.9 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.18e-05/0.3926, allocations: 39.91 kB / 404.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3926, allocations: 3.438 kB / 404.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3926, allocations: 0.6094 kB / 404.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007178/0.3933, allocations: 0.558 MB / 405.5 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.3945, allocations: 0.7 MB / 406.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3945, allocations: 1.25 kB / 406.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.3947, allocations: 47.53 kB / 406.2 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/0.3949, allocations: 50.19 kB / 406.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.395, allocations: 8.469 kB / 406.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.3962, allocations: 1.495 MB / 407.8 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3962, allocations: 1.438 kB / 407.8 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.3969, allocations: 472.1 kB / 408.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.948e-05/0.397, allocations: 109.7 kB / 408.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.3971, allocations: 7.594 kB / 408.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.3973, allocations: 5.375 kB / 408.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.3973, allocations: 23.14 kB / 408.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.3974, allocations: 13.59 kB / 408.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.3976, allocations: 182.3 kB / 408.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3976, allocations: 0 / 408.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004385/0.398, allocations: 94.47 kB / 408.7 MB, free: 6.613 MB / 334.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.0001488/0.3982, allocations: 103.3 kB / 408.8 MB, free: 6.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000852/0.399, allocations: 481.5 kB / 409.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3991, allocations: 0.875 kB / 409.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.3995, allocations: 241.2 kB / 409.5 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009492/0.4004, allocations: 165 kB / 409.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.4017, allocations: 0.6883 MB / 410.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.4021, allocations: 0.7646 MB / 411.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.4023, allocations: 52.27 kB / 411.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.4024, allocations: 25.41 kB / 411.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4024, allocations: 1.125 kB / 411.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of Templates: time 0.01131/0.4138, allocations: 5.819 MB / 417 MB, free: 2.176 MB / 334.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)