Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008862/0.008862, allocations: 174.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.797/1.797, allocations: 194.5 MB / 210.3 MB, free: 7.531 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001731/0.001731, allocations: 124.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2447/0.2447, allocations: 40 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.000443, allocations: 12.44 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1478, allocations: 54.87 MB / 461 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.497/6.645, allocations: 2.627 GB / 3.077 GB, free: 120.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/6.646, allocations: 105.1 kB / 3.077 GB, free: 120.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.015/8.661, allocations: 0.492 GB / 3.569 GB, free: 45.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.4e-06/8.661, allocations: 3.531 kB / 3.569 GB, free: 45.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001204/8.661, allocations: 20 kB / 3.569 GB, free: 45.43 MB / 490.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.00847/8.669, allocations: 1.796 MB / 3.571 GB, free: 44.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/8.669, allocations: 8.656 kB / 3.571 GB, free: 44.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/8.672, allocations: 324.5 kB / 3.571 GB, free: 44.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/8.673, allocations: 0.6077 MB / 3.572 GB, free: 44.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/8.674, allocations: 107.6 kB / 3.572 GB, free: 44.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/8.674, allocations: 63.98 kB / 3.572 GB, free: 44.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002858/8.677, allocations: 1.159 MB / 3.573 GB, free: 44.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/8.677, allocations: 3 kB / 3.573 GB, free: 44.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/8.677, allocations: 32.22 kB / 3.573 GB, free: 44.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/8.677, allocations: 40.91 kB / 3.573 GB, free: 44.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/8.679, allocations: 0.8306 MB / 3.574 GB, free: 44.22 MB / 490.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.007715/8.687, allocations: 5.482 MB / 3.579 GB, free: 40.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/8.688, allocations: 0.5607 MB / 3.58 GB, free: 40.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09422/8.782, allocations: 49.01 MB / 3.628 GB, free: 27.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.245e-05/8.782, allocations: 40.78 kB / 3.628 GB, free: 27.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 3.818e-06/8.782, allocations: 6.625 kB / 3.628 GB, free: 27.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.006319/8.789, allocations: 1.922 MB / 3.63 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/8.789, allocations: 172.2 kB / 3.63 GB, free: 26.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009706/8.79, allocations: 0.5413 MB / 3.63 GB, free: 26.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/8.79, allocations: 36.39 kB / 3.63 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/8.79, allocations: 399.2 kB / 3.631 GB, free: 26.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/8.79, allocations: 166.1 kB / 3.631 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/8.791, allocations: 17.94 kB / 3.631 GB, free: 26.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002148/8.791, allocations: 376.7 kB / 3.631 GB, free: 25.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/8.791, allocations: 224.3 kB / 3.631 GB, free: 25.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/8.792, allocations: 0.5855 MB / 3.632 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/8.792, allocations: 341.8 kB / 3.632 GB, free: 25.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/8.792, allocations: 3.938 kB / 3.632 GB, free: 25.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001648/8.794, allocations: 0.8875 MB / 3.633 GB, free: 25.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/8.794, allocations: 15.12 kB / 3.633 GB, free: 25.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/8.794, allocations: 11.03 kB / 3.633 GB, free: 25.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003695/8.794, allocations: 63.47 kB / 3.633 GB, free: 25.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/8.796, allocations: 289.2 kB / 3.634 GB, free: 25.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/8.798, allocations: 1.998 MB / 3.636 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009489/8.799, allocations: 63.95 kB / 3.636 GB, free: 23.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/8.799, allocations: 40.5 kB / 3.636 GB, free: 23.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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.0006519/8.799, allocations: 276.9 kB / 3.636 GB, free: 23.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/8.8, allocations: 79.02 kB / 3.636 GB, free: 23.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/8.802, allocations: 2.217 MB / 3.638 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/8.802, allocations: 24.33 kB / 3.638 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/8.802, allocations: 3.75 kB / 3.638 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/8.802, allocations: 3.562 kB / 3.638 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004603/8.807, allocations: 3.28 MB / 3.641 GB, free: 22.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/8.807, allocations: 3.047 kB / 3.641 GB, free: 22.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009084/8.808, allocations: 188.7 kB / 3.642 GB, free: 22.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003979/8.808, allocations: 96.94 kB / 3.642 GB, free: 22.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/8.808, allocations: 10.16 kB / 3.642 GB, free: 22.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/8.81, allocations: 1.997 MB / 3.644 GB, free: 20.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/8.81, allocations: 8.047 kB / 3.644 GB, free: 20.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/8.812, allocations: 1.987 MB / 3.646 GB, free: 20.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006989/8.813, allocations: 280.2 kB / 3.646 GB, free: 20.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/8.813, allocations: 13.75 kB / 3.646 GB, free: 20.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008079/8.814, allocations: 64.23 kB / 3.646 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/8.814, allocations: 30 kB / 3.646 GB, free: 20.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/8.814, allocations: 24.81 kB / 3.646 GB, free: 20.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000814/8.815, allocations: 0.4985 MB / 3.646 GB, free: 19.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.2e-07/8.815, allocations: 0 / 3.646 GB, free: 19.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006518/8.822, allocations: 1.125 MB / 3.648 GB, free: 19.8 MB / 0.4948 GB 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0115/8.833, allocations: 1.556 MB / 3.649 GB, free: 19.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002695/8.836, allocations: 0.9204 MB / 3.65 GB, free: 19.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/8.836, allocations: 6.984 kB / 3.65 GB, free: 19.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/8.838, allocations: 0.6589 MB / 3.651 GB, free: 19.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/8.841, allocations: 359.1 kB / 3.651 GB, free: 19.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/8.846, allocations: 2.702 MB / 3.654 GB, free: 18.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/8.848, allocations: 1.14 MB / 3.655 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001367/8.849, allocations: 450.5 kB / 3.655 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/8.849, allocations: 70.03 kB / 3.655 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/8.849, allocations: 0 / 3.655 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.06644/8.916, allocations: 39.44 MB / 3.694 GB, free: 15.19 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)