Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.01049/0.01049, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.002217/0.002218, allocations: 193.5 kB / 16.67 MB, free: 5.492 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.439/1.439, allocations: 205.1 MB / 222.5 MB, free: 4.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3025/0.3025, allocations: 38 MB / 307.9 MB, free: 10.39 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.1. 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.001714/0.001714, allocations: 75.91 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3524, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03572/0.3882, allocations: 30.1 MB / 0.5074 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009679/0.3979, allocations: 4.583 MB / 0.5119 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.3992, allocations: 20.19 kB / 0.5119 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.4003, allocations: 299.4 kB / 0.5122 GB, free: 10.57 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.006658/0.407, allocations: 1.77 MB / 0.5139 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005028/0.412, allocations: 1.5 MB / 0.5154 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004156/0.4162, allocations: 1.851 MB / 0.5172 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.4174, allocations: 475.5 kB / 0.5176 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006992/0.4244, allocations: 3.168 MB / 0.5207 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.427, allocations: 1.262 MB / 0.522 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.4273, allocations: 60.31 kB / 0.522 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.4309, allocations: 1.455 MB / 0.5235 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.4312, allocations: 266.9 kB / 0.5237 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006171/0.4319, allocations: 402.1 kB / 0.5241 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.4346, allocations: 1.487 MB / 0.5255 GB, free: 2.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4346, allocations: 0 / 0.5255 GB, free: 2.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4346, allocations: 1.25 kB / 0.5255 GB, free: 2.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.4347, allocations: 3.938 kB / 0.5255 GB, free: 2.586 MB / 398.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.002412/0.4371, allocations: 1.151 MB / 0.5267 GB, free: 1.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4371, allocations: 8.031 kB / 0.5267 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.4382, allocations: 143.9 kB / 0.5268 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.4393, allocations: 0.5366 MB / 0.5273 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.4395, allocations: 108.9 kB / 0.5274 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.4397, allocations: 52.31 kB / 0.5275 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.4412, allocations: 0.8316 MB / 0.5283 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.4413, allocations: 7.938 kB / 0.5283 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.856e-05/0.4414, allocations: 24 kB / 0.5283 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-05/0.4414, allocations: 40.97 kB / 0.5284 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.4426, allocations: 0.6009 MB / 0.529 GB, free: 15.09 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.00545/0.4481, allocations: 4.88 MB / 0.5337 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/0.4487, allocations: 331.7 kB / 0.534 GB, free: 9.465 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.449, allocations: 140.8 kB / 0.5342 GB, free: 9.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/0.4495, allocations: 0.6136 MB / 0.5348 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.4495, allocations: 38.56 kB / 0.5348 GB, free: 8.531 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.184e-06/0.4495, allocations: 0 / 0.5348 GB, free: 8.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003888/0.4534, allocations: 1.532 MB / 0.5363 GB, free: 6.922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.4535, allocations: 132.5 kB / 0.5364 GB, free: 6.762 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007291/0.4543, allocations: 0.6564 MB / 0.5371 GB, free: 6.098 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.4543, allocations: 29.7 kB / 0.5371 GB, free: 6.062 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.4546, allocations: 398.5 kB / 0.5375 GB, free: 5.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.4547, allocations: 130.2 kB / 0.5376 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.455, allocations: 150.5 kB / 0.5378 GB, free: 5.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4551, allocations: 374.8 kB / 0.5381 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.4555, allocations: 209.9 kB / 0.5383 GB, free: 4.809 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.456, allocations: 0.4941 MB / 0.5388 GB, free: 4.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.457, allocations: 0.7171 MB / 0.5395 GB, free: 3.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.457, allocations: 11.94 kB / 0.5395 GB, free: 3.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001533/0.4585, allocations: 0.8992 MB / 0.5404 GB, free: 2.406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.4586, allocations: 12.16 kB / 0.5404 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.4586, allocations: 8 kB / 0.5404 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.4598, allocations: 289.5 kB / 0.5407 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.4602, allocations: 127.8 kB / 0.5408 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.4614, allocations: 1.397 MB / 0.5422 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.4618, allocations: 32.11 kB / 0.5422 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.524e-05/0.4619, allocations: 44 kB / 0.5422 GB, free: 460 kB / 414.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.0003017/0.4622, allocations: 241.5 kB / 0.5425 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.4623, allocations: 75.09 kB / 0.5425 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.4638, allocations: 0.6487 MB / 0.5432 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.4639, allocations: 8 kB / 0.5432 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.4639, allocations: 0 / 0.5432 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4639, allocations: 3.984 kB / 0.5432 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.4659, allocations: 1.221 MB / 0.5444 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4659, allocations: 4.047 kB / 0.5444 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.4661, allocations: 47.92 kB / 0.5444 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008361/0.4669, allocations: 209.4 kB / 0.5446 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.467, allocations: 11.98 kB / 0.5446 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.4682, allocations: 1.304 MB / 0.5459 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4682, allocations: 3.938 kB / 0.5459 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.4695, allocations: 0.8187 MB / 0.5467 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.4698, allocations: 184.2 kB / 0.5469 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.793e-05/0.4699, allocations: 12 kB / 0.5469 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.4702, allocations: 15.98 kB / 0.5469 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.4703, allocations: 31.97 kB / 0.5469 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/0.4704, allocations: 23.98 kB / 0.547 GB, free: 11.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005374/0.4709, allocations: 455 kB / 0.5474 GB, free: 10.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.275e-06/0.4709, allocations: 0 / 0.5474 GB, free: 10.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00108/0.472, allocations: 299.9 kB / 0.5477 GB, free: 10.66 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.0008613/0.4729, allocations: 354.8 kB / 0.548 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.474, allocations: 0.527 MB / 0.5485 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.474, allocations: 0 / 0.5485 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.4745, allocations: 223.8 kB / 0.5488 GB, free: 9.562 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.4759, allocations: 338.4 kB / 0.5491 GB, free: 9.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.4786, allocations: 1.267 MB / 0.5503 GB, free: 7.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/0.4793, allocations: 0.9264 MB / 0.5512 GB, free: 6.973 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006829/0.48, allocations: 201.9 kB / 0.5514 GB, free: 6.773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.4802, allocations: 67.42 kB / 0.5515 GB, free: 6.707 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4802, allocations: 0 / 0.5515 GB, free: 6.707 MB / 430.1 MB Notification: Performance of Templates: time 0.03184/0.512, allocations: 16.37 MB / 0.5675 GB, free: 6.34 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)