Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006769/0.006769, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001494/0.001494, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.502/1.502, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4149/0.4149, allocations: 39.94 MB / 309.8 MB, free: 9.379 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 75.89 kB / 435.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3602, allocations: 56.87 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03208/0.3923, allocations: 30.11 MB / 0.5105 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007716/0.4, allocations: 4.576 MB / 0.515 GB, free: 9.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.4012, allocations: 19.09 kB / 0.515 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.4023, allocations: 304.2 kB / 0.5153 GB, free: 9.098 MB / 398.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.typeBindings: time 0.005497/0.4078, allocations: 1.773 MB / 0.517 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004444/0.4122, allocations: 1.497 MB / 0.5185 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003058/0.4153, allocations: 1.847 MB / 0.5203 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007798/0.4161, allocations: 479.5 kB / 0.5208 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00685/0.423, allocations: 3.161 MB / 0.5239 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.4258, allocations: 1.277 MB / 0.5251 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002627/0.4261, allocations: 65.08 kB / 0.5252 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.4293, allocations: 1.444 MB / 0.5266 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.4297, allocations: 259.3 kB / 0.5268 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005355/0.4302, allocations: 398.1 kB / 0.5272 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.4325, allocations: 1.484 MB / 0.5287 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.4325, allocations: 3.984 kB / 0.5287 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4325, allocations: 0 / 0.5287 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.4326, allocations: 7.938 kB / 0.5287 GB, free: 15.57 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002089/0.4347, allocations: 1.141 MB / 0.5298 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4347, allocations: 11.97 kB / 0.5298 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009798/0.4357, allocations: 147.9 kB / 0.5299 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009056/0.4366, allocations: 0.5327 MB / 0.5305 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.4367, allocations: 108.9 kB / 0.5306 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.304e-05/0.4368, allocations: 44.38 kB / 0.5306 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.4382, allocations: 0.8433 MB / 0.5314 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.4382, allocations: 0 / 0.5314 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.4383, allocations: 24 kB / 0.5314 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.117e-05/0.4384, allocations: 48.86 kB / 0.5315 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.4395, allocations: 0.6048 MB / 0.5321 GB, free: 11.9 MB / 414.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.005198/0.4447, allocations: 4.877 MB / 0.5368 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/0.4453, allocations: 326.7 kB / 0.5372 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.4456, allocations: 144.7 kB / 0.5373 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005326/0.4461, allocations: 0.6136 MB / 0.5379 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.4462, allocations: 38.5 kB / 0.5379 GB, free: 5.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 3.747e-06/0.4462, allocations: 0 / 0.5379 GB, free: 5.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004028/0.4502, allocations: 1.542 MB / 0.5394 GB, free: 3.719 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.4503, allocations: 136.5 kB / 0.5396 GB, free: 3.555 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000832/0.4512, allocations: 0.6601 MB / 0.5402 GB, free: 2.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.4512, allocations: 33.7 kB / 0.5402 GB, free: 2.848 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.4515, allocations: 386.6 kB / 0.5406 GB, free: 2.465 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.4517, allocations: 138.2 kB / 0.5407 GB, free: 2.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.4519, allocations: 150.5 kB / 0.5409 GB, free: 2.176 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4521, allocations: 378.8 kB / 0.5412 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.4525, allocations: 201.9 kB / 0.5414 GB, free: 1.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.4531, allocations: 0.498 MB / 0.5419 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009625/0.454, allocations: 0.7094 MB / 0.5426 GB, free: 132 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.4541, allocations: 11.98 kB / 0.5426 GB, free: 120 kB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001695/0.4558, allocations: 0.8954 MB / 0.5435 GB, free: 15.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.4558, allocations: 12 kB / 0.5435 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.4558, allocations: 8 kB / 0.5435 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.4571, allocations: 288.8 kB / 0.5438 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.4575, allocations: 127.8 kB / 0.5439 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.4587, allocations: 1.397 MB / 0.5453 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.4592, allocations: 28 kB / 0.5453 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.191e-05/0.4593, allocations: 43.98 kB / 0.5454 GB, free: 13.26 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003345/0.4596, allocations: 249.5 kB / 0.5456 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.4598, allocations: 75.09 kB / 0.5457 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.4613, allocations: 0.6445 MB / 0.5463 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.4613, allocations: 4 kB / 0.5463 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4613, allocations: 0 / 0.5463 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4613, allocations: 4 kB / 0.5463 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.4634, allocations: 1.224 MB / 0.5475 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4634, allocations: 0 / 0.5475 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.4636, allocations: 43.91 kB / 0.5475 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008378/0.4644, allocations: 209.5 kB / 0.5477 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.4645, allocations: 16 kB / 0.5478 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009796/0.4655, allocations: 1.296 MB / 0.549 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4655, allocations: 7.969 kB / 0.549 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.4667, allocations: 0.8187 MB / 0.5498 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.467, allocations: 184.3 kB / 0.55 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.8e-05/0.4671, allocations: 12 kB / 0.55 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.4675, allocations: 20.05 kB / 0.55 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.4676, allocations: 23.97 kB / 0.5501 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.4676, allocations: 23.98 kB / 0.5501 GB, free: 8.215 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005547/0.4682, allocations: 451 kB / 0.5505 GB, free: 7.781 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4682, allocations: 0 / 0.5505 GB, free: 7.781 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001005/0.4692, allocations: 295.9 kB / 0.5508 GB, free: 7.492 MB / 430.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 (25): * 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: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008153/0.47, allocations: 366.8 kB / 0.5511 GB, free: 7.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.4711, allocations: 0.5228 MB / 0.5517 GB, free: 6.598 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.4711, allocations: 4 kB / 0.5517 GB, free: 6.594 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.4716, allocations: 223.7 kB / 0.5519 GB, free: 6.375 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.4731, allocations: 350.8 kB / 0.5522 GB, free: 6.031 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.4752, allocations: 1.256 MB / 0.5534 GB, free: 4.742 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.4757, allocations: 0.9303 MB / 0.5543 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005768/0.4763, allocations: 198 kB / 0.5545 GB, free: 3.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.4764, allocations: 71.41 kB / 0.5546 GB, free: 3.52 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4764, allocations: 0 / 0.5546 GB, free: 3.52 MB / 430.1 MB Notification: Performance of Templates: time 0.02573/0.5021, allocations: 16.14 MB / 0.5704 GB, free: 3.395 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)