Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004333/0.004339, allocations: 360.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.857/3.857, allocations: 388.9 MB / 405.6 MB, free: 9.652 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.00355/0.003549, allocations: 218.3 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.5017/0.5017, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09216/0.09266, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.185, allocations: 297.2 MB / 0.9703 GB, free: 123.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004807/1.185, allocations: 92.5 kB / 0.9704 GB, free: 123.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9718/2.157, allocations: 150 MB / 1.117 GB, free: 123 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.875e-06/2.157, allocations: 0 / 1.117 GB, free: 123 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.055e-05/2.157, allocations: 25.42 kB / 1.117 GB, free: 123 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.004009/2.161, allocations: 1.143 MB / 1.118 GB, free: 122.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/2.161, allocations: 9.719 kB / 1.118 GB, free: 122.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008363/2.162, allocations: 118.5 kB / 1.118 GB, free: 122.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/2.164, allocations: 0.626 MB / 1.119 GB, free: 122.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/2.164, allocations: 252.5 kB / 1.119 GB, free: 122 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002408/2.164, allocations: 79.78 kB / 1.119 GB, free: 122 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/2.167, allocations: 1.28 MB / 1.12 GB, free: 121.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.887e-05/2.168, allocations: 5.906 kB / 1.12 GB, free: 121.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002045/2.168, allocations: 47.16 kB / 1.12 GB, free: 121.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.719e-05/2.168, allocations: 43.97 kB / 1.12 GB, free: 121.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/2.17, allocations: 0.9216 MB / 1.121 GB, free: 121.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008632/2.179, allocations: 6.523 MB / 1.128 GB, free: 117.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006757/2.18, allocations: 289.8 kB / 1.128 GB, free: 117.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/2.18, allocations: 157.4 kB / 1.128 GB, free: 117.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00351/2.184, allocations: 3.031 MB / 1.131 GB, free: 114.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/2.184, allocations: 41.45 kB / 1.131 GB, free: 114.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 2.595e-06/2.184, allocations: 0 / 1.131 GB, free: 114.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.00285/2.187, allocations: 0.9095 MB / 1.132 GB, free: 113.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/2.187, allocations: 55.16 kB / 1.132 GB, free: 113.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/2.188, allocations: 0.7953 MB / 1.133 GB, free: 113.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/2.188, allocations: 28.95 kB / 1.133 GB, free: 113.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/2.189, allocations: 0.6269 MB / 1.134 GB, free: 113 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/2.189, allocations: 114.6 kB / 1.134 GB, free: 113 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/2.189, allocations: 27.78 kB / 1.134 GB, free: 113 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/2.189, allocations: 387.3 kB / 1.134 GB, free: 112.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/2.19, allocations: 233.1 kB / 1.134 GB, free: 112.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009368/2.19, allocations: 1.048 MB / 1.135 GB, free: 111.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009588/2.191, allocations: 450.8 kB / 1.136 GB, free: 111.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/2.191, allocations: 7.812 kB / 1.136 GB, free: 111.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00269/2.194, allocations: 1.243 MB / 1.137 GB, free: 111.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/2.194, allocations: 17.53 kB / 1.137 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.509e-05/2.194, allocations: 29.75 kB / 1.137 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.846e-05/2.194, allocations: 46.53 kB / 1.137 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/2.196, allocations: 287.5 kB / 1.137 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.87e-05/2.196, allocations: 58.36 kB / 1.137 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/2.197, allocations: 72.42 kB / 1.137 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/2.197, allocations: 81.91 kB / 1.137 GB, free: 111.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],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 (163): * Single equations (assignments): 163 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006961/2.198, allocations: 347.3 kB / 1.138 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/2.198, allocations: 78.31 kB / 1.138 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008839/2.199, allocations: 347 kB / 1.138 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/2.199, allocations: 9.703 kB / 1.138 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.199, allocations: 0 / 1.138 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/2.199, allocations: 0 / 1.138 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/2.201, allocations: 0.8934 MB / 1.139 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/2.201, allocations: 2.938 kB / 1.139 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/2.202, allocations: 57 kB / 1.139 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/2.202, allocations: 3.781 kB / 1.139 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/2.202, allocations: 10.97 kB / 1.139 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/2.202, allocations: 3.797 kB / 1.139 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/2.202, allocations: 0 / 1.139 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009158/2.203, allocations: 0.5215 MB / 1.14 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/2.203, allocations: 171.6 kB / 1.14 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/2.203, allocations: 6.844 kB / 1.14 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000558/2.204, allocations: 19.58 kB / 1.14 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/2.204, allocations: 16.39 kB / 1.14 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/2.204, allocations: 19.56 kB / 1.14 GB, free: 110.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008649/2.205, allocations: 498.2 kB / 1.14 GB, free: 110.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.673e-06/2.205, allocations: 3.375 kB / 1.14 GB, free: 110.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001778/2.206, allocations: 284.5 kB / 1.141 GB, free: 110.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009289/2.207, allocations: 383.3 kB / 1.141 GB, free: 110.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/2.209, allocations: 0.6164 MB / 1.142 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/2.209, allocations: 0 / 1.142 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002289/2.209, allocations: 113.2 kB / 1.142 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/2.211, allocations: 250.5 kB / 1.142 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/2.214, allocations: 1.701 MB / 1.144 GB, free: 109.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/2.215, allocations: 1.009 MB / 1.145 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001596/2.217, allocations: 294.2 kB / 1.145 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/2.217, allocations: 62.88 kB / 1.145 GB, free: 108.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/2.217, allocations: 0 / 1.145 GB, free: 108.8 MB / 490.7 MB Notification: Performance of Templates: time 0.03269/2.25, allocations: 11.65 MB / 1.156 GB, free: 108.1 MB / 490.7 MB