Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001276/0.001276, allocations: 113.1 kB / 17.06 MB, free: 5.973 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.001267/0.001267, allocations: 200 kB / 18.01 MB, free: 5.055 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.505/1.505, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.00128/0.00128, allocations: 51.94 kB / 327.9 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1195, allocations: 46.62 MB / 374.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.2677/0.3872, allocations: 24.58 MB / 399.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003983/0.3912, allocations: 2.488 MB / 401.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004871/0.3918, allocations: 3.75 kB / 401.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000782/0.3926, allocations: 162.9 kB / 401.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.3936, allocations: 322.3 kB / 402.1 MB, free: 12 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.002933/0.3966, allocations: 0.9619 MB / 403 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.3983, allocations: 0.8995 MB / 403.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.3986, allocations: 112.6 kB / 404 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00567/0.4043, allocations: 2.727 MB / 406.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008514/0.4051, allocations: 272.7 kB / 407 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.4053, allocations: 29.72 kB / 407.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.4063, allocations: 235.4 kB / 407.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.4065, allocations: 95.06 kB / 407.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004443/0.407, allocations: 202.9 kB / 407.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.4081, allocations: 0.5766 MB / 408.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4081, allocations: 1.188 kB / 408.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4081, allocations: 0 / 408.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.4081, allocations: 0 / 408.2 MB, free: 9.516 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.001133/0.4093, allocations: 0.6171 MB / 408.8 MB, free: 8.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.4093, allocations: 8.469 kB / 408.8 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004662/0.4098, allocations: 53.3 kB / 408.8 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/0.4104, allocations: 300.3 kB / 409.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.4104, allocations: 19.81 kB / 409.2 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.4105, allocations: 25.12 kB / 409.2 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/0.4111, allocations: 348.9 kB / 409.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.4112, allocations: 0 / 409.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.4112, allocations: 13.12 kB / 409.5 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.4112, allocations: 6.75 kB / 409.5 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.4116, allocations: 188.2 kB / 409.7 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.002442/0.4141, allocations: 2.116 MB / 411.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.4144, allocations: 182.9 kB / 412 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.4145, allocations: 86.83 kB / 412.1 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.4147, allocations: 258.6 kB / 412.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.4148, allocations: 36.09 kB / 412.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.4148, allocations: 0 / 412.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002729/0.4175, allocations: 1.018 MB / 413.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.4176, allocations: 54.31 kB / 413.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.4179, allocations: 269.6 kB / 413.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.418, allocations: 32.52 kB / 413.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.4181, allocations: 185.7 kB / 413.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.391e-05/0.4182, allocations: 95.03 kB / 414 MB, free: 4.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.4183, allocations: 77.88 kB / 414.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4184, allocations: 341.9 kB / 414.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.4186, allocations: 80.56 kB / 414.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.4188, allocations: 172.4 kB / 414.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.4192, allocations: 285.1 kB / 415 MB, free: 3.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4193, allocations: 4.344 kB / 415 MB, free: 3.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007149/0.42, allocations: 373.3 kB / 415.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.42, allocations: 6.562 kB / 415.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.42, allocations: 2.406 kB / 415.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004287/0.4205, allocations: 96.47 kB / 415.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.4207, allocations: 62.62 kB / 415.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000539/0.4213, allocations: 0.666 MB / 416.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.4215, allocations: 16.62 kB / 416.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.4216, allocations: 18.89 kB / 416.2 MB, free: 2.738 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.0001733/0.4217, allocations: 154.9 kB / 416.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/0.4218, allocations: 38.42 kB / 416.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000681/0.4225, allocations: 378.8 kB / 416.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4225, allocations: 6.844 kB / 416.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4226, allocations: 5.312 kB / 416.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000577/0.4231, allocations: 0.5473 MB / 417.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.4244, allocations: 0.7396 MB / 418.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4244, allocations: 1.406 kB / 418.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.4246, allocations: 38.64 kB / 418.1 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00051/0.4251, allocations: 100.2 kB / 418.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.4251, allocations: 10.52 kB / 418.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004796/0.4256, allocations: 0.6357 MB / 418.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4256, allocations: 0 / 418.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00075/0.4264, allocations: 494.1 kB / 419.3 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.4265, allocations: 104.5 kB / 419.4 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.4266, allocations: 6.562 kB / 419.4 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.4268, allocations: 8.656 kB / 419.4 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.4269, allocations: 19.78 kB / 419.5 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.4269, allocations: 13.67 kB / 419.5 MB, free: 28 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002554/0.4272, allocations: 199.5 kB / 419.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4272, allocations: 1.812 kB / 419.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000559/0.4277, allocations: 109 kB / 419.8 MB, free: 15.87 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.0002898/0.428, allocations: 153.1 kB / 419.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005354/0.4286, allocations: 244.1 kB / 420.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4286, allocations: 0 / 420.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.4289, allocations: 119.1 kB / 420.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4299, allocations: 170 kB / 420.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.4313, allocations: 0.6516 MB / 421.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.4316, allocations: 0.766 MB / 421.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003527/0.432, allocations: 62.53 kB / 421.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.853e-05/0.4321, allocations: 35.47 kB / 422 MB, free: 14.29 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4321, allocations: 0 / 422 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Templates: time 0.01609/0.4482, allocations: 7.197 MB / 429.2 MB, free: 7.914 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)