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.009636/0.009637, allocations: 166.4 kB / 15.11 MB, free: 5.977 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.703/1.703, allocations: 170.8 MB / 186.6 MB, free: 1.027 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.001864/0.001864, allocations: 121.2 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.4294/0.4294, allocations: 38.06 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004991, allocations: 11.98 kB / 362.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1614, allocations: 48.71 MB / 411.6 MB, free: 4.844 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.173/7.334, allocations: 2.507 GB / 2.909 GB, free: 71.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/7.334, allocations: 91.19 kB / 2.909 GB, free: 71.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292/8.626, allocations: 427.6 MB / 3.327 GB, free: 2.562 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.385e-06/8.626, allocations: 0 / 3.327 GB, free: 2.562 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.502e-05/8.626, allocations: 23.12 kB / 3.327 GB, free: 2.543 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.007808/8.634, allocations: 1.802 MB / 3.328 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/8.634, allocations: 8.031 kB / 3.328 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/8.637, allocations: 342.6 kB / 3.329 GB, free: 368 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2675/8.905, allocations: 0.5778 MB / 3.329 GB, free: 33.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/8.905, allocations: 48.88 kB / 3.329 GB, free: 33.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/8.905, allocations: 55.38 kB / 3.329 GB, free: 33.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/8.908, allocations: 1.01 MB / 3.33 GB, free: 33.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/8.908, allocations: 2.219 kB / 3.33 GB, free: 33.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/8.908, allocations: 31.17 kB / 3.33 GB, free: 33.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/8.908, allocations: 23.39 kB / 3.33 GB, free: 33.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002663/8.911, allocations: 0.9164 MB / 3.331 GB, free: 33.65 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.005667/8.916, allocations: 4.824 MB / 3.336 GB, free: 30.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/8.919, allocations: 0.7646 MB / 3.337 GB, free: 30.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03965/8.958, allocations: 21.57 MB / 3.358 GB, free: 32.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/8.958, allocations: 39.19 kB / 3.358 GB, free: 32.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=46): time 2.555e-06/8.958, allocations: 2.656 kB / 3.358 GB, free: 32.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=63): time 0.02479/8.983, allocations: 4.379 MB / 3.362 GB, free: 31.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/8.983, allocations: 111.8 kB / 3.362 GB, free: 31.85 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/8.984, allocations: 437 kB / 3.363 GB, free: 31.74 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/8.984, allocations: 36.52 kB / 3.363 GB, free: 31.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/8.984, allocations: 354.1 kB / 3.363 GB, free: 31.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/8.984, allocations: 210.4 kB / 3.363 GB, free: 31.44 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/8.984, allocations: 17.47 kB / 3.363 GB, free: 31.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/8.984, allocations: 368.9 kB / 3.364 GB, free: 31.13 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007516/8.985, allocations: 382.2 kB / 3.364 GB, free: 31.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008981/8.986, allocations: 0.5869 MB / 3.365 GB, free: 30.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009085/8.987, allocations: 440.8 kB / 3.365 GB, free: 30.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/8.987, allocations: 9.469 kB / 3.365 GB, free: 30.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002669/8.99, allocations: 1.265 MB / 3.366 GB, free: 30.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009739/8.991, allocations: 2.443 MB / 3.369 GB, free: 28.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/8.991, allocations: 6.188 kB / 3.369 GB, free: 28.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004006/8.995, allocations: 0.9001 MB / 3.37 GB, free: 28.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/8.995, allocations: 168.1 kB / 3.37 GB, free: 28.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/8.998, allocations: 1.693 MB / 3.371 GB, free: 27.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/8.999, allocations: 101.7 kB / 3.371 GB, free: 27.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-05/8.999, allocations: 51.8 kB / 3.372 GB, free: 27.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/8.999, allocations: 3.062 kB / 3.372 GB, free: 27.16 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002558/9.001, allocations: 1.211 MB / 3.373 GB, free: 27.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/9.001, allocations: 12.52 kB / 3.373 GB, free: 27.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/9.004, allocations: 0.631 MB / 3.373 GB, free: 27.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/9.004, allocations: 168.7 kB / 3.373 GB, free: 27.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/9.006, allocations: 1.656 MB / 3.375 GB, free: 26.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009607/9.007, allocations: 99.88 kB / 3.375 GB, free: 26.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/9.008, allocations: 49.95 kB / 3.375 GB, free: 26.07 MB / 458.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 () * Number of clocked 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.0005897/9.008, allocations: 294.7 kB / 3.376 GB, free: 25.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/9.008, allocations: 66.34 kB / 3.376 GB, free: 25.85 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/9.013, allocations: 3.859 MB / 3.379 GB, free: 25.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.223e-05/9.014, allocations: 44.8 kB / 3.379 GB, free: 25.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/9.014, allocations: 0.7031 kB / 3.379 GB, free: 25.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/9.014, allocations: 10.64 kB / 3.379 GB, free: 25.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006715/9.02, allocations: 5.182 MB / 3.384 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/9.02, allocations: 0 / 3.384 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/9.021, allocations: 116.4 kB / 3.385 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004471/9.025, allocations: 1.635 MB / 3.386 GB, free: 24.97 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/9.025, allocations: 27.3 kB / 3.386 GB, free: 24.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004274/9.03, allocations: 2.372 MB / 3.389 GB, free: 23.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/9.03, allocations: 3.281 kB / 3.389 GB, free: 23.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006851/9.037, allocations: 2.637 MB / 3.391 GB, free: 23.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/9.038, allocations: 350 kB / 3.391 GB, free: 23.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/9.038, allocations: 13.94 kB / 3.391 GB, free: 23.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/9.039, allocations: 99.16 kB / 3.392 GB, free: 23.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/9.039, allocations: 63.5 kB / 3.392 GB, free: 23.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/9.039, allocations: 32.39 kB / 3.392 GB, free: 23.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008689/9.04, allocations: 432.7 kB / 3.392 GB, free: 23.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.51e-07/9.04, allocations: 0 / 3.392 GB, free: 23.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009442/9.05, allocations: 1.559 MB / 3.394 GB, free: 23.22 MB / 458.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 () * Number of clocked 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.01474/9.064, allocations: 1.831 MB / 3.395 GB, free: 23.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006722/9.071, allocations: 2.057 MB / 3.397 GB, free: 22.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/9.071, allocations: 0 / 3.397 GB, free: 22.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002258/9.074, allocations: 1.119 MB / 3.398 GB, free: 22.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/9.076, allocations: 302.9 kB / 3.399 GB, free: 22.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2044/9.281, allocations: 77.24 MB / 3.474 GB, free: 14.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/9.282, allocations: 1.186 MB / 3.475 GB, free: 13.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002243/9.284, allocations: 0.6672 MB / 3.476 GB, free: 12.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/9.284, allocations: 69.45 kB / 3.476 GB, free: 12.84 MB / 458.7 MB Notification: Performance of SimCode: time 1.482e-06/9.284, allocations: 0 / 3.476 GB, free: 12.84 MB / 458.7 MB Notification: Performance of Templates: time 0.3992/9.684, allocations: 50.43 MB / 3.525 GB, free: 46.14 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)