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.006674/0.006674, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001503/0.001503, allocations: 196.1 kB / 16.67 MB, free: 5.52 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.497/1.497, allocations: 205.1 MB / 222.5 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.001275/0.001275, allocations: 47.92 kB / 326.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1176, allocations: 46.62 MB / 373.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.2523/0.3699, allocations: 24.57 MB / 397.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003886/0.3738, allocations: 2.492 MB / 400.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.3741, allocations: 7.188 kB / 400.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006675/0.3748, allocations: 163.5 kB / 400.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007133/0.3755, allocations: 334.4 kB / 400.8 MB, free: 12.02 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.3783, allocations: 0.9679 MB / 401.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.3796, allocations: 0.9011 MB / 402.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.3798, allocations: 110.4 kB / 402.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005153/0.385, allocations: 2.731 MB / 405.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005137/0.3855, allocations: 270.5 kB / 405.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.3856, allocations: 30.75 kB / 405.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007314/0.3863, allocations: 231.8 kB / 406 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.3864, allocations: 100.8 kB / 406.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.3867, allocations: 195 kB / 406.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007711/0.3875, allocations: 0.5819 MB / 406.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3875, allocations: 0 / 406.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.697e-05/0.3876, allocations: 0 / 406.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3876, allocations: 0 / 406.9 MB, free: 9.523 MB / 334.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.0009449/0.3885, allocations: 0.6243 MB / 407.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3886, allocations: 9.594 kB / 407.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.389, allocations: 57.2 kB / 407.5 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.3895, allocations: 301 kB / 407.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.3895, allocations: 19.28 kB / 407.9 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.3896, allocations: 24.59 kB / 407.9 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.3901, allocations: 338.1 kB / 408.2 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3901, allocations: 5.391 kB / 408.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.3902, allocations: 17.06 kB / 408.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.3902, allocations: 6.75 kB / 408.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.3906, allocations: 188.2 kB / 408.4 MB, free: 8.273 MB / 334.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.002132/0.3927, allocations: 2.112 MB / 410.5 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.393, allocations: 183.5 kB / 410.7 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.3932, allocations: 86.81 kB / 410.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.3935, allocations: 257.5 kB / 411.1 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3935, allocations: 35.34 kB / 411.1 MB, free: 5.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.3935, allocations: 0 / 411.1 MB, free: 5.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.00259/0.3961, allocations: 1.019 MB / 412.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.3962, allocations: 58.12 kB / 412.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.3965, allocations: 265.5 kB / 412.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.3965, allocations: 32.33 kB / 412.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.3967, allocations: 186.4 kB / 412.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.446e-05/0.3968, allocations: 103.1 kB / 412.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3969, allocations: 70.33 kB / 412.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3971, allocations: 343.9 kB / 413.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3972, allocations: 85.44 kB / 413.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.3975, allocations: 172 kB / 413.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.3979, allocations: 285.9 kB / 413.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3979, allocations: 1.062 kB / 413.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006234/0.3985, allocations: 372.7 kB / 414 MB, free: 3.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3986, allocations: 6.094 kB / 414 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3986, allocations: 7.406 kB / 414.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004254/0.399, allocations: 91.84 kB / 414.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.3993, allocations: 67.84 kB / 414.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005874/0.3999, allocations: 0.6541 MB / 414.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.4001, allocations: 12.58 kB / 414.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.4001, allocations: 22.17 kB / 414.9 MB, free: 2.746 MB / 334.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.0002015/0.4003, allocations: 158 kB / 415 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.4004, allocations: 36.22 kB / 415.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006778/0.4011, allocations: 379.8 kB / 415.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4011, allocations: 3.406 kB / 415.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4011, allocations: 0 / 415.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000579/0.4017, allocations: 0.5551 MB / 416 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.4029, allocations: 0.7368 MB / 416.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4029, allocations: 5.844 kB / 416.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.403, allocations: 42.81 kB / 416.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004814/0.4035, allocations: 99.25 kB / 416.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.4036, allocations: 3.25 kB / 416.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005324/0.4041, allocations: 0.6448 MB / 417.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4041, allocations: 2.812 kB / 417.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007399/0.4049, allocations: 484.1 kB / 418 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.405, allocations: 100.9 kB / 418.1 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.405, allocations: 14.53 kB / 418.1 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.4053, allocations: 8.188 kB / 418.1 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.4053, allocations: 14.86 kB / 418.2 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.4053, allocations: 14.3 kB / 418.2 MB, free: 36 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.4056, allocations: 198.9 kB / 418.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4056, allocations: 1.562 kB / 418.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004752/0.4061, allocations: 108.5 kB / 418.5 MB, free: 15.88 MB / 350.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.0002716/0.4064, allocations: 156.8 kB / 418.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.4069, allocations: 243.5 kB / 418.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4069, allocations: 1.312 kB / 418.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.4072, allocations: 119 kB / 419 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009269/0.4081, allocations: 168.8 kB / 419.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.4094, allocations: 0.6489 MB / 419.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.4098, allocations: 0.7664 MB / 420.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.41, allocations: 63.66 kB / 420.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.4101, allocations: 30.19 kB / 420.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4101, allocations: 0 / 420.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Templates: time 0.01215/0.4223, allocations: 7.087 MB / 427.7 MB, free: 8.035 MB / 350.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)