Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.667/1.667, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.3523/0.3523, allocations: 37.99 MB / 307.7 MB, free: 10.02 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.00254/0.00254, allocations: 68.53 kB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1291, allocations: 56.46 MB / 431.7 MB, free: 6.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3089/0.4381, allocations: 43.96 MB / 475.7 MB, free: 30.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005793/0.4439, allocations: 4.37 MB / 480 MB, free: 27.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007738/0.4447, allocations: 24.53 kB / 480.1 MB, free: 27.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009716/0.4458, allocations: 316.3 kB / 480.4 MB, free: 27.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.4477, allocations: 0.8537 MB / 481.2 MB, free: 27.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.4503, allocations: 0.8859 MB / 482.1 MB, free: 26.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002313/0.4526, allocations: 1.79 MB / 483.9 MB, free: 25.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007204/0.4534, allocations: 464.2 kB / 484.4 MB, free: 25.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1075/0.5608, allocations: 44.51 MB / 0.5165 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01817/0.5791, allocations: 7.945 MB / 0.5242 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002799/0.5794, allocations: 60 kB / 0.5243 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02552/0.6049, allocations: 10.67 MB / 0.5347 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006462/0.6056, allocations: 267.2 kB / 0.535 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007405/0.6063, allocations: 390.2 kB / 0.5353 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.6081, allocations: 1.063 MB / 0.5364 GB, free: 1.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6081, allocations: 0 / 0.5364 GB, free: 1.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.6081, allocations: 0 / 0.5364 GB, free: 1.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.6081, allocations: 3.938 kB / 0.5364 GB, free: 1.035 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002194/0.6103, allocations: 1.061 MB / 0.5374 GB, free: 15.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.6104, allocations: 12.03 kB / 0.5374 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.6107, allocations: 88.08 kB / 0.5375 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007124/0.6115, allocations: 0.4976 MB / 0.538 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.6116, allocations: 105 kB / 0.5381 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/0.6117, allocations: 52.34 kB / 0.5382 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.6129, allocations: 0.8252 MB / 0.539 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.6129, allocations: 0 / 0.539 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/0.613, allocations: 24 kB / 0.539 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/0.613, allocations: 40.92 kB / 0.539 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.6141, allocations: 0.6517 MB / 0.5397 GB, free: 13.5 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.004826/0.6189, allocations: 4.225 MB / 0.5438 GB, free: 8.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008659/0.6198, allocations: 411 kB / 0.5442 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.6201, allocations: 213.4 kB / 0.5444 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005515/0.6207, allocations: 0.4989 MB / 0.5449 GB, free: 7.758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.6207, allocations: 43.16 kB / 0.5449 GB, free: 7.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.275e-06/0.6207, allocations: 0 / 0.5449 GB, free: 7.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003288/0.624, allocations: 1.525 MB / 0.5464 GB, free: 6.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.6241, allocations: 140.5 kB / 0.5465 GB, free: 5.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007345/0.6249, allocations: 0.5692 MB / 0.5471 GB, free: 5.379 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/0.6249, allocations: 37.7 kB / 0.5471 GB, free: 5.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.6252, allocations: 351 kB / 0.5475 GB, free: 4.988 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.6254, allocations: 165.7 kB / 0.5476 GB, free: 4.824 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.6256, allocations: 134.6 kB / 0.5477 GB, free: 4.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.6258, allocations: 382.7 kB / 0.5481 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.6262, allocations: 226.4 kB / 0.5483 GB, free: 4.082 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006348/0.6268, allocations: 0.5203 MB / 0.5488 GB, free: 3.422 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009994/0.6278, allocations: 0.7794 MB / 0.5496 GB, free: 2.512 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.6278, allocations: 4 kB / 0.5496 GB, free: 2.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001795/0.6296, allocations: 0.9449 MB / 0.5505 GB, free: 1.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.6297, allocations: 8.188 kB / 0.5505 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6297, allocations: 12 kB / 0.5505 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.6308, allocations: 265.5 kB / 0.5508 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.6312, allocations: 123.8 kB / 0.5509 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009514/0.6322, allocations: 0.8703 MB / 0.5518 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.6326, allocations: 23.98 kB / 0.5518 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.6327, allocations: 36 kB / 0.5518 GB, free: 208 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 (73): * Single equations (assignments): 72 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003278/0.633, allocations: 241.6 kB / 0.552 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.6332, allocations: 63.25 kB / 0.5521 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.6345, allocations: 0.7152 MB / 0.5528 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.6345, allocations: 11.94 kB / 0.5528 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.495e-06/0.6345, allocations: 4 kB / 0.5528 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.6345, allocations: 3.984 kB / 0.5528 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.6367, allocations: 1.399 MB / 0.5542 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.6368, allocations: 7.938 kB / 0.5542 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009326/0.6377, allocations: 187.8 kB / 0.5544 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002674/0.638, allocations: 68.88 kB / 0.5544 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.638, allocations: 12 kB / 0.5545 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/0.6406, allocations: 2.984 MB / 0.5574 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.6406, allocations: 7.969 kB / 0.5574 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.6421, allocations: 0.9957 MB / 0.5584 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.6424, allocations: 200.1 kB / 0.5585 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.153e-05/0.6425, allocations: 16 kB / 0.5586 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.6428, allocations: 15.98 kB / 0.5586 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.6429, allocations: 39.89 kB / 0.5586 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.643, allocations: 20.05 kB / 0.5586 GB, free: 8.785 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005034/0.6435, allocations: 419.1 kB / 0.559 GB, free: 8.379 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6435, allocations: 0 / 0.559 GB, free: 8.379 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007847/0.6443, allocations: 212 kB / 0.5592 GB, free: 8.172 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00053/0.6448, allocations: 234.5 kB / 0.5595 GB, free: 7.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.6462, allocations: 0.6666 MB / 0.5601 GB, free: 7.277 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.6462, allocations: 0.5625 kB / 0.5601 GB, free: 7.277 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.6473, allocations: 490.2 kB / 0.5606 GB, free: 6.785 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.6489, allocations: 368.8 kB / 0.5609 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.6513, allocations: 1.419 MB / 0.5623 GB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.6519, allocations: 0.9462 MB / 0.5632 GB, free: 3.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007427/0.6527, allocations: 208.8 kB / 0.5634 GB, free: 3.797 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.6529, allocations: 63.36 kB / 0.5635 GB, free: 3.734 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.6529, allocations: 0 / 0.5635 GB, free: 3.734 MB / 430.1 MB Notification: Performance of Templates: time 0.02433/0.6772, allocations: 15.11 MB / 0.5783 GB, free: 4.652 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)