Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004044/0.004044, allocations: 360.4 kB / 15.95 MB, free: 6.203 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.119/4.119, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.005344/0.005343, allocations: 232.9 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.5461/0.5461, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004933, allocations: 11.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1182, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.124/8.243, allocations: 2.617 GB / 3.298 GB, free: 27.15 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/8.243, allocations: 89.58 kB / 3.298 GB, free: 27.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667/11.91, allocations: 0.6192 GB / 3.917 GB, free: 44.48 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.074e-06/11.91, allocations: 0 / 3.917 GB, free: 44.48 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0001154/11.91, allocations: 31.17 kB / 3.917 GB, free: 44.48 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.0118/11.92, allocations: 2.492 MB / 3.919 GB, free: 43.54 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/11.92, allocations: 11.67 kB / 3.919 GB, free: 43.54 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007486/11.93, allocations: 0.5817 MB / 3.92 GB, free: 43.48 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/11.93, allocations: 0.8416 MB / 3.921 GB, free: 43.2 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/11.93, allocations: 218.8 kB / 3.921 GB, free: 43.07 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/11.93, allocations: 103 kB / 3.921 GB, free: 43.06 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007163/11.94, allocations: 1.849 MB / 3.923 GB, free: 42.67 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.906e-05/11.94, allocations: 9.312 kB / 3.923 GB, free: 42.67 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/11.94, allocations: 48.84 kB / 3.923 GB, free: 42.67 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.987e-05/11.94, allocations: 43.94 kB / 3.923 GB, free: 42.67 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00768/11.95, allocations: 1.668 MB / 3.924 GB, free: 42.66 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.01427/11.96, allocations: 8.453 MB / 3.933 GB, free: 37.05 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/11.97, allocations: 0.9337 MB / 3.934 GB, free: 37.03 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/11.97, allocations: 385.5 kB / 3.934 GB, free: 37.02 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1888/12.16, allocations: 57.32 MB / 3.99 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.085e-05/12.16, allocations: 38.69 kB / 3.99 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001162/12.16, allocations: 119.5 kB / 3.99 GB, free: 32.87 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 4.619e-06/12.16, allocations: 0 / 3.99 GB, free: 32.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=77): time 0.01566/12.17, allocations: 3.348 MB / 3.993 GB, free: 32.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/12.17, allocations: 113.9 kB / 3.994 GB, free: 32.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/12.18, allocations: 0.7938 MB / 3.994 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/12.18, allocations: 39.11 kB / 3.994 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/12.18, allocations: 0.5937 MB / 3.995 GB, free: 31.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/12.18, allocations: 278.9 kB / 3.995 GB, free: 31.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/12.18, allocations: 28.41 kB / 3.995 GB, free: 31.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002922/12.18, allocations: 402.8 kB / 3.996 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/12.18, allocations: 418.5 kB / 3.996 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/12.18, allocations: 1.056 MB / 3.997 GB, free: 30.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/12.18, allocations: 0.5761 MB / 3.998 GB, free: 30.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/12.18, allocations: 3.406 kB / 3.998 GB, free: 30.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005469/12.19, allocations: 1.746 MB / 3.999 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/12.19, allocations: 16 kB / 3.999 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/12.19, allocations: 24.94 kB / 3.999 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004479/12.19, allocations: 0.613 MB / 4 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/12.19, allocations: 260.2 kB / 4 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/12.2, allocations: 1.806 MB / 4.002 GB, free: 29.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/12.2, allocations: 126.7 kB / 4.002 GB, free: 29.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/12.2, allocations: 79.69 kB / 4.002 GB, free: 29.03 MB / 0.5261 GB 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.0008682/12.2, allocations: 343.5 kB / 4.002 GB, free: 28.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/12.2, allocations: 104.6 kB / 4.003 GB, free: 28.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007876/12.21, allocations: 4.414 MB / 4.007 GB, free: 28.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.148e-05/12.21, allocations: 62.31 kB / 4.007 GB, free: 28.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/12.21, allocations: 4 kB / 4.007 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/12.21, allocations: 3.516 kB / 4.007 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/12.22, allocations: 6.171 MB / 4.013 GB, free: 27.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/12.22, allocations: 0 / 4.013 GB, free: 27.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/12.22, allocations: 150.7 kB / 4.013 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/12.22, allocations: 0.6747 MB / 4.014 GB, free: 27.69 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/12.22, allocations: 28.08 kB / 4.014 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/12.23, allocations: 1.787 MB / 4.016 GB, free: 26.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/12.23, allocations: 3.969 kB / 4.016 GB, free: 26.63 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007381/12.23, allocations: 3.893 MB / 4.019 GB, free: 26.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/12.24, allocations: 401.3 kB / 4.02 GB, free: 26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/12.24, allocations: 18 kB / 4.02 GB, free: 26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/12.24, allocations: 84.64 kB / 4.02 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/12.24, allocations: 69.34 kB / 4.02 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.6e-05/12.24, allocations: 33.94 kB / 4.02 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001138/12.24, allocations: 0.5629 MB / 4.02 GB, free: 25.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/12.24, allocations: 1.688 kB / 4.02 GB, free: 25.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008467/12.25, allocations: 1.52 MB / 4.022 GB, free: 25.63 MB / 0.5261 GB 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.01454/12.26, allocations: 2.166 MB / 4.024 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004648/12.27, allocations: 1.641 MB / 4.026 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/12.27, allocations: 1.125 kB / 4.026 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002513/12.27, allocations: 1.194 MB / 4.027 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/12.27, allocations: 451.7 kB / 4.027 GB, free: 25.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.622/12.89, allocations: 80.92 MB / 4.106 GB, free: 72.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/12.9, allocations: 1.414 MB / 4.108 GB, free: 72.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00232/12.9, allocations: 0.5524 MB / 4.108 GB, free: 72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/12.9, allocations: 94.45 kB / 4.108 GB, free: 72 MB / 0.5261 GB Notification: Performance of SimCode: time 1.243e-06/12.9, allocations: 0 / 4.108 GB, free: 72 MB / 0.5261 GB Notification: Performance of Templates: time 0.1298/13.03, allocations: 56.69 MB / 4.164 GB, free: 70.34 MB / 0.5261 GB