Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001067/0.001067, allocations: 164.2 kB / 12.72 MB, free: 2.59 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.226/1.226, allocations: 170.6 MB / 183.8 MB, free: 11.47 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.001536/0.001536, allocations: 102.8 kB / 223.2 MB, free: 4.102 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.179/0.179, allocations: 38 MB / 300.4 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.234e-05/3.281e-05, allocations: 3.984 kB / 357 MB, free: 32.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 48.71 MB / 405.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.794/5.894, allocations: 2.516 GB / 2.912 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/5.895, allocations: 90.53 kB / 2.912 GB, free: 95.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.678/7.572, allocations: 489.9 MB / 3.391 GB, free: 43.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.753e-06/7.572, allocations: 0 / 3.391 GB, free: 43.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.581e-05/7.573, allocations: 19.66 kB / 3.391 GB, free: 43.5 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.006745/7.579, allocations: 1.719 MB / 3.392 GB, free: 42.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/7.579, allocations: 11.66 kB / 3.392 GB, free: 42.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/7.582, allocations: 308 kB / 3.393 GB, free: 42.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/7.583, allocations: 0.6009 MB / 3.393 GB, free: 42.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/7.583, allocations: 120.8 kB / 3.393 GB, free: 42.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/7.583, allocations: 57.62 kB / 3.393 GB, free: 42.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/7.585, allocations: 1.199 MB / 3.395 GB, free: 42.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/7.585, allocations: 6 kB / 3.395 GB, free: 42.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/7.585, allocations: 29.08 kB / 3.395 GB, free: 42.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.172e-05/7.585, allocations: 49.33 kB / 3.395 GB, free: 42.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/7.587, allocations: 0.9914 MB / 3.396 GB, free: 42.09 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.005571/7.593, allocations: 5.598 MB / 3.401 GB, free: 38.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/7.594, allocations: 0.7241 MB / 3.402 GB, free: 38.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/7.595, allocations: 247.5 kB / 3.402 GB, free: 38.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03198/7.627, allocations: 18.78 MB / 3.42 GB, free: 26.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/7.627, allocations: 42.72 kB / 3.42 GB, free: 26.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 4.068e-06/7.627, allocations: 2.938 kB / 3.42 GB, free: 26.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.005369/7.632, allocations: 2.009 MB / 3.422 GB, free: 26.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/7.632, allocations: 162.2 kB / 3.423 GB, free: 25.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006843/7.633, allocations: 0.5301 MB / 3.423 GB, free: 25.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/7.633, allocations: 43.14 kB / 3.423 GB, free: 25.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/7.633, allocations: 397.6 kB / 3.424 GB, free: 25.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/7.633, allocations: 173.7 kB / 3.424 GB, free: 25.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/7.633, allocations: 15.69 kB / 3.424 GB, free: 25.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/7.634, allocations: 380.7 kB / 3.424 GB, free: 25.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/7.634, allocations: 248 kB / 3.424 GB, free: 25.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/7.634, allocations: 0.5885 MB / 3.425 GB, free: 24.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/7.635, allocations: 338.4 kB / 3.425 GB, free: 24.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/7.635, allocations: 3.781 kB / 3.425 GB, free: 24.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001202/7.636, allocations: 0.9026 MB / 3.426 GB, free: 24.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/7.636, allocations: 9.25 kB / 3.426 GB, free: 24.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/7.636, allocations: 12.84 kB / 3.426 GB, free: 24.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/7.636, allocations: 64.27 kB / 3.426 GB, free: 24.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/7.638, allocations: 317 kB / 3.426 GB, free: 24.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/7.639, allocations: 1.981 MB / 3.428 GB, free: 22.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007479/7.64, allocations: 79.84 kB / 3.428 GB, free: 22.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/7.64, allocations: 46.58 kB / 3.429 GB, free: 22.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001918/7.64, allocations: 168.1 kB / 3.429 GB, free: 22.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/7.64, allocations: 68.56 kB / 3.429 GB, free: 22.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/7.643, allocations: 2.567 MB / 3.431 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/7.643, allocations: 43.81 kB / 3.431 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/7.643, allocations: 0 / 3.431 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/7.643, allocations: 3.422 kB / 3.431 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003731/7.646, allocations: 3.738 MB / 3.435 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/7.646, allocations: 0 / 3.435 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/7.648, allocations: 250.2 kB / 3.435 GB, free: 21.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003046/7.648, allocations: 84.88 kB / 3.435 GB, free: 21.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/7.648, allocations: 16.34 kB / 3.435 GB, free: 21.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009813/7.649, allocations: 1.997 MB / 3.437 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/7.649, allocations: 7.125 kB / 3.437 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/7.651, allocations: 2.233 MB / 3.439 GB, free: 19.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/7.651, allocations: 324.6 kB / 3.44 GB, free: 19.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.972e-05/7.651, allocations: 10.91 kB / 3.44 GB, free: 19.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/7.652, allocations: 65.2 kB / 3.44 GB, free: 19.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/7.652, allocations: 51.84 kB / 3.44 GB, free: 19.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/7.652, allocations: 24.48 kB / 3.44 GB, free: 19.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006624/7.653, allocations: 0.534 MB / 3.44 GB, free: 19.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/7.653, allocations: 0 / 3.44 GB, free: 19.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004859/7.657, allocations: 1.127 MB / 3.442 GB, free: 19.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006695/7.664, allocations: 1.549 MB / 3.443 GB, free: 18.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002114/7.666, allocations: 1.027 MB / 3.444 GB, free: 18.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/7.666, allocations: 0 / 3.444 GB, free: 18.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/7.667, allocations: 0.7569 MB / 3.445 GB, free: 18.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/7.669, allocations: 364.3 kB / 3.445 GB, free: 18.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/7.672, allocations: 1.907 MB / 3.447 GB, free: 18.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/7.673, allocations: 1.19 MB / 3.448 GB, free: 17.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001031/7.674, allocations: 445 kB / 3.449 GB, free: 17.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/7.674, allocations: 68.72 kB / 3.449 GB, free: 17.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.463e-06/7.674, allocations: 0 / 3.449 GB, free: 17.66 MB / 442.7 MB Notification: Performance of Templates: time 0.05592/7.73, allocations: 41.9 MB / 3.49 GB, free: 14.29 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)