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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009994/0.009994, allocations: 177.9 kB / 15.12 MB, free: 5.93 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 2.055/2.055, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002075/0.002075, allocations: 128.6 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2524/0.2524, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007398/0.0007398, allocations: 10.69 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1079, allocations: 54.87 MB / 461.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.193/1.301, allocations: 297.2 MB / 0.7406 GB, free: 131 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.301, allocations: 85.81 kB / 0.7407 GB, free: 131 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4862/1.787, allocations: 151.1 MB / 0.8882 GB, free: 18.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.787, allocations: 0 / 0.8882 GB, free: 18.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.529e-05/1.787, allocations: 20 kB / 0.8883 GB, free: 18.46 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.004249/1.792, allocations: 1.148 MB / 0.8894 GB, free: 17.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/1.792, allocations: 16.03 kB / 0.8894 GB, free: 17.25 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006539/1.792, allocations: 143 kB / 0.8895 GB, free: 17.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007454/1.793, allocations: 118.9 kB / 0.8896 GB, free: 16.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/1.795, allocations: 0.6271 MB / 0.8903 GB, free: 16.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/1.795, allocations: 248.2 kB / 0.8905 GB, free: 16.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/1.795, allocations: 79.98 kB / 0.8906 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/1.798, allocations: 1.27 MB / 0.8918 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.536e-05/1.798, allocations: 11.94 kB / 0.8918 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/1.799, allocations: 43.94 kB / 0.8919 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/1.799, allocations: 45.3 kB / 0.8919 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/1.801, allocations: 0.9259 MB / 0.8928 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00907/1.81, allocations: 6.529 MB / 0.8992 GB, free: 6.641 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/1.811, allocations: 284.4 kB / 0.8995 GB, free: 6.348 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003469/1.815, allocations: 3.039 MB / 0.9024 GB, free: 2.766 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.815, allocations: 42.52 kB / 0.9025 GB, free: 2.715 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 2.425e-06/1.815, allocations: 0 / 0.9025 GB, free: 2.715 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002691/1.817, allocations: 0.9005 MB / 0.9034 GB, free: 1.762 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/1.818, allocations: 59.34 kB / 0.9034 GB, free: 1.691 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.819, allocations: 0.7066 MB / 0.9041 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/1.819, allocations: 33.7 kB / 0.9041 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/1.819, allocations: 0.6278 MB / 0.9047 GB, free: 308 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.522e-05/1.819, allocations: 114.6 kB / 0.9049 GB, free: 192 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/1.819, allocations: 24 kB / 0.9049 GB, free: 168 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.3492/2.169, allocations: 388.1 kB / 0.9052 GB, free: 112.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008335/2.17, allocations: 227.6 kB / 0.9055 GB, free: 112.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/2.171, allocations: 1.046 MB / 0.9065 GB, free: 111.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/2.172, allocations: 448.3 kB / 0.9069 GB, free: 111.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-05/2.172, allocations: 11.34 kB / 0.9069 GB, free: 111.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002995/2.175, allocations: 1.235 MB / 0.9081 GB, free: 111.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/2.175, allocations: 15 kB / 0.9081 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.438e-05/2.175, allocations: 31.75 kB / 0.9082 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.697e-05/2.175, allocations: 43.31 kB / 0.9082 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/2.177, allocations: 296 kB / 0.9085 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-05/2.177, allocations: 59.88 kB / 0.9086 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/2.178, allocations: 72.08 kB / 0.9086 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/2.178, allocations: 81.61 kB / 0.9087 GB, free: 111.7 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.0007088/2.179, allocations: 337.7 kB / 0.909 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/2.179, allocations: 76.88 kB / 0.9091 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/2.18, allocations: 346.5 kB / 0.9094 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/2.18, allocations: 3.656 kB / 0.9094 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/2.18, allocations: 0 / 0.9094 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/2.18, allocations: 5.781 kB / 0.9094 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/2.182, allocations: 0.8914 MB / 0.9103 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/2.182, allocations: 0 / 0.9103 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/2.183, allocations: 60.06 kB / 0.9104 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/2.183, allocations: 5.422 kB / 0.9104 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/2.183, allocations: 10.91 kB / 0.9104 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/2.183, allocations: 2.75 kB / 0.9104 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/2.183, allocations: 5.391 kB / 0.9104 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/2.184, allocations: 0.5419 MB / 0.9109 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/2.184, allocations: 171.6 kB / 0.9111 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/2.185, allocations: 12.14 kB / 0.9111 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/2.185, allocations: 21.5 kB / 0.9111 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/2.185, allocations: 16.11 kB / 0.9111 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/2.185, allocations: 18.5 kB / 0.9111 GB, free: 110.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001079/2.186, allocations: 0.4912 MB / 0.9116 GB, free: 110.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.186, allocations: 1.062 kB / 0.9116 GB, free: 110.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002057/2.188, allocations: 276.6 kB / 0.9119 GB, free: 110.8 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.002191/2.191, allocations: 1.495 MB / 0.9133 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001815/2.193, allocations: 0.6222 MB / 0.914 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/2.193, allocations: 1.031 kB / 0.914 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003004/2.193, allocations: 109.7 kB / 0.9141 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/2.195, allocations: 243 kB / 0.9143 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/2.21, allocations: 24.99 MB / 0.9387 GB, free: 87.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007576/2.211, allocations: 1.004 MB / 0.9397 GB, free: 86.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001797/2.212, allocations: 301.8 kB / 0.94 GB, free: 86.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005309/2.213, allocations: 284.6 kB / 0.9402 GB, free: 86.73 MB / 490.7 MB Notification: Performance of SimCode: time 1.543e-06/2.213, allocations: 0 / 0.9402 GB, free: 86.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07806/2.291, allocations: 20 MB / 0.9598 GB, free: 86 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/2.291, allocations: 237.4 kB / 0.96 GB, free: 85.76 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.261/5.553, allocations: 3.938 kB / 0.96 GB, free: 85.76 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat