Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009081/0.0009082, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006904/0.006904, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.608/1.608, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.0004907/0.0004909, allocations: 12 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2535, allocations: 47.58 MB / 327 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02813/0.2817, allocations: 24.43 MB / 351.5 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.2848, allocations: 2.515 MB / 354 MB, free: 8.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.2852, allocations: 0 / 354 MB, free: 8.348 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.2857, allocations: 135.2 kB / 354.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006691/0.2864, allocations: 314.5 kB / 354.4 MB, free: 7.906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.2884, allocations: 0.8848 MB / 355.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.2898, allocations: 1.355 MB / 356.7 MB, free: 5.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.29, allocations: 72.7 kB / 356.7 MB, free: 5.594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004653/0.2947, allocations: 2.951 MB / 359.7 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000557/0.2952, allocations: 278.8 kB / 360 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.2953, allocations: 16 kB / 360 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000657/0.296, allocations: 227.6 kB / 360.2 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.2961, allocations: 79.72 kB / 360.3 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.2964, allocations: 208.9 kB / 360.5 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007088/0.2971, allocations: 0.553 MB / 361 MB, free: 1.281 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2971, allocations: 0 / 361 MB, free: 1.281 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2971, allocations: 0 / 361 MB, free: 1.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2971, allocations: 0 / 361 MB, free: 1.281 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008094/0.2979, allocations: 0.5497 MB / 361.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.298, allocations: 16.02 kB / 361.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.2984, allocations: 48.55 kB / 361.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.2987, allocations: 291.5 kB / 361.9 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.2988, allocations: 16.94 kB / 361.9 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/0.2988, allocations: 32.38 kB / 362 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.2994, allocations: 334.4 kB / 362.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.2994, allocations: 0 / 362.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.2994, allocations: 12 kB / 362.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.2994, allocations: 8 kB / 362.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003212/0.2998, allocations: 193.5 kB / 362.5 MB, free: 15.68 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.3019, allocations: 2.115 MB / 364.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.3023, allocations: 190.5 kB / 364.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.3024, allocations: 84.77 kB / 364.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.3026, allocations: 251.5 kB / 365.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.3027, allocations: 38.56 kB / 365.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 2.104e-06/0.3027, allocations: 0 / 365.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.002602/0.3053, allocations: 1.023 MB / 366.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.3054, allocations: 59.41 kB / 366.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.3057, allocations: 262.5 kB / 366.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.3057, allocations: 37.7 kB / 366.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3059, allocations: 176.2 kB / 366.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.503e-05/0.3059, allocations: 106.5 kB / 366.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.306, allocations: 33.7 kB / 366.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3062, allocations: 342.8 kB / 367.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.3064, allocations: 84.7 kB / 367.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.3066, allocations: 178.5 kB / 367.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.307, allocations: 285.2 kB / 367.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.307, allocations: 7.938 kB / 367.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005785/0.3076, allocations: 377.6 kB / 368.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3076, allocations: 4 kB / 368.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3076, allocations: 4 kB / 368.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004386/0.3081, allocations: 105.1 kB / 368.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.3083, allocations: 67.84 kB / 368.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005896/0.3089, allocations: 0.6499 MB / 368.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.3092, allocations: 19.98 kB / 369 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.3092, allocations: 12 kB / 369 MB, free: 8.691 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.3094, allocations: 161.8 kB / 369.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.3095, allocations: 35.64 kB / 369.2 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006904/0.3102, allocations: 372.9 kB / 369.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3102, allocations: 0 / 369.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3102, allocations: 4 kB / 369.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005547/0.3108, allocations: 0.5554 MB / 370.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.3119, allocations: 0.7468 MB / 370.8 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3119, allocations: 0 / 370.8 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.312, allocations: 31.98 kB / 370.9 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/0.3125, allocations: 104.8 kB / 371 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.3126, allocations: 11.98 kB / 371 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004834/0.3131, allocations: 0.638 MB / 371.6 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3131, allocations: 0 / 371.6 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.3138, allocations: 489.4 kB / 372.1 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.316e-05/0.3139, allocations: 104.8 kB / 372.2 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.3139, allocations: 11.98 kB / 372.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.3142, allocations: 19.97 kB / 372.2 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.3142, allocations: 23.91 kB / 372.3 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.3143, allocations: 8 kB / 372.3 MB, free: 5.133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.3145, allocations: 205.9 kB / 372.5 MB, free: 4.934 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3145, allocations: 0 / 372.5 MB, free: 4.934 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004734/0.315, allocations: 104 kB / 372.6 MB, free: 4.832 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002884/0.3153, allocations: 155.1 kB / 372.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005073/0.3158, allocations: 235.7 kB / 372.9 MB, free: 4.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.3158, allocations: 0 / 372.9 MB, free: 4.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.3161, allocations: 123.9 kB / 373.1 MB, free: 4.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3171, allocations: 157.5 kB / 373.2 MB, free: 4.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.3184, allocations: 0.7944 MB / 374 MB, free: 3.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.3188, allocations: 0.7609 MB / 374.8 MB, free: 2.559 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003056/0.3191, allocations: 67.2 kB / 374.8 MB, free: 2.492 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.04e-05/0.3192, allocations: 31.42 kB / 374.9 MB, free: 2.461 MB / 302.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3192, allocations: 4 kB / 374.9 MB, free: 2.457 MB / 302.1 MB Notification: Performance of Templates: time 0.0126/0.3318, allocations: 6.673 MB / 381.5 MB, free: 11.78 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)