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.001439/0.001439, allocations: 176.4 kB / 17.4 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 223.6 MB, free: 9.004 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.000796/0.0007961, allocations: 90.34 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4675/0.4675, allocations: 48.78 MB / 369 MB, free: 47.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003777, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 60.26 MB / 0.4884 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.608/6.746, allocations: 2.888 GB / 3.377 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/6.746, allocations: 85.44 kB / 3.377 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7788/7.525, allocations: 221.3 MB / 3.593 GB, free: 96.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.138e-06/7.525, allocations: 0 / 3.593 GB, free: 96.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.966e-05/7.525, allocations: 13.81 kB / 3.593 GB, free: 96.03 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.006541/7.532, allocations: 1.057 MB / 3.594 GB, free: 95.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/7.532, allocations: 7.281 kB / 3.594 GB, free: 95.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003836/7.532, allocations: 52.5 kB / 3.594 GB, free: 95.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/7.534, allocations: 0.6517 MB / 3.594 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.582e-05/7.534, allocations: 46.27 kB / 3.594 GB, free: 95.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/7.534, allocations: 29 kB / 3.595 GB, free: 95.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008775/7.535, allocations: 381.5 kB / 3.595 GB, free: 94.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/7.535, allocations: 3.938 kB / 3.595 GB, free: 94.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/7.535, allocations: 18.73 kB / 3.595 GB, free: 94.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/7.535, allocations: 3.938 kB / 3.595 GB, free: 94.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008089/7.536, allocations: 302.9 kB / 3.595 GB, free: 94.89 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.001903/7.538, allocations: 1.369 MB / 3.597 GB, free: 93.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006654/7.538, allocations: 222.7 kB / 3.597 GB, free: 93.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/7.539, allocations: 126.5 kB / 3.597 GB, free: 93.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0593/7.598, allocations: 31.98 MB / 3.628 GB, free: 66.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/7.598, allocations: 38.02 kB / 3.628 GB, free: 66.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 2.925e-06/7.598, allocations: 4 kB / 3.628 GB, free: 66.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20): time 0.002945/7.601, allocations: 0.6752 MB / 3.629 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/7.601, allocations: 55.41 kB / 3.629 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/7.602, allocations: 278.8 kB / 3.629 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/7.602, allocations: 35.92 kB / 3.629 GB, free: 66.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/7.602, allocations: 175.5 kB / 3.629 GB, free: 65.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/7.602, allocations: 66.22 kB / 3.629 GB, free: 65.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/7.602, allocations: 7.375 kB / 3.629 GB, free: 65.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001181/7.602, allocations: 342.6 kB / 3.63 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/7.602, allocations: 111.6 kB / 3.63 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/7.603, allocations: 138.4 kB / 3.63 GB, free: 65.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005378/7.603, allocations: 251.2 kB / 3.63 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/7.603, allocations: 0 / 3.63 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00104/7.604, allocations: 390.1 kB / 3.631 GB, free: 65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.186e-05/7.605, allocations: 115.5 kB / 3.631 GB, free: 64.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/7.605, allocations: 2.297 kB / 3.631 GB, free: 64.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/7.605, allocations: 101.1 kB / 3.631 GB, free: 64.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/7.605, allocations: 53.27 kB / 3.631 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006151/7.606, allocations: 0.6436 MB / 3.631 GB, free: 64.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/7.606, allocations: 52.72 kB / 3.632 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/7.607, allocations: 8.062 kB / 3.632 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/7.607, allocations: 10.41 kB / 3.632 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007887/7.607, allocations: 316.2 kB / 3.632 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/7.607, allocations: 3.938 kB / 3.632 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/7.608, allocations: 61.48 kB / 3.632 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/7.608, allocations: 61.97 kB / 3.632 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/7.61, allocations: 1.645 MB / 3.634 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/7.61, allocations: 59.05 kB / 3.634 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/7.61, allocations: 8 kB / 3.634 GB, free: 62.26 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.0002441/7.61, allocations: 225.5 kB / 3.634 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/7.61, allocations: 31.62 kB / 3.634 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/7.612, allocations: 0.6374 MB / 3.634 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/7.612, allocations: 1.031 kB / 3.634 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/7.612, allocations: 0.875 kB / 3.634 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/7.612, allocations: 4 kB / 3.634 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/7.612, allocations: 401.1 kB / 3.635 GB, free: 61.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/7.612, allocations: 8 kB / 3.635 GB, free: 61.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/7.612, allocations: 48.28 kB / 3.635 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005703/7.613, allocations: 355 kB / 3.635 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/7.613, allocations: 11 kB / 3.635 GB, free: 61.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007088/7.614, allocations: 0.8422 MB / 3.636 GB, free: 60.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/7.614, allocations: 0 / 3.636 GB, free: 60.37 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/7.615, allocations: 0.8609 MB / 3.637 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/7.615, allocations: 129 kB / 3.637 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/7.616, allocations: 11.06 kB / 3.637 GB, free: 59.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/7.616, allocations: 43.5 kB / 3.637 GB, free: 59.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/7.616, allocations: 23.3 kB / 3.637 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/7.616, allocations: 4 kB / 3.637 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002222/7.616, allocations: 198.3 kB / 3.637 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/7.616, allocations: 0 / 3.637 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00623/7.622, allocations: 0.9453 MB / 3.638 GB, free: 58.62 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.01009/7.633, allocations: 1.238 MB / 3.639 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002086/7.635, allocations: 0.5923 MB / 3.64 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/7.635, allocations: 0 / 3.64 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006281/7.635, allocations: 209 kB / 3.64 GB, free: 56.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/7.637, allocations: 130.1 kB / 3.64 GB, free: 56.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/7.639, allocations: 0.9031 MB / 3.641 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/7.639, allocations: 0.785 MB / 3.642 GB, free: 55.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003886/7.639, allocations: 76.53 kB / 3.642 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/7.639, allocations: 23.44 kB / 3.642 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/7.639, allocations: 1.781 kB / 3.642 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of Templates: time 0.04984/7.689, allocations: 29.47 MB / 3.671 GB, free: 30.69 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)