Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00254/0.00254, allocations: 346.8 kB / 15.93 MB, free: 6.219 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.834/3.834, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.005624/0.005624, allocations: 218.1 kB / 397.9 MB, free: 4.984 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.5812/0.5811, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009031/0.0009034, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1393, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.961/8.101, allocations: 2.507 GB / 3.113 GB, free: 20.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/8.101, allocations: 95.06 kB / 3.114 GB, free: 20.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.461/11.56, allocations: 0.6068 GB / 3.72 GB, free: 29.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.186e-06/11.56, allocations: 2.062 kB / 3.72 GB, free: 29.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001391/11.56, allocations: 25.34 kB / 3.72 GB, free: 29.45 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.01259/11.57, allocations: 2.426 MB / 3.723 GB, free: 28.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/11.57, allocations: 10.78 kB / 3.723 GB, free: 28.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007564/11.58, allocations: 0.5361 MB / 3.723 GB, free: 28.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/11.59, allocations: 0.8416 MB / 3.724 GB, free: 27.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/11.59, allocations: 214.2 kB / 3.724 GB, free: 27.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005145/11.59, allocations: 101.3 kB / 3.724 GB, free: 27.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007221/11.59, allocations: 1.852 MB / 3.726 GB, free: 27.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.353e-05/11.59, allocations: 7.656 kB / 3.726 GB, free: 27.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/11.59, allocations: 42.94 kB / 3.726 GB, free: 27.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-05/11.59, allocations: 54.22 kB / 3.726 GB, free: 27.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007096/11.6, allocations: 1.664 MB / 3.728 GB, free: 27.36 MB / 442.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.01576/11.62, allocations: 8.44 MB / 3.736 GB, free: 21.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004568/11.62, allocations: 0.9331 MB / 3.737 GB, free: 21.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/11.62, allocations: 394.1 kB / 3.737 GB, free: 21.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1923/11.82, allocations: 57.25 MB / 3.793 GB, free: 16.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/11.82, allocations: 38.38 kB / 3.793 GB, free: 16.84 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001143/11.82, allocations: 111.7 kB / 3.794 GB, free: 16.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 3.807e-06/11.82, allocations: 0 / 3.794 GB, free: 16.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=77): time 0.0147/11.83, allocations: 3.34 MB / 3.797 GB, free: 16.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/11.83, allocations: 120.7 kB / 3.797 GB, free: 16.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/11.83, allocations: 0.7903 MB / 3.798 GB, free: 15.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/11.83, allocations: 43.42 kB / 3.798 GB, free: 15.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/11.83, allocations: 0.591 MB / 3.798 GB, free: 15.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/11.83, allocations: 275.5 kB / 3.799 GB, free: 15.35 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-05/11.83, allocations: 25.09 kB / 3.799 GB, free: 15.35 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002289/11.83, allocations: 406.1 kB / 3.799 GB, free: 15.01 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/11.84, allocations: 419.9 kB / 3.799 GB, free: 14.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/11.84, allocations: 1.047 MB / 3.8 GB, free: 13.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/11.84, allocations: 0.5803 MB / 3.801 GB, free: 13.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/11.84, allocations: 6.594 kB / 3.801 GB, free: 13.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00507/11.84, allocations: 1.746 MB / 3.803 GB, free: 12.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/11.84, allocations: 14.22 kB / 3.803 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/11.84, allocations: 22.41 kB / 3.803 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004339/11.85, allocations: 0.616 MB / 3.803 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/11.85, allocations: 257.2 kB / 3.804 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/11.85, allocations: 1.809 MB / 3.805 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/11.86, allocations: 126.3 kB / 3.805 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/11.86, allocations: 83.64 kB / 3.805 GB, free: 10.63 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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 {1 4,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.0008339/11.86, allocations: 346.1 kB / 3.806 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/11.86, allocations: 102.5 kB / 3.806 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007659/11.86, allocations: 4.421 MB / 3.81 GB, free: 6.227 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.864e-05/11.86, allocations: 60.59 kB / 3.81 GB, free: 6.191 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/11.86, allocations: 0 / 3.81 GB, free: 6.191 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/11.86, allocations: 8.031 kB / 3.81 GB, free: 6.188 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/11.87, allocations: 6.181 MB / 3.816 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/11.87, allocations: 4 kB / 3.816 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/11.88, allocations: 142.2 kB / 3.816 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003037/11.88, allocations: 0.6847 MB / 3.817 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/11.88, allocations: 23.48 kB / 3.817 GB, free: 0 / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3771/12.26, allocations: 1.782 MB / 3.819 GB, free: 59.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/12.26, allocations: 0 / 3.819 GB, free: 59.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00804/12.26, allocations: 3.883 MB / 3.823 GB, free: 59.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/12.27, allocations: 407 kB / 3.823 GB, free: 59.03 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/12.27, allocations: 20.78 kB / 3.823 GB, free: 59.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/12.27, allocations: 79.61 kB / 3.823 GB, free: 59.03 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/12.27, allocations: 66.78 kB / 3.823 GB, free: 59.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/12.27, allocations: 36.23 kB / 3.823 GB, free: 59.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001252/12.27, allocations: 0.5595 MB / 3.824 GB, free: 58.92 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.7e-07/12.27, allocations: 2.344 kB / 3.824 GB, free: 58.92 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008308/12.28, allocations: 1.519 MB / 3.825 GB, free: 58.92 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01354/12.29, allocations: 2.141 MB / 3.827 GB, free: 58.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004771/12.3, allocations: 1.647 MB / 3.829 GB, free: 58.76 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/12.3, allocations: 6.25 kB / 3.829 GB, free: 58.76 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002608/12.3, allocations: 1.19 MB / 3.83 GB, free: 58.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/12.3, allocations: 445 kB / 3.831 GB, free: 58.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2272/12.53, allocations: 80.46 MB / 3.909 GB, free: 52.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/12.53, allocations: 1.419 MB / 3.911 GB, free: 51.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002297/12.53, allocations: 0.556 MB / 3.911 GB, free: 51.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/12.53, allocations: 92.62 kB / 3.911 GB, free: 51.36 MB / 474.7 MB Notification: Performance of SimCode: time 1.272e-06/12.53, allocations: 7.719 kB / 3.911 GB, free: 51.35 MB / 474.7 MB Notification: Performance of Templates: time 0.125/12.66, allocations: 56.4 MB / 3.966 GB, free: 29.72 MB / 474.7 MB