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.00123/0.00123, 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.111/2.111, 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.0009158/0.0009158, allocations: 85.55 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.6515/0.6515, allocations: 48.77 MB / 358.8 MB, free: 53.18 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.058e-05, allocations: 0 / 425.3 MB, free: 8.238 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.191, allocations: 60.25 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.929/9.12, allocations: 2.887 GB / 3.361 GB, free: 147.2 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/9.12, allocations: 81.09 kB / 3.361 GB, free: 147.2 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.9312/10.05, allocations: 218.7 MB / 3.575 GB, free: 88.46 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.813e-06/10.05, allocations: 0 / 3.575 GB, free: 88.46 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 3.155e-05/10.05, allocations: 8.797 kB / 3.575 GB, free: 88.46 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.005551/10.06, allocations: 1.014 MB / 3.576 GB, free: 88.04 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/10.06, allocations: 8.656 kB / 3.576 GB, free: 88.04 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/10.06, allocations: 53.95 kB / 3.576 GB, free: 88.02 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/10.06, allocations: 396.8 kB / 3.576 GB, free: 87.81 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/10.06, allocations: 43 kB / 3.576 GB, free: 87.78 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/10.06, allocations: 15.41 kB / 3.576 GB, free: 87.78 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003491/10.06, allocations: 174.1 kB / 3.577 GB, free: 87.77 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/10.06, allocations: 293.6 kB / 3.577 GB, free: 87.66 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/10.06, allocations: 3.5 kB / 3.577 GB, free: 87.66 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/10.06, allocations: 10.77 kB / 3.577 GB, free: 87.65 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/10.06, allocations: 6.219 kB / 3.577 GB, free: 87.65 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.001564/10.06, allocations: 1.303 MB / 3.578 GB, free: 86.7 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/10.06, allocations: 147.7 kB / 3.578 GB, free: 86.68 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/10.06, allocations: 76.81 kB / 3.578 GB, free: 86.67 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06236/10.12, allocations: 32.09 MB / 3.61 GB, free: 67.23 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/10.12, allocations: 42.02 kB / 3.61 GB, free: 67.18 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=20): time 2.715e-06/10.12, allocations: 0 / 3.61 GB, free: 67.18 MB / 0.5108 GB Notification: Performance of matching and sorting (n=20): time 0.001347/10.13, allocations: 259.6 kB / 3.61 GB, free: 67.13 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/10.13, allocations: 55.12 kB / 3.61 GB, free: 67.07 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/10.13, allocations: 202.2 kB / 3.61 GB, free: 66.97 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/10.13, allocations: 26.92 kB / 3.61 GB, free: 66.94 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/10.13, allocations: 191.2 kB / 3.61 GB, free: 66.83 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-05/10.13, allocations: 67.02 kB / 3.61 GB, free: 66.8 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/10.13, allocations: 0 / 3.61 GB, free: 66.8 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001006/10.13, allocations: 334.9 kB / 3.611 GB, free: 66.48 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/10.13, allocations: 54.84 kB / 3.611 GB, free: 66.48 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/10.13, allocations: 92.14 kB / 3.611 GB, free: 66.45 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/10.13, allocations: 63.36 kB / 3.611 GB, free: 66.45 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/10.13, allocations: 0 / 3.611 GB, free: 66.45 MB / 0.5108 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009068/10.13, allocations: 283.4 kB / 3.611 GB, free: 66.39 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/10.13, allocations: 356.6 kB / 3.612 GB, free: 66.04 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/10.13, allocations: 3.844 kB / 3.612 GB, free: 66.04 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005591/10.13, allocations: 105.6 kB / 3.612 GB, free: 66.03 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/10.13, allocations: 62.52 kB / 3.612 GB, free: 66.02 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007115/10.13, allocations: 0.6711 MB / 3.612 GB, free: 65.5 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/10.13, allocations: 46.3 kB / 3.612 GB, free: 65.5 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/10.13, allocations: 21.31 kB / 3.612 GB, free: 65.5 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/10.13, allocations: 4.688 kB / 3.612 GB, free: 65.5 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006275/10.13, allocations: 213 kB / 3.613 GB, free: 65.48 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/10.13, allocations: 3.875 kB / 3.613 GB, free: 65.48 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/10.13, allocations: 63.36 kB / 3.613 GB, free: 65.48 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/10.13, allocations: 68.95 kB / 3.613 GB, free: 65.48 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005581/10.13, allocations: 0.608 MB / 3.613 GB, free: 64.96 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/10.13, allocations: 51.31 kB / 3.613 GB, free: 64.95 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/10.13, allocations: 11.94 kB / 3.613 GB, free: 64.95 MB / 0.5108 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Pump.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: 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 {3 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002449/10.13, allocations: 112.6 kB / 3.614 GB, free: 64.84 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/10.13, allocations: 27.75 kB / 3.614 GB, free: 64.83 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009731/10.13, allocations: 0.514 MB / 3.614 GB, free: 64.76 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/10.13, allocations: 2.688 kB / 3.614 GB, free: 64.76 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/10.13, allocations: 1.344 kB / 3.614 GB, free: 64.76 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.515e-06/10.13, allocations: 7.703 kB / 3.614 GB, free: 64.76 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008295/10.13, allocations: 351.4 kB / 3.614 GB, free: 64.59 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/10.13, allocations: 5.375 kB / 3.614 GB, free: 64.59 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/10.14, allocations: 57.25 kB / 3.615 GB, free: 64.59 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008634/10.14, allocations: 411.6 kB / 3.615 GB, free: 64.58 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/10.14, allocations: 5.219 kB / 3.615 GB, free: 64.57 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008461/10.14, allocations: 0.871 MB / 3.616 GB, free: 64.05 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/10.14, allocations: 4.344 kB / 3.616 GB, free: 64.05 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/10.14, allocations: 0.685 MB / 3.616 GB, free: 63.87 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/10.14, allocations: 123.9 kB / 3.617 GB, free: 63.76 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/10.14, allocations: 1.312 kB / 3.617 GB, free: 63.76 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/10.14, allocations: 47.81 kB / 3.617 GB, free: 63.75 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/10.14, allocations: 22.58 kB / 3.617 GB, free: 63.75 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/10.14, allocations: 10.22 kB / 3.617 GB, free: 63.75 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0002034/10.14, allocations: 157.1 kB / 3.617 GB, free: 63.67 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.31e-07/10.14, allocations: 0 / 3.617 GB, free: 63.67 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.00689/10.15, allocations: 0.9014 MB / 3.618 GB, free: 63.54 MB / 0.5108 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.0113/10.16, allocations: 1.321 MB / 3.619 GB, free: 63.26 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.001527/10.16, allocations: 320.3 kB / 3.619 GB, free: 63.25 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/10.16, allocations: 0 / 3.619 GB, free: 63.25 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0005099/10.16, allocations: 160.3 kB / 3.619 GB, free: 63.24 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009537/10.16, allocations: 94.02 kB / 3.62 GB, free: 63.23 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/10.16, allocations: 0.493 MB / 3.62 GB, free: 63.03 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/10.16, allocations: 0.7952 MB / 3.621 GB, free: 62.33 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0004807/10.16, allocations: 86.48 kB / 3.621 GB, free: 62.32 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/10.16, allocations: 20.16 kB / 3.621 GB, free: 62.31 MB / 0.5108 GB Notification: Performance of SimCode: time 1.142e-06/10.16, allocations: 5.438 kB / 3.621 GB, free: 62.3 MB / 0.5108 GB Notification: Performance of Templates: time 0.04669/10.21, allocations: 24.83 MB / 3.645 GB, free: 60.86 MB / 0.5108 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)