Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00822/0.00822, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001788/0.001787, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.517/1.517, allocations: 205.1 MB / 222.5 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.00135/0.00135, allocations: 47.94 kB / 326.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1134, allocations: 46.62 MB / 373.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.2755/0.3889, allocations: 24.58 MB / 397.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003961/0.3929, allocations: 2.488 MB / 400.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.3932, allocations: 8.469 kB / 400.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006237/0.3939, allocations: 162.2 kB / 400.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007229/0.3946, allocations: 318.9 kB / 400.7 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.002983/0.3976, allocations: 0.9688 MB / 401.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.399, allocations: 0.8964 MB / 402.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.3993, allocations: 112.8 kB / 402.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005428/0.4047, allocations: 2.725 MB / 405.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.4053, allocations: 272.7 kB / 405.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.513e-05/0.4054, allocations: 30.28 kB / 405.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006188/0.406, allocations: 239.1 kB / 406 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.4061, allocations: 94.72 kB / 406.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.4064, allocations: 199.1 kB / 406.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007305/0.4071, allocations: 0.5763 MB / 406.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4071, allocations: 1.156 kB / 406.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4071, allocations: 0 / 406.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.4072, allocations: 0 / 406.8 MB, free: 9.535 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.0008205/0.408, allocations: 0.6241 MB / 407.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.408, allocations: 9.594 kB / 407.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.4084, allocations: 53.58 kB / 407.5 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.4089, allocations: 304.5 kB / 407.8 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.4089, allocations: 20.12 kB / 407.8 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.409, allocations: 24.41 kB / 407.9 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.4095, allocations: 340.4 kB / 408.2 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.4095, allocations: 5.906 kB / 408.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.4096, allocations: 11.34 kB / 408.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.4096, allocations: 7.656 kB / 408.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.4099, allocations: 188.4 kB / 408.4 MB, free: 8.285 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.002333/0.4122, allocations: 2.116 MB / 410.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.4126, allocations: 178.3 kB / 410.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.4128, allocations: 86.83 kB / 410.8 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.413, allocations: 253.6 kB / 411 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.413, allocations: 42.59 kB / 411.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.413, allocations: 0 / 411.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002613/0.4156, allocations: 1.015 MB / 412.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.4157, allocations: 61.64 kB / 412.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.416, allocations: 265.2 kB / 412.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.416, allocations: 32.55 kB / 412.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.4162, allocations: 186.6 kB / 412.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.634e-05/0.4163, allocations: 102.9 kB / 412.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.4164, allocations: 73.47 kB / 412.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4165, allocations: 341.7 kB / 413.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.4167, allocations: 88.67 kB / 413.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.4169, allocations: 168.7 kB / 413.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/0.4174, allocations: 285.6 kB / 413.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4175, allocations: 0 / 413.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006261/0.4181, allocations: 373.6 kB / 414 MB, free: 3.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4181, allocations: 5.938 kB / 414 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.4181, allocations: 7.406 kB / 414 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/0.4186, allocations: 91.67 kB / 414.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.4188, allocations: 67.41 kB / 414.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006141/0.4194, allocations: 0.6588 MB / 414.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.4196, allocations: 7.375 kB / 414.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/0.4197, allocations: 23.2 kB / 414.9 MB, free: 2.758 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.0001672/0.4199, allocations: 158.4 kB / 415 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/0.4199, allocations: 35.31 kB / 415.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006717/0.4206, allocations: 384.3 kB / 415.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4206, allocations: 3.281 kB / 415.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4206, allocations: 0 / 415.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005695/0.4212, allocations: 0.556 MB / 416 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.4224, allocations: 0.732 MB / 416.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4224, allocations: 5.125 kB / 416.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.4225, allocations: 38.05 kB / 416.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004958/0.423, allocations: 104.1 kB / 416.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.4231, allocations: 9.875 kB / 416.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005355/0.4236, allocations: 0.6339 MB / 417.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4236, allocations: 2.031 kB / 417.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/0.4244, allocations: 488.5 kB / 418 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.4245, allocations: 103 kB / 418.1 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.4246, allocations: 8.125 kB / 418.1 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.4248, allocations: 8.969 kB / 418.1 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.4248, allocations: 23.47 kB / 418.1 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.4249, allocations: 14.98 kB / 418.2 MB, free: 44 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002245/0.4251, allocations: 202.2 kB / 418.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4251, allocations: 0 / 418.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005072/0.4256, allocations: 105.8 kB / 418.5 MB, free: 15.89 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.0002851/0.4259, allocations: 148.1 kB / 418.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005228/0.4265, allocations: 248.8 kB / 418.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4265, allocations: 0 / 418.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.4267, allocations: 117.4 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.0009548/0.4277, allocations: 172.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.001251/0.429, allocations: 0.6465 MB / 419.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.4294, allocations: 0.766 MB / 420.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002522/0.4296, allocations: 70.61 kB / 420.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.453e-05/0.4297, allocations: 31.73 kB / 420.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4297, allocations: 0 / 420.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Templates: time 0.01284/0.4426, allocations: 7.195 MB / 427.8 MB, free: 7.93 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)