Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|N_pump.y|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002866/0.002872, allocations: 362 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.889/3.889, allocations: 388.9 MB / 405.6 MB, free: 9.574 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003583/0.003583, allocations: 223.8 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.514/0.514, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.000469, allocations: 8 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.808/7.909, allocations: 2.613 GB / 3.293 GB, free: 29.14 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/7.909, allocations: 92.83 kB / 3.293 GB, free: 29.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.172/10.08, allocations: 417.6 MB / 3.701 GB, free: 2.973 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.455e-06/10.08, allocations: 0 / 3.701 GB, free: 2.973 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.633e-05/10.08, allocations: 23.05 kB / 3.701 GB, free: 2.953 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008392/10.09, allocations: 1.838 MB / 3.702 GB, free: 1.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/10.09, allocations: 8.031 kB / 3.702 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.398/10.49, allocations: 328.9 kB / 3.703 GB, free: 52.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/10.49, allocations: 0.5834 MB / 3.703 GB, free: 52.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.008e-05/10.49, allocations: 53.52 kB / 3.703 GB, free: 52.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/10.49, allocations: 57.3 kB / 3.703 GB, free: 52.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004026/10.49, allocations: 1.022 MB / 3.704 GB, free: 51.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/10.49, allocations: 3.406 kB / 3.704 GB, free: 51.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/10.49, allocations: 25.19 kB / 3.704 GB, free: 51.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/10.49, allocations: 20.73 kB / 3.704 GB, free: 51.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00453/10.5, allocations: 0.9404 MB / 3.705 GB, free: 51.91 MB / 490.7 MB 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.007393/10.51, allocations: 4.613 MB / 3.71 GB, free: 48.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003849/10.51, allocations: 0.7942 MB / 3.711 GB, free: 48.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/10.51, allocations: 290.6 kB / 3.711 GB, free: 48.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06871/10.58, allocations: 18.37 MB / 3.729 GB, free: 37.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/10.58, allocations: 41.8 kB / 3.729 GB, free: 37.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.937e-06/10.58, allocations: 0 / 3.729 GB, free: 37.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.05362/10.63, allocations: 4.927 MB / 3.734 GB, free: 36.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/10.63, allocations: 114 kB / 3.734 GB, free: 36.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009182/10.64, allocations: 474.2 kB / 3.734 GB, free: 36.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002038/10.64, allocations: 40.2 kB / 3.734 GB, free: 36.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/10.64, allocations: 351.5 kB / 3.735 GB, free: 36.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/10.64, allocations: 217.6 kB / 3.735 GB, free: 36.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.86e-05/10.64, allocations: 17.91 kB / 3.735 GB, free: 36.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/10.64, allocations: 367.9 kB / 3.735 GB, free: 35.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/10.64, allocations: 425.5 kB / 3.736 GB, free: 35.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/10.64, allocations: 0.6447 MB / 3.736 GB, free: 35.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/10.64, allocations: 483.4 kB / 3.737 GB, free: 35.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/10.64, allocations: 3.875 kB / 3.737 GB, free: 35.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005874/10.65, allocations: 1.383 MB / 3.738 GB, free: 35.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002208/10.65, allocations: 285.4 kB / 3.738 GB, free: 35.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/10.65, allocations: 8.938 kB / 3.738 GB, free: 35.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/10.66, allocations: 1.139 MB / 3.739 GB, free: 35.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/10.66, allocations: 186.8 kB / 3.74 GB, free: 35.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004802/10.67, allocations: 1.775 MB / 3.741 GB, free: 34.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/10.67, allocations: 121.8 kB / 3.741 GB, free: 34.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/10.67, allocations: 54.12 kB / 3.742 GB, free: 34.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/10.67, allocations: 3.344 kB / 3.742 GB, free: 34.06 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006219/10.67, allocations: 1.336 MB / 3.743 GB, free: 34.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/10.67, allocations: 9.562 kB / 3.743 GB, free: 34.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01057/10.69, allocations: 0.7548 MB / 3.744 GB, free: 34.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/10.69, allocations: 189.2 kB / 3.744 GB, free: 34.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006634/10.69, allocations: 1.727 MB / 3.745 GB, free: 32.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/10.7, allocations: 110 kB / 3.746 GB, free: 32.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/10.7, allocations: 49.8 kB / 3.746 GB, free: 32.97 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.001061/10.7, allocations: 298.5 kB / 3.746 GB, free: 32.78 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/10.7, allocations: 63.28 kB / 3.746 GB, free: 32.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/10.71, allocations: 3.723 MB / 3.75 GB, free: 32.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/10.71, allocations: 41.23 kB / 3.75 GB, free: 32.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/10.72, allocations: 1.312 kB / 3.75 GB, free: 32.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.413e-05/10.72, allocations: 6 kB / 3.75 GB, free: 32.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01826/10.73, allocations: 4.933 MB / 3.754 GB, free: 32.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/10.73, allocations: 0 / 3.754 GB, free: 32.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/10.74, allocations: 137.8 kB / 3.755 GB, free: 32.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01522/10.75, allocations: 1.757 MB / 3.756 GB, free: 31.99 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002972/10.75, allocations: 22.91 kB / 3.756 GB, free: 31.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007853/10.76, allocations: 2.427 MB / 3.759 GB, free: 30.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.944e-06/10.76, allocations: 3.375 kB / 3.759 GB, free: 30.92 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/10.77, allocations: 2.513 MB / 3.761 GB, free: 30.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/10.77, allocations: 327.7 kB / 3.761 GB, free: 30.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000335/10.77, allocations: 17.16 kB / 3.761 GB, free: 30.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/10.77, allocations: 110.2 kB / 3.762 GB, free: 30.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/10.77, allocations: 66.34 kB / 3.762 GB, free: 30.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/10.77, allocations: 29.83 kB / 3.762 GB, free: 30.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00112/10.78, allocations: 414.2 kB / 3.762 GB, free: 30.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.022e-06/10.78, allocations: 2.844 kB / 3.762 GB, free: 30.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01053/10.79, allocations: 1.574 MB / 3.764 GB, free: 30.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01669/10.8, allocations: 1.837 MB / 3.765 GB, free: 30.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01461/10.82, allocations: 2.093 MB / 3.767 GB, free: 30.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/10.82, allocations: 0 / 3.767 GB, free: 30.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004779/10.82, allocations: 1.058 MB / 3.768 GB, free: 30.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005589/10.83, allocations: 304 kB / 3.769 GB, free: 30.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1652/10.99, allocations: 40.58 MB / 3.808 GB, free: 27.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/10.99, allocations: 1.145 MB / 3.81 GB, free: 27.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002/11, allocations: 0.6376 MB / 3.81 GB, free: 27.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/11, allocations: 61.95 kB / 3.81 GB, free: 27.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.133e-06/11, allocations: 0 / 3.81 GB, free: 27.09 MB / 490.7 MB Notification: Performance of Templates: time 0.108/11.1, allocations: 55.37 MB / 3.864 GB, free: 9.047 MB / 490.7 MB "" Variables in the reference:time,N_pump.y,Source.ports[1].m_flow,Source.ports[1].p,Source.ports[1].h_outflow,Sink.ports[1].m_flow,Sink.ports[1].p,Sink.ports[1].h_outflow,pump.port_b.m_flow,pump.port_b.p,pump.port_b.h_outflow,valveOpening.y,Valve.port_b.m_flow,Valve.port_b.p,Valve.port_b.h_outflow,Valve.minLimiter.y Variables in the result:N_pump.duration,N_pump.height,N_pump.offset,N_pump.startTime,N_pump.y,Sink.T,Sink.X[1],Sink.flowDirection,Sink.medium.preferredMediumStates,Sink.medium.standardOrderComponents,Sink.nPorts,Sink.p,Sink.p_in_internal,Sink.ports[1].h_outflow,Sink.ports[1].m_flow,Sink.ports[1].p,Source.T,Source.X[1],Source.flowDirection,Source.medium.preferredMediumStates,Source.medium.standardOrderComponents,Source.nPorts,Source.p,Source.p_in_internal,Source.ports[1].h_outflow,Source.ports[1].m_flow,Source.ports[1].p,Valve.Av,Valve.Cv,Valve.CvData,Valve.Kv,Valve.allowFlowReversal,Valve.checkValve,Valve.dp_nominal,Valve.dp_small,Valve.dp_start,Valve.dp_turbulent,Valve.filteredOpening,Valve.leakageOpening,Valve.m_flow_nominal,Valve.m_flow_small,Valve.m_flow_start,Valve.minLimiter.uMin,Valve.minLimiter.y,Valve.opening,Valve.opening_nominal,Valve.port_a_exposesState,Valve.port_b.h_outflow,Valve.port_b.m_flow,Valve.port_b.p,Valve.port_b_exposesState,Valve.rho_nominal,Valve.riseTime,Valve.showDesignFlowDirection,Valve.show_T,Valve.show_V_flow,Valve.use_Re,pump.N_const,pump.N_nominal,pump.T_start,pump.V,pump.V_flow_single_init,pump.X_start[1],pump.allowFlowReversal,pump.checkValve,pump.delta_head_init,pump.energyDynamics,pump.g,pump.h_start,pump.heatTransfer.T_ambient,pump.heatTransfer.k,pump.heatTransfer.n,pump.heatTransfer.use_k,pump.initialize_p,pump.m_flow,pump.m_flow_start,pump.massDynamics,pump.medium.h,pump.medium.p,pump.medium.preferredMediumStates,pump.medium.standardOrderComponents,pump.nParallel,pump.p_a_start,pump.p_b_start,pump.p_start,pump.port_a_exposesState,pump.port_b.h_outflow,pump.port_b.m_flow,pump.port_b.p,pump.port_b_exposesState,pump.rho_nominal,pump.showDesignFlowDirection,pump.show_NPSHa,pump.substanceDynamics,pump.traceDynamics,pump.use_HeatTransfer,pump.use_N_in,pump.use_T_start,pump.use_powerCharacteristic,system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,time,valveOpening.duration,valveOpening.height,valveOpening.offset,valveOpening.startTime,valveOpening.y