Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|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|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadModel(ModelicaTest): time 1.92/1.92, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.21e-05/1.213e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2588, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.727/5.986, allocations: 2.503 GB / 2.815 GB, free: 82.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/5.986, allocations: 83.95 kB / 2.815 GB, free: 82.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125/9.111, allocations: 0.7312 GB / 3.547 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.551e-06/9.111, allocations: 0 / 3.547 GB, free: 10.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001523/9.112, allocations: 39.84 kB / 3.547 GB, free: 10.05 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.0105/9.122, allocations: 2.627 MB / 3.549 GB, free: 7.391 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/9.122, allocations: 12.03 kB / 3.549 GB, free: 7.379 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006756/9.129, allocations: 0.6225 MB / 3.55 GB, free: 6.754 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/9.132, allocations: 0.9972 MB / 3.551 GB, free: 5.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/9.132, allocations: 48 kB / 3.551 GB, free: 5.684 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/9.133, allocations: 64 kB / 3.551 GB, free: 5.621 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003236/9.136, allocations: 1.09 MB / 3.552 GB, free: 4.527 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003473/9.139, allocations: 1.29 MB / 3.553 GB, free: 3.086 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/9.14, allocations: 7.938 kB / 3.553 GB, free: 3.078 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/9.14, allocations: 8 kB / 3.553 GB, free: 3.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.69e-05/9.14, allocations: 42.02 kB / 3.553 GB, free: 3.027 MB / 458.7 MB 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.4843/9.624, allocations: 73.05 MB / 3.625 GB, free: 30.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/9.626, allocations: 0.7837 MB / 3.625 GB, free: 29.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000784/9.627, allocations: 411.2 kB / 3.626 GB, free: 29.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04507/9.672, allocations: 20.18 MB / 3.645 GB, free: 16.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/9.672, allocations: 45.2 kB / 3.645 GB, free: 16.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=86): time 4.414e-06/9.672, allocations: 0 / 3.645 GB, free: 16.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=120): time 0.03726/9.709, allocations: 5.088 MB / 3.65 GB, free: 15.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/9.71, allocations: 179 kB / 3.651 GB, free: 15.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/9.711, allocations: 0.7038 MB / 3.651 GB, free: 15.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002691/9.711, allocations: 25.7 kB / 3.651 GB, free: 15.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000441/9.712, allocations: 0.6314 MB / 3.652 GB, free: 15.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/9.712, allocations: 396.1 kB / 3.652 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/9.712, allocations: 0 / 3.652 GB, free: 15.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002009/9.712, allocations: 366 kB / 3.653 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/9.714, allocations: 0.5236 MB / 3.653 GB, free: 14.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/9.715, allocations: 0.9284 MB / 3.654 GB, free: 14.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005752/9.721, allocations: 0.9676 MB / 3.655 GB, free: 14.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/9.721, allocations: 7.297 kB / 3.655 GB, free: 14.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008815/9.73, allocations: 2.143 MB / 3.657 GB, free: 14.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002544/9.732, allocations: 4.611 MB / 3.662 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-05/9.732, allocations: 18.19 kB / 3.662 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003738/9.736, allocations: 0.8303 MB / 3.662 GB, free: 25.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/9.738, allocations: 367.5 kB / 3.663 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007138/9.745, allocations: 3.399 MB / 3.666 GB, free: 23.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/9.748, allocations: 224.6 kB / 3.666 GB, free: 23.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/9.748, allocations: 87.3 kB / 3.666 GB, free: 23.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/9.748, allocations: 10.16 kB / 3.666 GB, free: 23.09 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006146/9.754, allocations: 1.462 MB / 3.668 GB, free: 23.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/9.754, allocations: 10.94 kB / 3.668 GB, free: 23.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/9.754, allocations: 21.78 kB / 3.668 GB, free: 23.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004297/9.759, allocations: 0.6219 MB / 3.668 GB, free: 23.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.343e-05/9.759, allocations: 29.03 kB / 3.668 GB, free: 23.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/9.761, allocations: 192.8 kB / 3.669 GB, free: 23.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/9.761, allocations: 76.83 kB / 3.669 GB, free: 23.03 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump1.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 138 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005742/9.762, allocations: 163.4 kB / 3.669 GB, free: 22.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/9.762, allocations: 131.6 kB / 3.669 GB, free: 22.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/9.773, allocations: 5.915 MB / 3.675 GB, free: 22.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.39e-05/9.774, allocations: 65.97 kB / 3.675 GB, free: 22.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/9.774, allocations: 0 / 3.675 GB, free: 22.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.139e-05/9.774, allocations: 10.12 kB / 3.675 GB, free: 22.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/9.788, allocations: 7.908 MB / 3.683 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/9.788, allocations: 0 / 3.683 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/9.789, allocations: 249.3 kB / 3.683 GB, free: 21.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004784/9.794, allocations: 2.272 MB / 3.685 GB, free: 21.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/9.794, allocations: 21 kB / 3.685 GB, free: 21.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007077/9.802, allocations: 4.874 MB / 3.69 GB, free: 19.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/9.802, allocations: 1.969 kB / 3.69 GB, free: 19.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008174/9.81, allocations: 4.114 MB / 3.694 GB, free: 18.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/9.811, allocations: 499.9 kB / 3.694 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/9.811, allocations: 0 / 3.694 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/9.813, allocations: 198.4 kB / 3.695 GB, free: 18.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/9.813, allocations: 115.4 kB / 3.695 GB, free: 18.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/9.814, allocations: 57.11 kB / 3.695 GB, free: 18.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001121/9.815, allocations: 0.6237 MB / 3.695 GB, free: 18.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.17e-07/9.815, allocations: 0 / 3.695 GB, free: 18.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007181/9.822, allocations: 1.825 MB / 3.697 GB, free: 18.45 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.009271/9.831, allocations: 2.346 MB / 3.699 GB, free: 18.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007056/9.838, allocations: 2.867 MB / 3.702 GB, free: 18.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.638e-06/9.838, allocations: 2.75 kB / 3.702 GB, free: 18.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003531/9.842, allocations: 1.739 MB / 3.704 GB, free: 18.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/9.845, allocations: 0.4957 MB / 3.704 GB, free: 17.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006834/9.852, allocations: 3.363 MB / 3.708 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/9.854, allocations: 1.547 MB / 3.709 GB, free: 16.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/9.854, allocations: 121.6 kB / 3.709 GB, free: 16.23 MB / 0.4948 GB Notification: Performance of SimCode: time 1.795e-06/9.854, allocations: 4 kB / 3.709 GB, free: 16.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.4148/10.27, allocations: 80.02 MB / 3.787 GB, free: 79.73 MB / 0.4948 GB