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.001352/0.001352, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001553/0.001553, allocations: 194.1 kB / 16.25 MB, free: 6.621 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.421/1.421, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.001843/0.001843, allocations: 47.92 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3325, allocations: 46.63 MB / 324.9 MB, free: 1.902 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01749/0.3501, allocations: 15.82 MB / 340.7 MB, free: 4.227 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.353, allocations: 1.897 MB / 342.6 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.3534, allocations: 4 kB / 342.6 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007924/0.3542, allocations: 151.2 kB / 342.7 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006104/0.3548, allocations: 306.4 kB / 343 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.3555, allocations: 251.6 kB / 343.3 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009253/0.3564, allocations: 0.8368 MB / 344.1 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.3567, allocations: 104.7 kB / 344.2 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.3579, allocations: 0.4942 MB / 344.7 MB, free: 188 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/0.3583, allocations: 290.9 kB / 345 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.3583, allocations: 28 kB / 345 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.3585, allocations: 36 kB / 345.1 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.3586, allocations: 99.66 kB / 345.2 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.3588, allocations: 175.3 kB / 345.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.3593, allocations: 432 kB / 345.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.3593, allocations: 4 kB / 345.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3593, allocations: 0 / 345.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3593, allocations: 0 / 345.7 MB, free: 15.14 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.0009954/0.3603, allocations: 0.5771 MB / 346.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.3604, allocations: 15.89 kB / 346.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.3607, allocations: 44.55 kB / 346.4 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.3611, allocations: 275.7 kB / 346.7 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.3611, allocations: 20.94 kB / 346.7 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.3612, allocations: 28.36 kB / 346.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004818/0.3617, allocations: 303.8 kB / 347 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.3617, allocations: 0 / 347 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.3617, allocations: 15.98 kB / 347 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3618, allocations: 8 kB / 347 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.3621, allocations: 193.6 kB / 347.2 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.3639, allocations: 1.44 MB / 348.6 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.3642, allocations: 190.6 kB / 348.8 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.3644, allocations: 84.84 kB / 348.9 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.3644, allocations: 4 kB / 348.9 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3644, allocations: 38.55 kB / 349 MB, free: 11.67 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.3644, allocations: 3.938 kB / 349 MB, free: 11.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002621/0.3671, allocations: 0.9997 MB / 350 MB, free: 10.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3671, allocations: 59.41 kB / 350 MB, free: 10.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.3674, allocations: 258.6 kB / 350.3 MB, free: 10.26 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.3674, allocations: 33.7 kB / 350.3 MB, free: 10.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3676, allocations: 172.2 kB / 350.5 MB, free: 10.05 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.3677, allocations: 94.64 kB / 350.6 MB, free: 9.953 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3678, allocations: 69.39 kB / 350.6 MB, free: 9.879 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3679, allocations: 330.8 kB / 351 MB, free: 9.547 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.368, allocations: 87.97 kB / 351 MB, free: 9.461 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.3683, allocations: 190.9 kB / 351.2 MB, free: 9.234 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.3687, allocations: 294.9 kB / 351.5 MB, free: 8.906 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3687, allocations: 0 / 351.5 MB, free: 8.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006642/0.3694, allocations: 386.7 kB / 351.9 MB, free: 8.516 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3694, allocations: 4 kB / 351.9 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3694, allocations: 4 kB / 351.9 MB, free: 8.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/0.3697, allocations: 61.67 kB / 352 MB, free: 8.441 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.37, allocations: 68.16 kB / 352 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.3723, allocations: 2.878 MB / 354.9 MB, free: 5.215 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.3726, allocations: 27.92 kB / 354.9 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.3726, allocations: 16 kB / 355 MB, free: 5.172 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.0001699/0.3728, allocations: 145.8 kB / 355.1 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.3728, allocations: 23.72 kB / 355.1 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.621e-05/0.3729, allocations: 42.17 kB / 355.2 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3729, allocations: 4 kB / 355.2 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3729, allocations: 0 / 355.2 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007034/0.3736, allocations: 0.5747 MB / 355.7 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.3748, allocations: 0.6951 MB / 356.4 MB, free: 3.531 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3748, allocations: 0 / 356.4 MB, free: 3.531 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.375, allocations: 43.91 kB / 356.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/0.3752, allocations: 56.88 kB / 356.5 MB, free: 3.43 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.3753, allocations: 8 kB / 356.5 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.3766, allocations: 1.492 MB / 358 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3766, allocations: 3.938 kB / 358 MB, free: 1.785 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/0.3773, allocations: 477 kB / 358.5 MB, free: 1.297 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.3774, allocations: 100.8 kB / 358.6 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.3774, allocations: 8 kB / 358.6 MB, free: 1.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.3776, allocations: 12.06 kB / 358.6 MB, free: 1.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.3777, allocations: 19.97 kB / 358.6 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.3777, allocations: 8 kB / 358.6 MB, free: 1.133 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.3779, allocations: 193.9 kB / 358.8 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3779, allocations: 0 / 358.8 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004204/0.3783, allocations: 88 kB / 358.9 MB, free: 0.8555 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.0001631/0.3785, allocations: 100.5 kB / 359 MB, free: 0.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008282/0.3794, allocations: 493.2 kB / 359.5 MB, free: 248 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3794, allocations: 0 / 359.5 MB, free: 248 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.3798, allocations: 239.4 kB / 359.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.3808, allocations: 168.2 kB / 359.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.3822, allocations: 0.7914 MB / 360.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.3827, allocations: 0.7644 MB / 361.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002982/0.383, allocations: 50.95 kB / 361.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/0.3831, allocations: 23.44 kB / 361.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3831, allocations: 0 / 361.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of Templates: time 0.01059/0.3937, allocations: 5.652 MB / 367.2 MB, free: 8.5 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)