Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004209/0.004216, allocations: 358 kB / 15.95 MB, free: 6.211 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 4.016/4.016, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.004565/0.004565, allocations: 234.4 kB / 451 MB, free: 145.1 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.5285/0.5285, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004609, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09918, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.088/8.187, allocations: 2.613 GB / 3.293 GB, free: 30.16 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/8.188, allocations: 88.89 kB / 3.293 GB, free: 30.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.153/10.34, allocations: 418.1 MB / 3.701 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/10.34, allocations: 0 / 3.701 GB, free: 2.188 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.931e-05/10.34, allocations: 19.98 kB / 3.701 GB, free: 2.168 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.3805/10.72, allocations: 1.815 MB / 3.703 GB, free: 51.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/10.72, allocations: 9.625 kB / 3.703 GB, free: 51.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003863/10.73, allocations: 331.8 kB / 3.703 GB, free: 51.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/10.73, allocations: 0.5845 MB / 3.704 GB, free: 51.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.654e-05/10.73, allocations: 48.17 kB / 3.704 GB, free: 51.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/10.73, allocations: 60.88 kB / 3.704 GB, free: 51.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003949/10.73, allocations: 1.002 MB / 3.705 GB, free: 51.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/10.73, allocations: 3.75 kB / 3.705 GB, free: 51.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/10.73, allocations: 26.34 kB / 3.705 GB, free: 51.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.786e-05/10.73, allocations: 20.75 kB / 3.705 GB, free: 51.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00419/10.74, allocations: 0.9021 MB / 3.706 GB, free: 51.34 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.006772/10.74, allocations: 4.335 MB / 3.71 GB, free: 48.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003564/10.75, allocations: 0.7561 MB / 3.711 GB, free: 48.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/10.75, allocations: 274.3 kB / 3.711 GB, free: 48.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2844/11.03, allocations: 79.01 MB / 3.788 GB, free: 20.75 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/11.03, allocations: 46.67 kB / 3.788 GB, free: 20.7 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=48): time 2.785e-06/11.03, allocations: 0 / 3.788 GB, free: 20.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=52): time 0.01038/11.04, allocations: 2.293 MB / 3.79 GB, free: 20.19 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/11.04, allocations: 113.7 kB / 3.791 GB, free: 20.06 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007837/11.04, allocations: 481.9 kB / 3.791 GB, free: 19.94 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 8.885e-05/11.04, allocations: 36.8 kB / 3.791 GB, free: 19.91 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/11.04, allocations: 340 kB / 3.791 GB, free: 19.75 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/11.04, allocations: 188.8 kB / 3.792 GB, free: 19.66 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/11.04, allocations: 15.31 kB / 3.792 GB, free: 19.66 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001631/11.04, allocations: 368 kB / 3.792 GB, free: 19.34 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009652/11.05, allocations: 256.1 kB / 3.792 GB, free: 19.34 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/11.05, allocations: 463.9 kB / 3.793 GB, free: 19.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/11.05, allocations: 308 kB / 3.793 GB, free: 19.09 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/11.05, allocations: 0.9844 kB / 3.793 GB, free: 19.09 MB / 0.4949 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004075/11.05, allocations: 1.004 MB / 3.794 GB, free: 18.99 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/11.05, allocations: 269.8 kB / 3.794 GB, free: 18.69 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/11.05, allocations: 7.375 kB / 3.794 GB, free: 18.69 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003779/11.06, allocations: 474.3 kB / 3.795 GB, free: 18.67 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009234/11.06, allocations: 143.7 kB / 3.795 GB, free: 18.66 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/11.06, allocations: 0.9269 MB / 3.796 GB, free: 34.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/11.06, allocations: 93.36 kB / 3.796 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.176e-05/11.06, allocations: 36.83 kB / 3.796 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/11.06, allocations: 4.719 kB / 3.796 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003252/11.06, allocations: 0.8665 MB / 3.797 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/11.06, allocations: 7.625 kB / 3.797 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002238/11.07, allocations: 326.3 kB / 3.797 GB, free: 34.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009465/11.07, allocations: 147.5 kB / 3.797 GB, free: 34.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/11.07, allocations: 0.863 MB / 3.798 GB, free: 33.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/11.07, allocations: 86.94 kB / 3.798 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.059e-05/11.07, allocations: 36.23 kB / 3.798 GB, free: 33.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (60): * Single equations (assignments): 59 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005868/11.07, allocations: 289.2 kB / 3.798 GB, free: 33.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/11.07, allocations: 61.52 kB / 3.798 GB, free: 33.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005143/11.08, allocations: 2.734 MB / 3.801 GB, free: 33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-05/11.08, allocations: 37.89 kB / 3.801 GB, free: 33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/11.08, allocations: 0 / 3.801 GB, free: 33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/11.08, allocations: 3.375 kB / 3.801 GB, free: 33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006722/11.08, allocations: 3.748 MB / 3.805 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/11.08, allocations: 0 / 3.805 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/11.08, allocations: 145.8 kB / 3.805 GB, free: 32.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000655/11.08, allocations: 109.4 kB / 3.805 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/11.08, allocations: 19.22 kB / 3.805 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/11.09, allocations: 1.132 MB / 3.806 GB, free: 31.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/11.09, allocations: 2.188 kB / 3.806 GB, free: 31.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004807/11.09, allocations: 2.269 MB / 3.808 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007321/11.09, allocations: 347.2 kB / 3.809 GB, free: 31.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/11.09, allocations: 11.56 kB / 3.809 GB, free: 31.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008682/11.09, allocations: 68.83 kB / 3.809 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/11.09, allocations: 49.44 kB / 3.809 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/11.09, allocations: 18.69 kB / 3.809 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008558/11.09, allocations: 457.4 kB / 3.809 GB, free: 30.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.11e-07/11.09, allocations: 0 / 3.809 GB, free: 30.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007156/11.1, allocations: 1.403 MB / 3.811 GB, free: 30.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01123/11.11, allocations: 1.719 MB / 3.812 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004648/11.12, allocations: 1.404 MB / 3.814 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/11.12, allocations: 0 / 3.814 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/11.12, allocations: 0.74 MB / 3.814 GB, free: 30.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/11.12, allocations: 302.7 kB / 3.815 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1878/11.31, allocations: 77.11 MB / 3.89 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009376/11.31, allocations: 1.153 MB / 3.891 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001994/11.31, allocations: 0.6242 MB / 3.892 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/11.31, allocations: 65.17 kB / 3.892 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/11.31, allocations: 0 / 3.892 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of Templates: time 0.4779/11.79, allocations: 45.34 MB / 3.936 GB, free: 79.68 MB / 0.5105 GB