Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003985/0.003985, allocations: 349.5 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.831/3.831, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003589/0.003589, allocations: 217.6 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.503/0.503, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004922, allocations: 15.98 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.0968, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.934/8.031, allocations: 2.503 GB / 3.11 GB, free: 20.28 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/8.031, allocations: 93.31 kB / 3.11 GB, free: 20.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.76/11.79, allocations: 0.7058 GB / 3.816 GB, free: 10.65 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.534e-06/11.79, allocations: 0 / 3.816 GB, free: 10.65 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001773/11.79, allocations: 28 kB / 3.816 GB, free: 10.62 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.01355/11.81, allocations: 2.801 MB / 3.819 GB, free: 7.766 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/11.81, allocations: 8.031 kB / 3.819 GB, free: 7.758 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007444/11.81, allocations: 0.6191 MB / 3.819 GB, free: 7.137 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/11.82, allocations: 1.002 MB / 3.82 GB, free: 6.094 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/11.82, allocations: 106.3 kB / 3.821 GB, free: 5.988 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004026/11.82, allocations: 108 kB / 3.821 GB, free: 5.883 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008025/11.82, allocations: 2.014 MB / 3.823 GB, free: 3.715 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.82e-05/11.82, allocations: 7.938 kB / 3.823 GB, free: 3.707 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/11.83, allocations: 55.94 kB / 3.823 GB, free: 3.652 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.198e-05/11.83, allocations: 53.94 kB / 3.823 GB, free: 3.598 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008937/11.83, allocations: 1.873 MB / 3.825 GB, free: 1.715 MB / 458.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.4005/12.23, allocations: 9.293 MB / 3.834 GB, free: 23.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008343/12.24, allocations: 1.6 MB / 3.835 GB, free: 23.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002761/12.25, allocations: 0.6042 MB / 3.836 GB, free: 23.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06804/12.31, allocations: 21.5 MB / 3.857 GB, free: 26.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/12.31, allocations: 42 kB / 3.857 GB, free: 26.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 4.639e-06/12.31, allocations: 0 / 3.857 GB, free: 26.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=134): time 0.0873/12.4, allocations: 9.701 MB / 3.866 GB, free: 25.19 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/12.4, allocations: 172.4 kB / 3.866 GB, free: 25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/12.4, allocations: 0.8357 MB / 3.867 GB, free: 24.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003996/12.4, allocations: 51.3 kB / 3.867 GB, free: 24.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000606/12.4, allocations: 0.614 MB / 3.868 GB, free: 24.58 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000718/12.4, allocations: 455.6 kB / 3.868 GB, free: 24.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/12.41, allocations: 29.19 kB / 3.868 GB, free: 24.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/12.41, allocations: 366.4 kB / 3.869 GB, free: 24.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003708/12.41, allocations: 0.8503 MB / 3.87 GB, free: 24.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004328/12.41, allocations: 1.262 MB / 3.871 GB, free: 23.58 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004654/12.42, allocations: 0.9594 MB / 3.872 GB, free: 23.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/12.42, allocations: 3.688 kB / 3.872 GB, free: 23.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01322/12.43, allocations: 2.672 MB / 3.874 GB, free: 23.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003885/12.43, allocations: 441.7 kB / 3.875 GB, free: 22.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.924e-05/12.43, allocations: 11.84 kB / 3.875 GB, free: 22.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01557/12.45, allocations: 1.73 MB / 3.876 GB, free: 22.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004365/12.45, allocations: 457.6 kB / 3.877 GB, free: 22.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008882/12.46, allocations: 3.349 MB / 3.88 GB, free: 20.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00384/12.46, allocations: 228.6 kB / 3.88 GB, free: 20.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004898/12.47, allocations: 102.1 kB / 3.88 GB, free: 20.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/12.47, allocations: 6.938 kB / 3.88 GB, free: 20.79 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01088/12.48, allocations: 2.367 MB / 3.883 GB, free: 20.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/12.48, allocations: 12.94 kB / 3.883 GB, free: 20.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004394/12.48, allocations: 0.6976 MB / 3.883 GB, free: 20.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006155/12.49, allocations: 0.5926 MB / 3.884 GB, free: 20.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005157/12.49, allocations: 1.813 MB / 3.886 GB, free: 19.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00362/12.5, allocations: 224.4 kB / 3.886 GB, free: 19.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004187/12.5, allocations: 102.6 kB / 3.886 GB, free: 19.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 144 * 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.001331/12.5, allocations: 421.2 kB / 3.887 GB, free: 19.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/12.5, allocations: 131 kB / 3.887 GB, free: 19.42 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01926/12.52, allocations: 7.484 MB / 3.894 GB, free: 18.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001178/12.52, allocations: 86.17 kB / 3.894 GB, free: 18.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/12.52, allocations: 0 / 3.894 GB, free: 18.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-05/12.52, allocations: 7.266 kB / 3.894 GB, free: 18.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02378/12.54, allocations: 9.925 MB / 3.904 GB, free: 18.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/12.54, allocations: 5.922 kB / 3.904 GB, free: 18.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003246/12.54, allocations: 342.4 kB / 3.904 GB, free: 18.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01252/12.56, allocations: 2.552 MB / 3.907 GB, free: 17.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004045/12.56, allocations: 53.84 kB / 3.907 GB, free: 17.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00931/12.57, allocations: 4.529 MB / 3.911 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/12.57, allocations: 3.688 kB / 3.911 GB, free: 15.83 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/12.58, allocations: 5.148 MB / 3.916 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/12.58, allocations: 0.5403 MB / 3.917 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004204/12.58, allocations: 28.09 kB / 3.917 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/12.59, allocations: 235.5 kB / 3.917 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004595/12.59, allocations: 130.7 kB / 3.917 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/12.59, allocations: 65.61 kB / 3.917 GB, free: 15.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001336/12.59, allocations: 0.6444 MB / 3.918 GB, free: 14.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/12.59, allocations: 1.312 kB / 3.918 GB, free: 14.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01211/12.6, allocations: 2.037 MB / 3.92 GB, free: 14.83 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * 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.01523/12.62, allocations: 2.27 MB / 3.922 GB, free: 14.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0179/12.63, allocations: 4.334 MB / 3.926 GB, free: 14.35 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/12.63, allocations: 3.828 kB / 3.926 GB, free: 14.35 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007532/12.64, allocations: 2.326 MB / 3.928 GB, free: 14.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005697/12.65, allocations: 0.5723 MB / 3.929 GB, free: 14.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09766/12.75, allocations: 43.36 MB / 3.971 GB, free: 10.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/12.75, allocations: 1.637 MB / 3.973 GB, free: 9.484 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004448/12.75, allocations: 1.428 MB / 3.974 GB, free: 9.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007877/12.75, allocations: 136.8 kB / 3.974 GB, free: 9.355 MB / 474.7 MB Notification: Performance of SimCode: time 1.553e-06/12.75, allocations: 0 / 3.974 GB, free: 9.355 MB / 474.7 MB Notification: Performance of Templates: time 0.5649/13.32, allocations: 78.75 MB / 4.051 GB, free: 56.23 MB / 490.7 MB