Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001386/0.001386, allocations: 182.6 kB / 7.652 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.564/1.564, allocations: 194.3 MB / 202.4 MB, free: 8.492 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.001714/0.001714, allocations: 115.3 kB / 247.4 MB, free: 6.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2028/0.2028, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.317e-05/1.319e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08468/0.08471, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.736/5.82, allocations: 2.612 GB / 3.05 GB, free: 150.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/5.821, allocations: 89.45 kB / 3.05 GB, free: 150.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.554/7.375, allocations: 432.3 MB / 3.472 GB, free: 53.83 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.703e-06/7.375, allocations: 0 / 3.472 GB, free: 53.83 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.918e-05/7.375, allocations: 19.53 kB / 3.472 GB, free: 53.82 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00755/7.383, allocations: 1.744 MB / 3.474 GB, free: 52.81 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/7.383, allocations: 13.84 kB / 3.474 GB, free: 52.81 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/7.386, allocations: 332.3 kB / 3.474 GB, free: 52.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/7.387, allocations: 0.5809 MB / 3.475 GB, free: 52.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/7.387, allocations: 26.89 kB / 3.475 GB, free: 52.36 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/7.387, allocations: 31.25 kB / 3.475 GB, free: 52.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001024/7.389, allocations: 0.5367 MB / 3.475 GB, free: 52.17 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/7.39, allocations: 0.654 MB / 3.476 GB, free: 51.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/7.39, allocations: 0 / 3.476 GB, free: 51.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-05/7.39, allocations: 3.656 kB / 3.476 GB, free: 51.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/7.39, allocations: 24.8 kB / 3.476 GB, free: 51.8 MB / 474.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.007538/7.397, allocations: 5.763 MB / 3.481 GB, free: 47.17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/7.398, allocations: 447.7 kB / 3.482 GB, free: 46.99 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/7.398, allocations: 212.9 kB / 3.482 GB, free: 46.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5252/7.924, allocations: 81.83 MB / 3.562 GB, free: 89.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/7.924, allocations: 38.22 kB / 3.562 GB, free: 89.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 4.519e-06/7.924, allocations: 0 / 3.562 GB, free: 89.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51): time 0.006702/7.93, allocations: 1.776 MB / 3.564 GB, free: 89.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/7.931, allocations: 109.7 kB / 3.564 GB, free: 89.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006682/7.931, allocations: 387.7 kB / 3.564 GB, free: 89.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/7.931, allocations: 26.58 kB / 3.564 GB, free: 89.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/7.932, allocations: 338.4 kB / 3.565 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/7.932, allocations: 177.4 kB / 3.565 GB, free: 88.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/7.932, allocations: 3.188 kB / 3.565 GB, free: 88.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001039/7.932, allocations: 366.8 kB / 3.565 GB, free: 88.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/7.932, allocations: 188.4 kB / 3.565 GB, free: 88.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/7.932, allocations: 378.6 kB / 3.566 GB, free: 88.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/7.934, allocations: 324.2 kB / 3.566 GB, free: 88.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/7.934, allocations: 2.875 kB / 3.566 GB, free: 88.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00226/7.936, allocations: 0.8521 MB / 3.567 GB, free: 88.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005418/7.936, allocations: 2.181 MB / 3.569 GB, free: 85.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/7.936, allocations: 6.469 kB / 3.569 GB, free: 85.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/7.938, allocations: 283 kB / 3.569 GB, free: 85.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/7.938, allocations: 147.2 kB / 3.569 GB, free: 85.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/7.939, allocations: 0.9467 MB / 3.57 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007703/7.94, allocations: 79.72 kB / 3.57 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/7.94, allocations: 40.53 kB / 3.57 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/7.94, allocations: 4.688 kB / 3.57 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001895/7.942, allocations: 0.6997 MB / 3.571 GB, free: 85.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/7.942, allocations: 6.641 kB / 3.571 GB, free: 85.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/7.943, allocations: 263.3 kB / 3.571 GB, free: 85.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/7.944, allocations: 141.5 kB / 3.571 GB, free: 85.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009613/7.945, allocations: 0.8562 MB / 3.572 GB, free: 84.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/7.946, allocations: 75.92 kB / 3.572 GB, free: 84.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.566e-05/7.946, allocations: 36.55 kB / 3.572 GB, free: 84.83 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.000202/7.946, allocations: 125.2 kB / 3.572 GB, free: 84.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/7.946, allocations: 58.58 kB / 3.573 GB, free: 84.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004585/7.951, allocations: 2.616 MB / 3.575 GB, free: 84.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.54e-05/7.951, allocations: 49 kB / 3.575 GB, free: 84.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/7.951, allocations: 0 / 3.575 GB, free: 84.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/7.951, allocations: 5.781 kB / 3.575 GB, free: 84.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00482/7.955, allocations: 3.572 MB / 3.579 GB, free: 84.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/7.955, allocations: 0 / 3.579 GB, free: 84.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/7.956, allocations: 165.5 kB / 3.579 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/7.956, allocations: 69.75 kB / 3.579 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/7.956, allocations: 10.58 kB / 3.579 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005475/7.957, allocations: 1.208 MB / 3.58 GB, free: 82.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/7.957, allocations: 6.797 kB / 3.58 GB, free: 82.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/7.96, allocations: 2.249 MB / 3.582 GB, free: 82.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/7.96, allocations: 310.2 kB / 3.583 GB, free: 82.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/7.96, allocations: 3.234 kB / 3.583 GB, free: 82.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/7.961, allocations: 62.94 kB / 3.583 GB, free: 82.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/7.961, allocations: 60.39 kB / 3.583 GB, free: 82.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.793e-05/7.961, allocations: 26.25 kB / 3.583 GB, free: 82.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004756/7.961, allocations: 361.3 kB / 3.583 GB, free: 82.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.961, allocations: 0 / 3.583 GB, free: 82.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007823/7.969, allocations: 1.336 MB / 3.584 GB, free: 82.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.007824/7.977, allocations: 1.81 MB / 3.586 GB, free: 82.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002429/7.98, allocations: 1.207 MB / 3.587 GB, free: 82.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/7.98, allocations: 0 / 3.587 GB, free: 82.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/7.981, allocations: 0.7468 MB / 3.588 GB, free: 82.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/7.982, allocations: 283.3 kB / 3.588 GB, free: 82.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1137/8.096, allocations: 55.17 MB / 3.642 GB, free: 80.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/8.097, allocations: 1.149 MB / 3.643 GB, free: 79.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001511/8.098, allocations: 0.6705 MB / 3.644 GB, free: 79.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/8.099, allocations: 62.44 kB / 3.644 GB, free: 79.64 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/8.099, allocations: 5.125 kB / 3.644 GB, free: 79.64 MB / 0.4948 GB Notification: Performance of Templates: time 0.05365/8.152, allocations: 38.73 MB / 3.682 GB, free: 67.25 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1)