Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.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.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002624/0.00263, allocations: 361.1 kB / 15.95 MB, free: 6.207 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.9/3.9, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.003534/0.003534, allocations: 234.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.5493/0.5493, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004541, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.09942, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.112/8.212, allocations: 2.614 GB / 3.294 GB, free: 40.49 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/8.212, allocations: 92.2 kB / 3.294 GB, free: 40.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.143/12.36, allocations: 0.7207 GB / 4.015 GB, free: 45.14 MB / 0.4949 GB Notification: Performance of FrontEnd: time 3.186e-06/12.36, allocations: 0 / 4.015 GB, free: 45.14 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0001451/12.36, allocations: 38.8 kB / 4.015 GB, free: 45.13 MB / 0.4949 GB 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.0134/12.37, allocations: 2.87 MB / 4.018 GB, free: 43.52 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/12.37, allocations: 13.19 kB / 4.018 GB, free: 43.51 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007757/12.38, allocations: 0.6443 MB / 4.018 GB, free: 43.39 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/12.38, allocations: 1.012 MB / 4.019 GB, free: 42.82 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/12.38, allocations: 99.56 kB / 4.019 GB, free: 42.78 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003899/12.38, allocations: 106.1 kB / 4.02 GB, free: 42.74 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008469/12.39, allocations: 2.022 MB / 4.022 GB, free: 41.88 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.876e-05/12.39, allocations: 0 / 4.022 GB, free: 41.88 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/12.39, allocations: 59.42 kB / 4.022 GB, free: 41.84 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.299e-05/12.39, allocations: 47.8 kB / 4.022 GB, free: 41.83 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009332/12.4, allocations: 1.868 MB / 4.023 GB, free: 41.38 MB / 0.4949 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.01642/12.42, allocations: 9.311 MB / 4.033 GB, free: 33.73 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007986/12.42, allocations: 1.605 MB / 4.034 GB, free: 33.34 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/12.43, allocations: 0.603 MB / 4.035 GB, free: 33.15 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06466/12.49, allocations: 21.56 MB / 4.056 GB, free: 18.32 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/12.49, allocations: 50.03 kB / 4.056 GB, free: 18.26 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=94): time 4.047e-06/12.49, allocations: 0 / 4.056 GB, free: 18.26 MB / 0.4949 GB Notification: Performance of matching and sorting (n=134): time 0.08678/12.58, allocations: 9.697 MB / 4.065 GB, free: 13.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.201e-05/12.58, allocations: 167.5 kB / 4.065 GB, free: 13.3 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/12.58, allocations: 0.8483 MB / 4.066 GB, free: 12.57 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005053/12.58, allocations: 49.7 kB / 4.066 GB, free: 12.52 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.000569/12.58, allocations: 0.6092 MB / 4.067 GB, free: 11.96 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.000793/12.58, allocations: 450.7 kB / 4.067 GB, free: 11.56 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/12.58, allocations: 32 kB / 4.067 GB, free: 11.53 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001377/12.58, allocations: 367.4 kB / 4.068 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003955/12.59, allocations: 0.8427 MB / 4.069 GB, free: 10.47 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004251/12.59, allocations: 1.261 MB / 4.07 GB, free: 9.195 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004372/12.6, allocations: 0.9556 MB / 4.071 GB, free: 8.336 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/12.6, allocations: 4 kB / 4.071 GB, free: 8.332 MB / 0.4949 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01206/12.61, allocations: 2.675 MB / 4.073 GB, free: 5.973 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002742/12.61, allocations: 451 kB / 4.074 GB, free: 5.367 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/12.61, allocations: 15.94 kB / 4.074 GB, free: 5.355 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01492/12.62, allocations: 1.723 MB / 4.075 GB, free: 4.082 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004224/12.63, allocations: 468.2 kB / 4.076 GB, free: 3.711 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008236/12.64, allocations: 3.34 MB / 4.079 GB, free: 472 kB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003963/12.64, allocations: 223 kB / 4.079 GB, free: 296 kB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005337/12.64, allocations: 103 kB / 4.08 GB, free: 208 kB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/12.64, allocations: 7.281 kB / 4.08 GB, free: 204 kB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01428/12.65, allocations: 2.579 MB / 4.082 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/12.65, allocations: 12 kB / 4.082 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004489/12.66, allocations: 0.6932 MB / 4.083 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006179/12.66, allocations: 0.5928 MB / 4.083 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005313/12.67, allocations: 1.815 MB / 4.085 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/12.67, allocations: 237 kB / 4.085 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/12.67, allocations: 97.08 kB / 4.085 GB, free: 11.62 MB / 0.5105 GB 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.001332/12.68, allocations: 415.4 kB / 4.086 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005079/12.68, allocations: 134.4 kB / 4.086 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02076/12.7, allocations: 7.475 MB / 4.093 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001303/12.7, allocations: 79.2 kB / 4.093 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/12.7, allocations: 0 / 4.093 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.504e-05/12.7, allocations: 7.969 kB / 4.093 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4516/13.15, allocations: 9.92 MB / 4.103 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.806e-05/13.15, allocations: 0.7812 kB / 4.103 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003449/13.15, allocations: 339.2 kB / 4.103 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01387/13.17, allocations: 2.559 MB / 4.106 GB, free: 58.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004943/13.17, allocations: 45.58 kB / 4.106 GB, free: 58.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009189/13.18, allocations: 4.526 MB / 4.11 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/13.18, allocations: 3.281 kB / 4.11 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/13.19, allocations: 5.146 MB / 4.115 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/13.19, allocations: 0.5472 MB / 4.116 GB, free: 56.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003517/13.19, allocations: 28.91 kB / 4.116 GB, free: 56.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00268/13.2, allocations: 233.6 kB / 4.116 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004092/13.2, allocations: 130.4 kB / 4.116 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/13.2, allocations: 70.08 kB / 4.116 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001262/13.2, allocations: 0.6305 MB / 4.117 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/13.2, allocations: 5.141 kB / 4.117 GB, free: 56.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01096/13.21, allocations: 2.059 MB / 4.119 GB, free: 56.25 MB / 0.5105 GB 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.01564/13.22, allocations: 2.288 MB / 4.121 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01879/13.24, allocations: 4.327 MB / 4.125 GB, free: 56.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/13.24, allocations: 1.156 kB / 4.125 GB, free: 56.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008048/13.25, allocations: 2.33 MB / 4.128 GB, free: 56.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005787/13.26, allocations: 0.5798 MB / 4.128 GB, free: 56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1043/13.36, allocations: 43.59 MB / 4.171 GB, free: 53.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/13.36, allocations: 1.637 MB / 4.172 GB, free: 52.63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004659/13.37, allocations: 1.427 MB / 4.174 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007756/13.37, allocations: 130.6 kB / 4.174 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of SimCode: time 1.452e-06/13.37, allocations: 0.7656 kB / 4.174 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.1671/13.54, allocations: 79.06 MB / 4.251 GB, free: 28.16 MB / 0.5105 GB