Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001063/0.001063, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.284/1.284, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001856/0.001856, allocations: 106.8 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.184/0.184, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.437e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.0986, allocations: 48.7 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.651/5.75, allocations: 2.514 GB / 2.911 GB, free: 142.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/5.75, allocations: 91.3 kB / 2.911 GB, free: 142.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.427/7.177, allocations: 487.7 MB / 3.387 GB, free: 27.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.72e-07/7.177, allocations: 0 / 3.387 GB, free: 27.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.268e-05/7.177, allocations: 23.12 kB / 3.387 GB, free: 27.6 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.007206/7.185, allocations: 1.656 MB / 3.389 GB, free: 25.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/7.185, allocations: 11.41 kB / 3.389 GB, free: 25.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/7.187, allocations: 226.7 kB / 3.389 GB, free: 25.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/7.189, allocations: 0.5842 MB / 3.389 GB, free: 25.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/7.189, allocations: 112.2 kB / 3.389 GB, free: 24.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/7.189, allocations: 56 kB / 3.39 GB, free: 24.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/7.192, allocations: 1.079 MB / 3.391 GB, free: 23.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/7.192, allocations: 7.938 kB / 3.391 GB, free: 23.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/7.192, allocations: 27.05 kB / 3.391 GB, free: 23.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.672e-05/7.192, allocations: 40.98 kB / 3.391 GB, free: 23.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/7.194, allocations: 0.8263 MB / 3.391 GB, free: 22.84 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006917/7.201, allocations: 5.525 MB / 3.397 GB, free: 17.03 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/7.203, allocations: 0.5355 MB / 3.397 GB, free: 16.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/7.203, allocations: 201.7 kB / 3.398 GB, free: 16.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4276/7.631, allocations: 53.43 MB / 3.45 GB, free: 49.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/7.631, allocations: 40.06 kB / 3.45 GB, free: 49.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 2.485e-06/7.631, allocations: 1.375 kB / 3.45 GB, free: 49.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.006049/7.637, allocations: 1.986 MB / 3.452 GB, free: 48.62 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/7.637, allocations: 194.5 kB / 3.452 GB, free: 48.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006162/7.638, allocations: 0.5456 MB / 3.452 GB, free: 48.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/7.638, allocations: 32.58 kB / 3.452 GB, free: 48.24 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/7.638, allocations: 408.1 kB / 3.453 GB, free: 48.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/7.638, allocations: 167.6 kB / 3.453 GB, free: 47.97 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/7.638, allocations: 16.88 kB / 3.453 GB, free: 47.97 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.12e-05/7.638, allocations: 382.6 kB / 3.453 GB, free: 47.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/7.639, allocations: 220.3 kB / 3.454 GB, free: 47.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/7.639, allocations: 0.6015 MB / 3.454 GB, free: 47.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/7.64, allocations: 341.8 kB / 3.455 GB, free: 47.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/7.64, allocations: 5.062 kB / 3.455 GB, free: 47.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001179/7.641, allocations: 0.8999 MB / 3.455 GB, free: 47.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/7.641, allocations: 13 kB / 3.455 GB, free: 47.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/7.641, allocations: 12.28 kB / 3.455 GB, free: 47.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003676/7.645, allocations: 273.2 kB / 3.456 GB, free: 47.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/7.646, allocations: 288.8 kB / 3.456 GB, free: 47.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/7.647, allocations: 2.02 MB / 3.458 GB, free: 45.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000869/7.648, allocations: 54.92 kB / 3.458 GB, free: 45.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/7.648, allocations: 48.75 kB / 3.458 GB, free: 45.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001661/7.648, allocations: 175.6 kB / 3.458 GB, free: 45.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/7.648, allocations: 76.44 kB / 3.458 GB, free: 45.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/7.65, allocations: 2.003 MB / 3.46 GB, free: 44.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/7.65, allocations: 24.86 kB / 3.46 GB, free: 44.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/7.65, allocations: 0 / 3.46 GB, free: 44.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/7.65, allocations: 3.703 kB / 3.46 GB, free: 44.89 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/7.653, allocations: 2.978 MB / 3.463 GB, free: 44.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/7.653, allocations: 3.5 kB / 3.463 GB, free: 44.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008467/7.654, allocations: 183.5 kB / 3.463 GB, free: 44.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/7.656, allocations: 301.8 kB / 3.464 GB, free: 44.44 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/7.656, allocations: 12.09 kB / 3.464 GB, free: 44.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/7.657, allocations: 2.076 MB / 3.466 GB, free: 42.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/7.657, allocations: 4.25 kB / 3.466 GB, free: 42.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/7.659, allocations: 1.938 MB / 3.468 GB, free: 42.17 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/7.659, allocations: 280.9 kB / 3.468 GB, free: 42.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/7.659, allocations: 10 kB / 3.468 GB, free: 42.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/7.66, allocations: 39.03 kB / 3.468 GB, free: 42.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/7.66, allocations: 34.14 kB / 3.468 GB, free: 42.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/7.66, allocations: 21.06 kB / 3.468 GB, free: 42.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006314/7.66, allocations: 0.5458 MB / 3.468 GB, free: 41.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/7.66, allocations: 0 / 3.468 GB, free: 41.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005229/7.666, allocations: 1.13 MB / 3.47 GB, free: 41.92 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007776/7.674, allocations: 1.555 MB / 3.471 GB, free: 41.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001948/7.675, allocations: 0.8971 MB / 3.472 GB, free: 41.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/7.676, allocations: 0 / 3.472 GB, free: 41.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/7.677, allocations: 0.6228 MB / 3.473 GB, free: 41.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/7.679, allocations: 358.6 kB / 3.473 GB, free: 41.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/7.681, allocations: 1.609 MB / 3.475 GB, free: 41.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/7.681, allocations: 1.12 MB / 3.476 GB, free: 40.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007581/7.682, allocations: 349.3 kB / 3.476 GB, free: 40.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/7.682, allocations: 62.47 kB / 3.476 GB, free: 40.69 MB / 458.7 MB Notification: Performance of SimCode: time 5.82e-07/7.682, allocations: 1.781 kB / 3.476 GB, free: 40.69 MB / 458.7 MB Notification: Performance of Templates: time 0.0524/7.735, allocations: 40.94 MB / 3.516 GB, free: 38.84 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)