Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001208/0.001208, allocations: 181.8 kB / 12.74 MB, free: 2.582 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.439/1.439, allocations: 194.3 MB / 207.5 MB, free: 3.391 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.001495/0.001495, allocations: 112 kB / 252.6 MB, free: 4.824 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.2164/0.2164, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.247e-05/4.249e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1272, allocations: 54.87 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.676/6.804, allocations: 2.613 GB / 3.057 GB, free: 120.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004491/6.804, allocations: 84.75 kB / 3.057 GB, free: 120 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.716/8.521, allocations: 436.9 MB / 3.484 GB, free: 46.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.424e-06/8.521, allocations: 0 / 3.484 GB, free: 46.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.638e-05/8.521, allocations: 23.19 kB / 3.484 GB, free: 46.45 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006965/8.528, allocations: 1.759 MB / 3.486 GB, free: 45.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/8.528, allocations: 10.72 kB / 3.486 GB, free: 45.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/8.53, allocations: 324.7 kB / 3.486 GB, free: 45.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/8.532, allocations: 0.5842 MB / 3.486 GB, free: 44.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/8.532, allocations: 47.41 kB / 3.487 GB, free: 44.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.89e-05/8.532, allocations: 65.52 kB / 3.487 GB, free: 44.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/8.534, allocations: 0.9675 MB / 3.488 GB, free: 44.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/8.534, allocations: 3.938 kB / 3.488 GB, free: 44.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/8.534, allocations: 30.72 kB / 3.488 GB, free: 44.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/8.534, allocations: 21.88 kB / 3.488 GB, free: 44.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/8.536, allocations: 0.8096 MB / 3.488 GB, free: 44.16 MB / 490.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.003969/8.54, allocations: 4.444 MB / 3.493 GB, free: 40.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/8.541, allocations: 0.737 MB / 3.493 GB, free: 40.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/8.542, allocations: 228 kB / 3.494 GB, free: 40.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5192/9.061, allocations: 83.24 MB / 3.575 GB, free: 57.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/9.061, allocations: 37.22 kB / 3.575 GB, free: 57.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/9.061, allocations: 0 / 3.575 GB, free: 57.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.006219/9.067, allocations: 1.839 MB / 3.577 GB, free: 57.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/9.067, allocations: 109.7 kB / 3.577 GB, free: 56.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008308/9.068, allocations: 419.4 kB / 3.577 GB, free: 56.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.9e-05/9.068, allocations: 35.36 kB / 3.577 GB, free: 56.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/9.069, allocations: 338 kB / 3.578 GB, free: 56.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/9.069, allocations: 183.8 kB / 3.578 GB, free: 56.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/9.069, allocations: 12.97 kB / 3.578 GB, free: 56.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000168/9.069, allocations: 368.5 kB / 3.578 GB, free: 56.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/9.069, allocations: 199.8 kB / 3.578 GB, free: 56.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/9.07, allocations: 392.9 kB / 3.579 GB, free: 55.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/9.07, allocations: 251.4 kB / 3.579 GB, free: 55.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/9.071, allocations: 0.75 kB / 3.579 GB, free: 55.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001911/9.072, allocations: 0.829 MB / 3.58 GB, free: 55.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00053/9.073, allocations: 2.178 MB / 3.582 GB, free: 53.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/9.073, allocations: 9.312 kB / 3.582 GB, free: 53.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/9.075, allocations: 384.2 kB / 3.582 GB, free: 53.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/9.076, allocations: 143.4 kB / 3.582 GB, free: 53.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/9.077, allocations: 0.8586 MB / 3.583 GB, free: 53.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008881/9.078, allocations: 96.36 kB / 3.583 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.409e-05/9.078, allocations: 37.05 kB / 3.583 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/9.078, allocations: 3.906 kB / 3.583 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00197/9.08, allocations: 0.7921 MB / 3.584 GB, free: 53.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/9.08, allocations: 5.531 kB / 3.584 GB, free: 53.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/9.081, allocations: 295.3 kB / 3.584 GB, free: 53.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/9.082, allocations: 149.8 kB / 3.585 GB, free: 53.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009133/9.082, allocations: 0.8267 MB / 3.585 GB, free: 52.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007801/9.083, allocations: 98.16 kB / 3.586 GB, free: 52.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/9.083, allocations: 33.8 kB / 3.586 GB, free: 52.53 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 (61): * Single equations (assignments): 60 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0002529/9.084, allocations: 145.8 kB / 3.586 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/9.084, allocations: 60.75 kB / 3.586 GB, free: 52.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/9.088, allocations: 2.857 MB / 3.589 GB, free: 52.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.62e-05/9.088, allocations: 40.41 kB / 3.589 GB, free: 52.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/9.088, allocations: 7.422 kB / 3.589 GB, free: 52.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/9.088, allocations: 2.516 kB / 3.589 GB, free: 52.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005617/9.094, allocations: 3.981 MB / 3.592 GB, free: 51.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/9.094, allocations: 3.375 kB / 3.592 GB, free: 51.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007903/9.095, allocations: 170 kB / 3.593 GB, free: 51.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003727/9.095, allocations: 75.23 kB / 3.593 GB, free: 51.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/9.095, allocations: 10.59 kB / 3.593 GB, free: 51.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006766/9.096, allocations: 1.183 MB / 3.594 GB, free: 50.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/9.096, allocations: 0 / 3.594 GB, free: 50.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/9.099, allocations: 2.377 MB / 3.596 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008825/9.1, allocations: 318.4 kB / 3.597 GB, free: 50.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/9.1, allocations: 17.09 kB / 3.597 GB, free: 50.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/9.101, allocations: 71.52 kB / 3.597 GB, free: 50.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/9.101, allocations: 55.91 kB / 3.597 GB, free: 50.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/9.101, allocations: 25.27 kB / 3.597 GB, free: 50.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005932/9.102, allocations: 385.8 kB / 3.597 GB, free: 50.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/9.102, allocations: 3.938 kB / 3.597 GB, free: 50.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007063/9.109, allocations: 1.395 MB / 3.598 GB, free: 50.01 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: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.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 (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.009489/9.118, allocations: 1.729 MB / 3.6 GB, free: 49.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003105/9.121, allocations: 1.326 MB / 3.601 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/9.122, allocations: 0 / 3.601 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/9.123, allocations: 0.8107 MB / 3.602 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/9.125, allocations: 302 kB / 3.602 GB, free: 49.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1395/9.265, allocations: 77.12 MB / 3.678 GB, free: 46.31 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/9.266, allocations: 1.173 MB / 3.679 GB, free: 45.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001332/9.267, allocations: 0.658 MB / 3.68 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/9.267, allocations: 58.67 kB / 3.68 GB, free: 44.86 MB / 0.4948 GB Notification: Performance of SimCode: time 3.136e-06/9.267, allocations: 0 / 3.68 GB, free: 44.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.05972/9.327, allocations: 45.76 MB / 3.724 GB, free: 12.62 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1)