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.009567/0.009568, allocations: 165.5 kB / 15.11 MB, free: 5.973 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.575/1.575, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001656/0.001656, allocations: 103.3 kB / 226.2 MB, free: 10.11 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.3547/0.3547, allocations: 38.04 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006332/0.0006332, allocations: 12 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1394, allocations: 48.7 MB / 411.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.817/6.956, allocations: 2.516 GB / 2.918 GB, free: 90.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/6.957, allocations: 95.53 kB / 2.918 GB, free: 90.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.876/8.833, allocations: 491.3 MB / 3.398 GB, free: 37.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.793e-06/8.833, allocations: 0 / 3.398 GB, free: 37.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.52e-05/8.833, allocations: 24.73 kB / 3.398 GB, free: 37.33 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.007108/8.84, allocations: 1.796 MB / 3.4 GB, free: 36.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/8.84, allocations: 10.09 kB / 3.4 GB, free: 36.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/8.843, allocations: 312.5 kB / 3.4 GB, free: 36.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/8.844, allocations: 0.6047 MB / 3.401 GB, free: 36.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/8.844, allocations: 119.2 kB / 3.401 GB, free: 36.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.081e-05/8.844, allocations: 59.91 kB / 3.401 GB, free: 36.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/8.846, allocations: 1.204 MB / 3.402 GB, free: 35.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/8.847, allocations: 2.531 kB / 3.402 GB, free: 35.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.364e-05/8.847, allocations: 28.75 kB / 3.402 GB, free: 35.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/8.847, allocations: 46.45 kB / 3.402 GB, free: 35.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/8.849, allocations: 1.05 MB / 3.403 GB, free: 35.83 MB / 442.7 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.0052/8.854, allocations: 5.596 MB / 3.408 GB, free: 32.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/8.856, allocations: 0.7965 MB / 3.409 GB, free: 32.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02892/8.885, allocations: 18.72 MB / 3.427 GB, free: 20.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/8.885, allocations: 39.78 kB / 3.428 GB, free: 20.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.294e-06/8.885, allocations: 0 / 3.428 GB, free: 20.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.006431/8.892, allocations: 2.346 MB / 3.43 GB, free: 19.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/8.892, allocations: 163.9 kB / 3.43 GB, free: 19.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006084/8.892, allocations: 0.5277 MB / 3.43 GB, free: 19.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/8.892, allocations: 36.67 kB / 3.431 GB, free: 19.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/8.893, allocations: 401.2 kB / 3.431 GB, free: 19.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/8.893, allocations: 175.4 kB / 3.431 GB, free: 19.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/8.893, allocations: 16.5 kB / 3.431 GB, free: 19.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/8.893, allocations: 387.3 kB / 3.431 GB, free: 18.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/8.893, allocations: 289.2 kB / 3.432 GB, free: 18.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006807/8.894, allocations: 0.639 MB / 3.432 GB, free: 18.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006508/8.895, allocations: 395.9 kB / 3.433 GB, free: 18.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/8.895, allocations: 3.531 kB / 3.433 GB, free: 18.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001629/8.896, allocations: 0.9918 MB / 3.434 GB, free: 18.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/8.896, allocations: 15.25 kB / 3.434 GB, free: 18.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/8.896, allocations: 15.81 kB / 3.434 GB, free: 18.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002717/8.897, allocations: 73.47 kB / 3.434 GB, free: 18.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/8.898, allocations: 308.5 kB / 3.434 GB, free: 18.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/8.899, allocations: 1.994 MB / 3.436 GB, free: 16.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/8.9, allocations: 82.48 kB / 3.436 GB, free: 16.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/8.9, allocations: 40.75 kB / 3.436 GB, free: 16.51 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 () * Number of clocked 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.0003577/8.9, allocations: 282.4 kB / 3.436 GB, free: 16.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/8.9, allocations: 69.66 kB / 3.436 GB, free: 16.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/8.903, allocations: 2.597 MB / 3.439 GB, free: 16.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/8.903, allocations: 34.7 kB / 3.439 GB, free: 16.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/8.903, allocations: 3.953 kB / 3.439 GB, free: 16.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/8.903, allocations: 2.438 kB / 3.439 GB, free: 16.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003761/8.907, allocations: 3.783 MB / 3.443 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/8.907, allocations: 3.625 kB / 3.443 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/8.908, allocations: 237.3 kB / 3.443 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003831/8.908, allocations: 101.6 kB / 3.443 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/8.908, allocations: 18.34 kB / 3.443 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/8.909, allocations: 1.995 MB / 3.445 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/8.909, allocations: 3.844 kB / 3.445 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/8.912, allocations: 2.383 MB / 3.447 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005521/8.912, allocations: 326.8 kB / 3.448 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.553e-05/8.913, allocations: 11.53 kB / 3.448 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005313/8.913, allocations: 68.28 kB / 3.448 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/8.913, allocations: 45.62 kB / 3.448 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/8.913, allocations: 21.66 kB / 3.448 GB, free: 11.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006928/8.914, allocations: 0.5526 MB / 3.448 GB, free: 11.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/8.914, allocations: 3 kB / 3.448 GB, free: 11.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006178/8.92, allocations: 1.129 MB / 3.449 GB, free: 11.26 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 () * Number of clocked 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.007167/8.927, allocations: 1.529 MB / 3.451 GB, free: 10.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002533/8.93, allocations: 1.116 MB / 3.452 GB, free: 10.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/8.93, allocations: 4.062 kB / 3.452 GB, free: 10.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/8.931, allocations: 0.8087 MB / 3.453 GB, free: 10.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/8.933, allocations: 357.8 kB / 3.453 GB, free: 10.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/8.937, allocations: 3.025 MB / 3.456 GB, free: 8.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/8.937, allocations: 1.182 MB / 3.457 GB, free: 7.738 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009134/8.938, allocations: 446.3 kB / 3.458 GB, free: 7.703 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/8.938, allocations: 67.22 kB / 3.458 GB, free: 7.691 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/8.938, allocations: 0 / 3.458 GB, free: 7.691 MB / 442.7 MB Notification: Performance of Templates: time 0.05654/8.995, allocations: 40.14 MB / 3.497 GB, free: 10.45 MB / 458.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)