Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01387/0.01387, allocations: 165.6 kB / 15.11 MB, free: 5.934 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 1.618/1.618, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00195/0.00195, allocations: 111.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4535/0.4535, allocations: 38.05 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006898/0.0006898, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1103, allocations: 48.71 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.991/1.101, allocations: 290.8 MB / 0.686 GB, free: 57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/1.102, allocations: 88.11 kB / 0.6861 GB, free: 56.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8384/1.94, allocations: 151.1 MB / 0.8337 GB, free: 78.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.374e-06/1.94, allocations: 0 / 0.8337 GB, free: 78.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.666e-05/1.94, allocations: 24 kB / 0.8337 GB, free: 78.75 MB / 426.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.003895/1.944, allocations: 1.143 MB / 0.8348 GB, free: 77.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/1.944, allocations: 8.031 kB / 0.8348 GB, free: 77.56 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004738/1.945, allocations: 139 kB / 0.8349 GB, free: 77.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006613/1.945, allocations: 126.9 kB / 0.8351 GB, free: 77.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/1.947, allocations: 0.6316 MB / 0.8357 GB, free: 76.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/1.948, allocations: 251.5 kB / 0.8359 GB, free: 76.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/1.948, allocations: 80 kB / 0.836 GB, free: 76.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/1.951, allocations: 1.271 MB / 0.8372 GB, free: 74.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-05/1.951, allocations: 7.938 kB / 0.8372 GB, free: 74.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/1.951, allocations: 36 kB / 0.8373 GB, free: 74.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.666e-05/1.951, allocations: 45.23 kB / 0.8373 GB, free: 74.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002681/1.954, allocations: 0.927 MB / 0.8382 GB, free: 73.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009726/1.964, allocations: 6.54 MB / 0.8446 GB, free: 67.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007251/1.965, allocations: 285.8 kB / 0.8449 GB, free: 66.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003627/1.968, allocations: 3.041 MB / 0.8479 GB, free: 63.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/1.968, allocations: 38.56 kB / 0.8479 GB, free: 63.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.936e-06/1.968, allocations: 0 / 0.8479 GB, free: 63.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002926/1.971, allocations: 0.904 MB / 0.8488 GB, free: 62.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/1.971, allocations: 55.41 kB / 0.8488 GB, free: 62.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/1.973, allocations: 0.7104 MB / 0.8495 GB, free: 61.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.179e-05/1.973, allocations: 33.7 kB / 0.8496 GB, free: 61.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/1.973, allocations: 0.625 MB / 0.8502 GB, free: 60.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/1.973, allocations: 113.8 kB / 0.8503 GB, free: 60.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/1.973, allocations: 24 kB / 0.8503 GB, free: 60.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/1.974, allocations: 386.8 kB / 0.8507 GB, free: 60.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/1.974, allocations: 226.5 kB / 0.8509 GB, free: 59.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009336/1.975, allocations: 1.041 MB / 0.8519 GB, free: 58.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009474/1.976, allocations: 459.4 kB / 0.8523 GB, free: 58.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/1.976, allocations: 8 kB / 0.8523 GB, free: 58.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0028/1.979, allocations: 1.236 MB / 0.8536 GB, free: 56.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/1.979, allocations: 18.69 kB / 0.8536 GB, free: 56.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.862e-05/1.979, allocations: 36 kB / 0.8536 GB, free: 56.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.916e-05/1.979, allocations: 51.94 kB / 0.8537 GB, free: 56.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/1.981, allocations: 295.4 kB / 0.8539 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-05/1.981, allocations: 59.78 kB / 0.854 GB, free: 56.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.982, allocations: 67.94 kB / 0.8541 GB, free: 56.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/1.982, allocations: 79.98 kB / 0.8541 GB, free: 56.21 MB / 426.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.0006414/1.983, allocations: 336.8 kB / 0.8545 GB, free: 55.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/1.983, allocations: 86.97 kB / 0.8545 GB, free: 55.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009295/1.984, allocations: 339.8 kB / 0.8549 GB, free: 55.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.984, allocations: 4 kB / 0.8549 GB, free: 55.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/1.984, allocations: 7.953 kB / 0.8549 GB, free: 55.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.984, allocations: 0 / 0.8549 GB, free: 55.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/1.986, allocations: 0.8967 MB / 0.8558 GB, free: 54.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.986, allocations: 0 / 0.8558 GB, free: 54.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/1.986, allocations: 59.91 kB / 0.8558 GB, free: 54.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/1.987, allocations: 3.953 kB / 0.8558 GB, free: 54.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/1.987, allocations: 11.98 kB / 0.8558 GB, free: 54.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.987, allocations: 0 / 0.8558 GB, free: 54.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.987, allocations: 4 kB / 0.8558 GB, free: 54.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/1.988, allocations: 0.5278 MB / 0.8563 GB, free: 53.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/1.988, allocations: 183.9 kB / 0.8565 GB, free: 53.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/1.988, allocations: 11.98 kB / 0.8565 GB, free: 53.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/1.989, allocations: 16.06 kB / 0.8565 GB, free: 53.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/1.989, allocations: 15.97 kB / 0.8566 GB, free: 53.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-05/1.989, allocations: 23.92 kB / 0.8566 GB, free: 53.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008715/1.99, allocations: 495 kB / 0.8571 GB, free: 53.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.99, allocations: 0 / 0.8571 GB, free: 53.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001696/1.992, allocations: 279.9 kB / 0.8573 GB, free: 52.82 MB / 426.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.002023/1.994, allocations: 1.496 MB / 0.8588 GB, free: 51.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/1.995, allocations: 0.6186 MB / 0.8594 GB, free: 50.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.995, allocations: 0 / 0.8594 GB, free: 50.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/1.995, allocations: 112.3 kB / 0.8595 GB, free: 50.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.997, allocations: 252.1 kB / 0.8597 GB, free: 50.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/2.01, allocations: 25.01 MB / 0.8842 GB, free: 24.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/2.011, allocations: 1.008 MB / 0.8851 GB, free: 23.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001556/2.012, allocations: 295.2 kB / 0.8854 GB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000497/2.013, allocations: 291.3 kB / 0.8857 GB, free: 23.07 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/2.013, allocations: 0 / 0.8857 GB, free: 23.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07759/2.09, allocations: 19.99 MB / 0.9052 GB, free: 3.121 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/2.091, allocations: 225.9 kB / 0.9054 GB, free: 2.883 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.344/5.435, allocations: 0 / 0.9054 GB, free: 2.883 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat