Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.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.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") translateModel(ThermoPower.Test.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003346/0.003346, allocations: 174.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.367/2.367, allocations: 205.2 MB / 219.4 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 82.67 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3814/0.3814, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.042e-05, allocations: 7.984 kB / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1735, allocations: 60.25 MB / 492.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.942/7.116, allocations: 2.886 GB / 3.367 GB, free: 124 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/7.116, allocations: 82.67 kB / 3.367 GB, free: 124 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9143/8.031, allocations: 223.9 MB / 3.586 GB, free: 77.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.465e-06/8.031, allocations: 7.75 kB / 3.586 GB, free: 77.42 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.113e-05/8.031, allocations: 15.78 kB / 3.586 GB, free: 77.42 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004757/8.035, allocations: 1.144 MB / 3.587 GB, free: 76.69 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/8.035, allocations: 11.91 kB / 3.587 GB, free: 76.69 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/8.036, allocations: 74.44 kB / 3.587 GB, free: 76.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/8.037, allocations: 478.9 kB / 3.588 GB, free: 76.33 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/8.037, allocations: 62.55 kB / 3.588 GB, free: 76.28 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.28e-05/8.037, allocations: 55.66 kB / 3.588 GB, free: 76.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000857/8.038, allocations: 0.5393 MB / 3.588 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/8.038, allocations: 11.28 kB / 3.588 GB, free: 75.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/8.038, allocations: 19.94 kB / 3.588 GB, free: 75.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/8.038, allocations: 11.81 kB / 3.588 GB, free: 75.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005892/8.039, allocations: 343.6 kB / 3.589 GB, free: 75.84 MB / 0.5105 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.002519/8.041, allocations: 2.036 MB / 3.591 GB, free: 74.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004849/8.042, allocations: 317.1 kB / 3.591 GB, free: 74.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/8.042, allocations: 143 kB / 3.591 GB, free: 74.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05672/8.099, allocations: 31.98 MB / 3.622 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/8.099, allocations: 42.12 kB / 3.622 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 4.719e-06/8.099, allocations: 0 / 3.622 GB, free: 53.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38): time 0.003252/8.102, allocations: 1.21 MB / 3.623 GB, free: 53.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/8.102, allocations: 54.94 kB / 3.623 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/8.102, allocations: 326.2 kB / 3.624 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/8.103, allocations: 37.58 kB / 3.624 GB, free: 52.74 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/8.103, allocations: 250 kB / 3.624 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/8.103, allocations: 132.4 kB / 3.624 GB, free: 52.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/8.103, allocations: 4 kB / 3.624 GB, free: 52.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001574/8.103, allocations: 360.1 kB / 3.625 GB, free: 52.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/8.103, allocations: 99.19 kB / 3.625 GB, free: 52.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/8.104, allocations: 165.7 kB / 3.625 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/8.104, allocations: 120.6 kB / 3.625 GB, free: 51.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/8.104, allocations: 0 / 3.625 GB, free: 51.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008477/8.105, allocations: 414.3 kB / 3.625 GB, free: 51.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002473/8.105, allocations: 0.612 MB / 3.626 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/8.105, allocations: 3.781 kB / 3.626 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/8.106, allocations: 96.27 kB / 3.626 GB, free: 51.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/8.106, allocations: 92.81 kB / 3.626 GB, free: 51.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006459/8.107, allocations: 0.6423 MB / 3.627 GB, free: 50.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/8.107, allocations: 41.3 kB / 3.627 GB, free: 50.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/8.107, allocations: 25.83 kB / 3.627 GB, free: 50.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/8.107, allocations: 7.094 kB / 3.627 GB, free: 50.45 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007726/8.108, allocations: 366.9 kB / 3.627 GB, free: 50.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/8.108, allocations: 4.031 kB / 3.627 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/8.108, allocations: 67.84 kB / 3.627 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/8.109, allocations: 95.91 kB / 3.627 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003465/8.109, allocations: 0.6044 MB / 3.628 GB, free: 49.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/8.109, allocations: 44.17 kB / 3.628 GB, free: 49.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/8.11, allocations: 18.59 kB / 3.628 GB, free: 49.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001499/8.11, allocations: 128.4 kB / 3.628 GB, free: 49.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/8.11, allocations: 44.47 kB / 3.628 GB, free: 49.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/8.111, allocations: 0.6494 MB / 3.629 GB, free: 49.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/8.111, allocations: 7.656 kB / 3.629 GB, free: 49.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/8.111, allocations: 0 / 3.629 GB, free: 49.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/8.111, allocations: 7.297 kB / 3.629 GB, free: 49.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/8.113, allocations: 1.359 MB / 3.63 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/8.113, allocations: 0 / 3.63 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/8.113, allocations: 93.27 kB / 3.63 GB, free: 48.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005582/8.114, allocations: 419.9 kB / 3.631 GB, free: 48.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/8.114, allocations: 10.91 kB / 3.631 GB, free: 48.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006153/8.114, allocations: 0.8361 MB / 3.631 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/8.114, allocations: 2.969 kB / 3.631 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/8.116, allocations: 0.9502 MB / 3.632 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/8.116, allocations: 154.5 kB / 3.632 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/8.116, allocations: 7.812 kB / 3.632 GB, free: 46.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/8.116, allocations: 36.31 kB / 3.633 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/8.116, allocations: 41.03 kB / 3.633 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/8.116, allocations: 15.5 kB / 3.633 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003063/8.117, allocations: 253.3 kB / 3.633 GB, free: 46.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/8.117, allocations: 0 / 3.633 GB, free: 46.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005304/8.122, allocations: 0.9872 MB / 3.634 GB, free: 46.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006273/8.128, allocations: 1.233 MB / 3.635 GB, free: 46.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00138/8.13, allocations: 0.5282 MB / 3.636 GB, free: 46.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/8.13, allocations: 0 / 3.636 GB, free: 46.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004042/8.13, allocations: 227.6 kB / 3.636 GB, free: 45.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/8.131, allocations: 153.7 kB / 3.636 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/8.133, allocations: 0.9177 MB / 3.637 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/8.133, allocations: 0.8701 MB / 3.638 GB, free: 44.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004429/8.134, allocations: 122.6 kB / 3.638 GB, free: 43.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/8.134, allocations: 31.44 kB / 3.638 GB, free: 43.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/8.134, allocations: 0 / 3.638 GB, free: 43.94 MB / 0.5105 GB Notification: Performance of Templates: time 0.04343/8.177, allocations: 31.81 MB / 3.669 GB, free: 13.07 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1)