Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.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.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002521/0.002521, allocations: 180.7 kB / 16.38 MB, free: 5.762 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.119/2.119, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001372/0.001371, allocations: 93.66 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.651/0.651, allocations: 48.77 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004185, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1897, allocations: 60.26 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.514/8.703, allocations: 2.888 GB / 3.375 GB, free: 71.41 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/8.704, allocations: 79.12 kB / 3.375 GB, free: 71.37 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8356/9.539, allocations: 221.7 MB / 3.592 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.585e-06/9.539, allocations: 0 / 3.592 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.862e-05/9.539, allocations: 12 kB / 3.592 GB, free: 63.01 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.005255/9.545, allocations: 1.06 MB / 3.593 GB, free: 61.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/9.545, allocations: 16.03 kB / 3.593 GB, free: 61.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/9.545, allocations: 48.05 kB / 3.593 GB, free: 61.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/9.546, allocations: 407.7 kB / 3.593 GB, free: 61.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/9.546, allocations: 58.56 kB / 3.593 GB, free: 61.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/9.546, allocations: 24 kB / 3.593 GB, free: 61.31 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007578/9.547, allocations: 394.4 kB / 3.594 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/9.547, allocations: 0 / 3.594 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/9.547, allocations: 12 kB / 3.594 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/9.547, allocations: 4 kB / 3.594 GB, free: 60.87 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/9.548, allocations: 306 kB / 3.594 GB, free: 60.57 MB / 0.5105 GB 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.001647/9.549, allocations: 1.377 MB / 3.595 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/9.55, allocations: 222.7 kB / 3.595 GB, free: 58.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05287/9.603, allocations: 31.98 MB / 3.627 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/9.603, allocations: 34.55 kB / 3.627 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 3.276e-06/9.603, allocations: 3.938 kB / 3.627 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20): time 0.002559/9.606, allocations: 0.6631 MB / 3.627 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/9.606, allocations: 55.41 kB / 3.627 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/9.606, allocations: 243.8 kB / 3.628 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/9.606, allocations: 33.69 kB / 3.628 GB, free: 21.92 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/9.606, allocations: 172.3 kB / 3.628 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/9.606, allocations: 78.92 kB / 3.628 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/9.606, allocations: 4 kB / 3.628 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/9.606, allocations: 342.8 kB / 3.628 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/9.606, allocations: 103.9 kB / 3.628 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/9.607, allocations: 144.9 kB / 3.628 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/9.607, allocations: 113.4 kB / 3.629 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/9.607, allocations: 0 / 3.629 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009018/9.608, allocations: 386.5 kB / 3.629 GB, free: 20.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.66e-05/9.608, allocations: 364 kB / 3.629 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/9.608, allocations: 0 / 3.629 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005195/9.609, allocations: 96.77 kB / 3.629 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/9.609, allocations: 63.89 kB / 3.629 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005082/9.609, allocations: 0.6419 MB / 3.63 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/9.61, allocations: 55.8 kB / 3.63 GB, free: 19.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/9.61, allocations: 16 kB / 3.63 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/9.61, allocations: 4 kB / 3.63 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008285/9.611, allocations: 332.4 kB / 3.63 GB, free: 18.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/9.611, allocations: 3.953 kB / 3.63 GB, free: 18.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002363/9.611, allocations: 72.88 kB / 3.631 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/9.611, allocations: 63.89 kB / 3.631 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003522/9.611, allocations: 0.607 MB / 3.631 GB, free: 18.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/9.612, allocations: 55.81 kB / 3.631 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/9.612, allocations: 11.98 kB / 3.631 GB, free: 18.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0002175/9.612, allocations: 221 kB / 3.631 GB, free: 17.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/9.612, allocations: 31.62 kB / 3.631 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/9.613, allocations: 0.6403 MB / 3.632 GB, free: 17.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/9.613, allocations: 3.938 kB / 3.632 GB, free: 17.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/9.613, allocations: 7.984 kB / 3.632 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/9.613, allocations: 0 / 3.632 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/9.614, allocations: 413.6 kB / 3.632 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/9.614, allocations: 0 / 3.632 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/9.614, allocations: 43.97 kB / 3.633 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000477/9.614, allocations: 355.1 kB / 3.633 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/9.614, allocations: 8 kB / 3.633 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005253/9.615, allocations: 0.8438 MB / 3.634 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/9.615, allocations: 3.984 kB / 3.634 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/9.616, allocations: 0.8618 MB / 3.635 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/9.616, allocations: 144.6 kB / 3.635 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/9.616, allocations: 3.938 kB / 3.635 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/9.617, allocations: 39.95 kB / 3.635 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/9.617, allocations: 23.97 kB / 3.635 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/9.617, allocations: 7.953 kB / 3.635 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001562/9.617, allocations: 199.1 kB / 3.635 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/9.617, allocations: 0 / 3.635 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004367/9.621, allocations: 0.9326 MB / 3.636 GB, free: 13.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.007475/9.629, allocations: 1.217 MB / 3.637 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001427/9.63, allocations: 465.1 kB / 3.637 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/9.63, allocations: 0 / 3.637 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004931/9.631, allocations: 222.1 kB / 3.638 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00088/9.632, allocations: 134.9 kB / 3.638 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/9.633, allocations: 0.8896 MB / 3.639 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/9.634, allocations: 0.7919 MB / 3.639 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003608/9.634, allocations: 85.92 kB / 3.64 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/9.634, allocations: 23.44 kB / 3.64 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of SimCode: time 7.61e-07/9.634, allocations: 0 / 3.64 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of Templates: time 0.3531/9.987, allocations: 27.92 MB / 3.667 GB, free: 82.93 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.WaterPump -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1)