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.001359/0.001359, allocations: 174.6 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.001/2.001, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009447/0.0009448, allocations: 78.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3957/0.3957, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.324e-05/5.374e-05, allocations: 4 kB / 432.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1628, allocations: 60.25 MB / 492.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.793/8.956, allocations: 2.888 GB / 3.369 GB, free: 50.56 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/8.956, allocations: 77.83 kB / 3.369 GB, free: 50.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7035/9.66, allocations: 220.9 MB / 3.585 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.873e-06/9.66, allocations: 0 / 3.585 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.36e-05/9.66, allocations: 8 kB / 3.585 GB, free: 44.14 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.00476/9.665, allocations: 1.009 MB / 3.586 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/9.665, allocations: 8.031 kB / 3.586 GB, free: 43.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/9.665, allocations: 51.53 kB / 3.586 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008498/9.666, allocations: 394.6 kB / 3.586 GB, free: 42.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.948e-05/9.666, allocations: 54.25 kB / 3.586 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/9.666, allocations: 23.95 kB / 3.586 GB, free: 42.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/9.666, allocations: 342.5 kB / 3.587 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/9.666, allocations: 0 / 3.587 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/9.666, allocations: 15.94 kB / 3.587 GB, free: 42.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/9.666, allocations: 4 kB / 3.587 GB, free: 42.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/9.667, allocations: 202.1 kB / 3.587 GB, free: 41.93 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.001275/9.668, allocations: 1.381 MB / 3.588 GB, free: 40.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/9.669, allocations: 182.8 kB / 3.588 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/9.669, allocations: 76.86 kB / 3.588 GB, free: 40.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05345/9.722, allocations: 32.09 MB / 3.62 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/9.722, allocations: 42.56 kB / 3.62 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 2.254e-06/9.722, allocations: 0 / 3.62 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20): time 0.0009576/9.723, allocations: 274.4 kB / 3.62 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/9.723, allocations: 55.34 kB / 3.62 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/9.723, allocations: 246.8 kB / 3.62 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/9.724, allocations: 29.7 kB / 3.62 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/9.724, allocations: 180.3 kB / 3.621 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/9.724, allocations: 71 kB / 3.621 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/9.724, allocations: 4 kB / 3.621 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.874e-05/9.724, allocations: 338.8 kB / 3.621 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/9.724, allocations: 55.94 kB / 3.621 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/9.724, allocations: 87.88 kB / 3.621 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/9.724, allocations: 72.8 kB / 3.621 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/9.724, allocations: 0 / 3.621 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006131/9.725, allocations: 275.2 kB / 3.621 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.894e-05/9.725, allocations: 364 kB / 3.622 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/9.725, allocations: 0 / 3.622 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004728/9.725, allocations: 96.78 kB / 3.622 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/9.726, allocations: 55.89 kB / 3.622 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004743/9.726, allocations: 0.6459 MB / 3.623 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/9.727, allocations: 59.83 kB / 3.623 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/9.727, allocations: 16 kB / 3.623 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/9.727, allocations: 7.125 kB / 3.623 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005502/9.727, allocations: 220.5 kB / 3.623 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/9.727, allocations: 8.094 kB / 3.623 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/9.727, allocations: 68.75 kB / 3.623 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/9.728, allocations: 63.89 kB / 3.623 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003522/9.728, allocations: 0.607 MB / 3.624 GB, free: 156 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/9.728, allocations: 51.88 kB / 3.624 GB, free: 104 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/9.728, allocations: 15.98 kB / 3.624 GB, free: 88 kB / 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 () * 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.3065/10.03, allocations: 109.2 kB / 3.624 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/10.04, allocations: 31.33 kB / 3.624 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/10.04, allocations: 0.5421 MB / 3.624 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/10.04, allocations: 7.422 kB / 3.624 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/10.04, allocations: 4.688 kB / 3.624 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/10.04, allocations: 3.609 kB / 3.624 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/10.04, allocations: 403.7 kB / 3.625 GB, free: 92.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/10.04, allocations: 1 kB / 3.625 GB, free: 92.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/10.04, allocations: 48.02 kB / 3.625 GB, free: 92.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008353/10.04, allocations: 425 kB / 3.625 GB, free: 92.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/10.04, allocations: 3.859 kB / 3.625 GB, free: 92.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006316/10.04, allocations: 0.8415 MB / 3.626 GB, free: 91.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/10.04, allocations: 0.6094 kB / 3.626 GB, free: 91.74 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008438/10.04, allocations: 0.6978 MB / 3.627 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/10.04, allocations: 125.7 kB / 3.627 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/10.04, allocations: 10.27 kB / 3.627 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/10.04, allocations: 48.97 kB / 3.627 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/10.04, allocations: 20.27 kB / 3.627 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/10.04, allocations: 11.45 kB / 3.627 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000188/10.04, allocations: 196.2 kB / 3.627 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/10.04, allocations: 0 / 3.627 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00482/10.05, allocations: 0.9232 MB / 3.628 GB, free: 91.38 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 () * 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.005827/10.05, allocations: 1.242 MB / 3.629 GB, free: 91.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009941/10.05, allocations: 334.6 kB / 3.629 GB, free: 91.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/10.05, allocations: 0 / 3.629 GB, free: 91.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003608/10.05, allocations: 155.2 kB / 3.63 GB, free: 91.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008016/10.05, allocations: 134.4 kB / 3.63 GB, free: 91.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/10.05, allocations: 0.4976 MB / 3.63 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/10.05, allocations: 0.7957 MB / 3.631 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003583/10.06, allocations: 95.31 kB / 3.631 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/10.06, allocations: 21.78 kB / 3.631 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/10.06, allocations: 0 / 3.631 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.0479/10.1, allocations: 30.31 MB / 3.661 GB, free: 90.13 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)