Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001655/0.001655, allocations: 170.5 kB / 12.72 MB, free: 2.594 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.3/1.3, 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.001797/0.001797, allocations: 107.4 kB / 223.2 MB, free: 4.109 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.1814/0.1814, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.81e-05/2.811e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09163, allocations: 48.7 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.379/5.47, allocations: 2.507 GB / 2.903 GB, free: 137.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/5.471, allocations: 87.42 kB / 2.903 GB, free: 137.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36/6.831, allocations: 426.3 MB / 3.32 GB, free: 53.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.653e-06/6.831, allocations: 6.891 kB / 3.32 GB, free: 53.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.972e-05/6.831, allocations: 14.88 kB / 3.32 GB, free: 53.88 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005866/6.837, allocations: 1.72 MB / 3.321 GB, free: 53.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/6.837, allocations: 6.438 kB / 3.321 GB, free: 53.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/6.84, allocations: 337.8 kB / 3.322 GB, free: 52.97 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/6.841, allocations: 0.5778 MB / 3.322 GB, free: 52.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/6.841, allocations: 53.73 kB / 3.322 GB, free: 52.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/6.841, allocations: 59.83 kB / 3.322 GB, free: 52.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/6.843, allocations: 0.983 MB / 3.323 GB, free: 52.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/6.843, allocations: 2.781 kB / 3.323 GB, free: 52.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.967e-05/6.843, allocations: 31.17 kB / 3.323 GB, free: 52.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/6.843, allocations: 21.09 kB / 3.323 GB, free: 52.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/6.845, allocations: 0.8137 MB / 3.324 GB, free: 52.51 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.004544/6.85, allocations: 4.828 MB / 3.329 GB, free: 49.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/6.851, allocations: 0.6947 MB / 3.33 GB, free: 49.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/6.852, allocations: 218.2 kB / 3.33 GB, free: 49.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03526/6.887, allocations: 21.65 MB / 3.351 GB, free: 35.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/6.887, allocations: 50.16 kB / 3.351 GB, free: 35.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.536e-06/6.887, allocations: 0 / 3.351 GB, free: 35.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.02296/6.91, allocations: 3.788 MB / 3.355 GB, free: 34.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/6.91, allocations: 111.2 kB / 3.355 GB, free: 34.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005449/6.911, allocations: 426.3 kB / 3.355 GB, free: 34.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6e-05/6.911, allocations: 37.48 kB / 3.355 GB, free: 34.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/6.911, allocations: 348.8 kB / 3.356 GB, free: 34.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/6.911, allocations: 216.3 kB / 3.356 GB, free: 33.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/6.911, allocations: 8 kB / 3.356 GB, free: 33.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.745e-05/6.911, allocations: 374.6 kB / 3.356 GB, free: 33.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004067/6.912, allocations: 281.4 kB / 3.356 GB, free: 33.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/6.912, allocations: 493.5 kB / 3.357 GB, free: 33.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/6.913, allocations: 342.6 kB / 3.357 GB, free: 32.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/6.913, allocations: 0 / 3.357 GB, free: 32.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001615/6.914, allocations: 1.037 MB / 3.358 GB, free: 32.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004192/6.915, allocations: 2.44 MB / 3.361 GB, free: 29.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/6.915, allocations: 7.906 kB / 3.361 GB, free: 29.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003541/6.918, allocations: 0.823 MB / 3.361 GB, free: 29.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/6.919, allocations: 173.6 kB / 3.362 GB, free: 29.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/6.92, allocations: 1.602 MB / 3.363 GB, free: 28.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009739/6.921, allocations: 108 kB / 3.363 GB, free: 28.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/6.921, allocations: 52.56 kB / 3.363 GB, free: 28.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/6.921, allocations: 3.938 kB / 3.363 GB, free: 28.45 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001851/6.923, allocations: 0.9816 MB / 3.364 GB, free: 28.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/6.923, allocations: 6.844 kB / 3.364 GB, free: 28.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/6.925, allocations: 0.5527 MB / 3.365 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/6.926, allocations: 174.5 kB / 3.365 GB, free: 27.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/6.927, allocations: 1.566 MB / 3.366 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008408/6.928, allocations: 92.28 kB / 3.367 GB, free: 26.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/6.928, allocations: 48.58 kB / 3.367 GB, free: 26.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (69): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002254/6.929, allocations: 156.5 kB / 3.367 GB, free: 26.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/6.929, allocations: 66.78 kB / 3.367 GB, free: 26.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/6.933, allocations: 3.974 MB / 3.371 GB, free: 24.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-05/6.933, allocations: 43.72 kB / 3.371 GB, free: 24.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/6.933, allocations: 0 / 3.371 GB, free: 24.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/6.933, allocations: 3.562 kB / 3.371 GB, free: 24.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005197/6.938, allocations: 5.149 MB / 3.376 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/6.938, allocations: 3.594 kB / 3.376 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/6.939, allocations: 117.9 kB / 3.376 GB, free: 22.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003772/6.943, allocations: 1.746 MB / 3.378 GB, free: 21.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/6.943, allocations: 23.19 kB / 3.378 GB, free: 21.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/6.945, allocations: 2.369 MB / 3.38 GB, free: 20.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/6.945, allocations: 0 / 3.38 GB, free: 20.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/6.947, allocations: 2.498 MB / 3.382 GB, free: 18.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/6.948, allocations: 349.7 kB / 3.383 GB, free: 18.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/6.948, allocations: 15.42 kB / 3.383 GB, free: 18.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006283/6.949, allocations: 98.06 kB / 3.383 GB, free: 17.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/6.949, allocations: 60.83 kB / 3.383 GB, free: 17.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/6.949, allocations: 38.8 kB / 3.383 GB, free: 17.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004592/6.949, allocations: 414.7 kB / 3.383 GB, free: 17.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.9e-07/6.949, allocations: 0 / 3.383 GB, free: 17.51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006089/6.955, allocations: 1.558 MB / 3.385 GB, free: 15.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.007895/6.963, allocations: 1.845 MB / 3.387 GB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003282/6.967, allocations: 1.781 MB / 3.388 GB, free: 12.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/6.967, allocations: 0 / 3.388 GB, free: 12.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/6.968, allocations: 1.032 MB / 3.389 GB, free: 11.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/6.969, allocations: 296.5 kB / 3.39 GB, free: 11.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4102/7.379, allocations: 76.09 MB / 3.464 GB, free: 59.56 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/7.38, allocations: 1.184 MB / 3.465 GB, free: 58.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001297/7.381, allocations: 0.6823 MB / 3.466 GB, free: 58.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/7.381, allocations: 69.92 kB / 3.466 GB, free: 58.84 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/7.381, allocations: 0 / 3.466 GB, free: 58.84 MB / 458.7 MB Notification: Performance of Templates: time 0.06399/7.445, allocations: 52.64 MB / 3.517 GB, free: 56.53 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1)