Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") translateModel(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001597, allocations: 180.6 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.201/2.201, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009847/0.0009847, allocations: 83.48 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6253/0.6253, allocations: 48.77 MB / 358.8 MB, free: 53.15 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.359e-05, allocations: 7.984 kB / 425.3 MB, free: 8.227 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.188, allocations: 60.24 MB / 485.5 MB, free: 11.83 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.344/8.532, allocations: 2.888 GB / 3.362 GB, free: 108 kB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.4128/8.945, allocations: 73.5 kB / 3.362 GB, free: 156.8 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 2.173/11.12, allocations: 493.7 MB / 3.844 GB, free: 54.82 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.044e-06/11.12, allocations: 0 / 3.844 GB, free: 54.82 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 9.593e-05/11.12, allocations: 32.64 kB / 3.844 GB, free: 54.82 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.008893/11.13, allocations: 1.469 MB / 3.846 GB, free: 54.1 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/11.13, allocations: 7.219 kB / 3.846 GB, free: 54.1 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006165/11.13, allocations: 128.4 kB / 3.846 GB, free: 54.05 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/11.13, allocations: 0.7553 MB / 3.847 GB, free: 53.76 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/11.13, allocations: 123.9 kB / 3.847 GB, free: 53.66 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/11.13, allocations: 43.67 kB / 3.847 GB, free: 53.66 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009294/11.13, allocations: 478.3 kB / 3.847 GB, free: 53.66 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/11.13, allocations: 0.7458 MB / 3.848 GB, free: 53.38 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/11.13, allocations: 2.156 kB / 3.848 GB, free: 53.38 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/11.13, allocations: 10.31 kB / 3.848 GB, free: 53.38 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.868e-05/11.13, allocations: 15.5 kB / 3.848 GB, free: 53.38 MB / 0.5108 GB 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.004337/11.14, allocations: 3.373 MB / 3.851 GB, free: 50.97 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/11.14, allocations: 455.2 kB / 3.852 GB, free: 50.94 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/11.14, allocations: 178.1 kB / 3.852 GB, free: 50.93 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05988/11.2, allocations: 32.1 MB / 3.883 GB, free: 31.25 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/11.2, allocations: 36.94 kB / 3.883 GB, free: 31.21 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=53): time 3.907e-06/11.2, allocations: 0 / 3.883 GB, free: 31.21 MB / 0.5108 GB Notification: Performance of matching and sorting (n=53): time 0.002512/11.2, allocations: 0.6282 MB / 3.884 GB, free: 31.11 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/11.2, allocations: 57.38 kB / 3.884 GB, free: 31.04 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/11.2, allocations: 371.7 kB / 3.884 GB, free: 30.93 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/11.2, allocations: 25.7 kB / 3.884 GB, free: 30.9 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/11.2, allocations: 369.8 kB / 3.885 GB, free: 30.72 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/11.2, allocations: 180.2 kB / 3.885 GB, free: 30.6 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/11.2, allocations: 4 kB / 3.885 GB, free: 30.59 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001354/11.2, allocations: 367.8 kB / 3.885 GB, free: 30.28 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/11.2, allocations: 135 kB / 3.885 GB, free: 30.28 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/11.2, allocations: 233.2 kB / 3.886 GB, free: 30.18 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005634/11.2, allocations: 170.9 kB / 3.886 GB, free: 30.17 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/11.2, allocations: 4 kB / 3.886 GB, free: 30.16 MB / 0.5108 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001677/11.21, allocations: 0.6548 MB / 3.886 GB, free: 30.05 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002813/11.21, allocations: 1.135 MB / 3.888 GB, free: 28.87 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/11.21, allocations: 10.03 kB / 3.888 GB, free: 28.86 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/11.21, allocations: 306 kB / 3.888 GB, free: 28.83 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/11.21, allocations: 101.4 kB / 3.888 GB, free: 28.83 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/11.21, allocations: 1.998 MB / 3.89 GB, free: 27.25 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007918/11.21, allocations: 75.47 kB / 3.89 GB, free: 27.22 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.649e-05/11.21, allocations: 43.48 kB / 3.89 GB, free: 27.22 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/11.21, allocations: 7.875 kB / 3.89 GB, free: 27.22 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001485/11.21, allocations: 0.5449 MB / 3.891 GB, free: 27.14 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/11.21, allocations: 8.031 kB / 3.891 GB, free: 27.14 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006343/11.21, allocations: 201.2 kB / 3.891 GB, free: 27.11 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/11.21, allocations: 116.2 kB / 3.891 GB, free: 27.11 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/11.21, allocations: 1.828 MB / 3.893 GB, free: 25.53 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/11.21, allocations: 85.38 kB / 3.893 GB, free: 25.5 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/11.21, allocations: 27.45 kB / 3.893 GB, free: 25.5 MB / 0.5108 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Pump2.dp:VARIABLE(unit = "Pa" ) "Outlet pressure minus inlet pressure" type: Real Pump2.w:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate (total)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Pump3.w:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate (total)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Pump1.w:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate (total)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (Pump3.int_Np,Pump2.int_Np,Pump1.int_Np,Pump3.inletFluidState.phase,Pump2.inletFluidState.phase,Pump1.inletFluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 6,3 6,3 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002543/11.21, allocations: 127.5 kB / 3.893 GB, free: 25.38 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/11.22, allocations: 66.44 kB / 3.893 GB, free: 25.35 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/11.22, allocations: 1.363 MB / 3.894 GB, free: 25.18 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/11.22, allocations: 11.27 kB / 3.894 GB, free: 25.18 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/11.22, allocations: 3.609 kB / 3.894 GB, free: 25.18 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/11.22, allocations: 3.938 kB / 3.894 GB, free: 25.18 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/11.22, allocations: 0.7089 MB / 3.895 GB, free: 24.99 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/11.22, allocations: 0 / 3.895 GB, free: 24.99 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/11.22, allocations: 83.62 kB / 3.895 GB, free: 24.98 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/11.22, allocations: 1.209 MB / 3.896 GB, free: 24.94 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/11.22, allocations: 3.969 kB / 3.896 GB, free: 24.94 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/11.22, allocations: 2.608 MB / 3.899 GB, free: 23.35 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/11.22, allocations: 0 / 3.899 GB, free: 23.35 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/11.22, allocations: 1.658 MB / 3.9 GB, free: 23.05 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/11.22, allocations: 204.9 kB / 3.901 GB, free: 22.91 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.183e-05/11.23, allocations: 0 / 3.901 GB, free: 22.91 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/11.23, allocations: 50.94 kB / 3.901 GB, free: 22.89 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/11.23, allocations: 47.55 kB / 3.901 GB, free: 22.89 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/11.23, allocations: 17.84 kB / 3.901 GB, free: 22.89 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.000317/11.23, allocations: 278.1 kB / 3.901 GB, free: 22.8 MB / 0.5108 GB Notification: Performance of sort global known variables: time 2.4e-07/11.23, allocations: 4 kB / 3.901 GB, free: 22.8 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.006687/11.23, allocations: 1.145 MB / 3.902 GB, free: 22.61 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Pump1.h,Pump2.h,Pump3.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 8,2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.008921/11.24, allocations: 1.851 MB / 3.904 GB, free: 22.21 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.002301/11.24, allocations: 0.8402 MB / 3.905 GB, free: 22.15 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/11.24, allocations: 3.469 kB / 3.905 GB, free: 22.15 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0008183/11.24, allocations: 414.6 kB / 3.905 GB, free: 22.13 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/11.25, allocations: 259.9 kB / 3.905 GB, free: 22.11 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/11.25, allocations: 1.247 MB / 3.907 GB, free: 21.66 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/11.25, allocations: 0.998 MB / 3.908 GB, free: 20.95 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0009013/11.25, allocations: 227.7 kB / 3.908 GB, free: 20.9 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/11.25, allocations: 41.09 kB / 3.908 GB, free: 20.89 MB / 0.5108 GB Notification: Performance of SimCode: time 1.593e-06/11.25, allocations: 0 / 3.908 GB, free: 20.89 MB / 0.5108 GB Notification: Performance of Templates: time 0.05128/11.3, allocations: 35.66 MB / 3.943 GB, free: 7.043 MB / 0.5108 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe 2>&1)