Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.00162, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 98.52 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4952/0.4952, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.997e-05/4.008e-05, allocations: 0 / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1821, allocations: 58.84 MB / 484.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.367, allocations: 301.9 MB / 0.7677 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/1.367, allocations: 83.33 kB / 0.7678 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7008/2.068, allocations: 152.3 MB / 0.9165 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.116e-06/2.068, allocations: 0 / 0.9165 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.356e-05/2.068, allocations: 23.12 kB / 0.9166 GB, free: 107.7 MB / 0.4948 GB 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.002193/2.07, allocations: 1.081 MB / 0.9176 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/2.07, allocations: 6.625 kB / 0.9176 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/2.07, allocations: 138.5 kB / 0.9177 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004451/2.071, allocations: 116.6 kB / 0.9179 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/2.072, allocations: 0.6115 MB / 0.9185 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/2.072, allocations: 245.4 kB / 0.9187 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/2.072, allocations: 85.47 kB / 0.9188 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/2.074, allocations: 1.265 MB / 0.92 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/2.074, allocations: 8 kB / 0.92 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/2.075, allocations: 37.97 kB / 0.9201 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-05/2.075, allocations: 44.59 kB / 0.9201 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/2.076, allocations: 0.9075 MB / 0.921 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006042/2.082, allocations: 6.583 MB / 0.9274 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/2.083, allocations: 296.7 kB / 0.9277 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/2.083, allocations: 161.2 kB / 0.9278 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002574/2.086, allocations: 2.891 MB / 0.9307 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/2.086, allocations: 37.3 kB / 0.9307 GB, free: 98.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/2.086, allocations: 0 / 0.9307 GB, free: 98.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.002428/2.088, allocations: 1.022 MB / 0.9317 GB, free: 98.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/2.088, allocations: 59.36 kB / 0.9318 GB, free: 98.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/2.089, allocations: 0.7521 MB / 0.9325 GB, free: 98.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/2.089, allocations: 36.52 kB / 0.9325 GB, free: 98.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/2.09, allocations: 0.568 MB / 0.9331 GB, free: 97.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/2.09, allocations: 140.3 kB / 0.9332 GB, free: 97.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/2.09, allocations: 22.72 kB / 0.9332 GB, free: 97.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001594/2.09, allocations: 404.2 kB / 0.9336 GB, free: 97.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/2.091, allocations: 228.8 kB / 0.9338 GB, free: 97.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008907/2.092, allocations: 0.9398 MB / 0.9348 GB, free: 96.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000734/2.092, allocations: 447.1 kB / 0.9352 GB, free: 96.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/2.092, allocations: 7.125 kB / 0.9352 GB, free: 96.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002043/2.094, allocations: 1.179 MB / 0.9363 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/2.094, allocations: 15.97 kB / 0.9364 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.049e-05/2.094, allocations: 25.72 kB / 0.9364 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.855e-05/2.095, allocations: 40.34 kB / 0.9364 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/2.095, allocations: 278.3 kB / 0.9367 GB, free: 96.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.15e-05/2.096, allocations: 49.69 kB / 0.9367 GB, free: 96.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008925/2.096, allocations: 70 kB / 0.9368 GB, free: 96.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/2.097, allocations: 77.12 kB / 0.9369 GB, free: 96.24 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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.000242/2.097, allocations: 206.8 kB / 0.9371 GB, free: 96.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/2.097, allocations: 90.16 kB / 0.9372 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000988/2.098, allocations: 474.4 kB / 0.9376 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/2.098, allocations: 3.031 kB / 0.9376 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/2.098, allocations: 0 / 0.9376 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/2.098, allocations: 4.672 kB / 0.9376 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/2.1, allocations: 1.224 MB / 0.9388 GB, free: 95.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/2.1, allocations: 2.938 kB / 0.9388 GB, free: 95.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/2.1, allocations: 79.23 kB / 0.9389 GB, free: 95.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/2.1, allocations: 8.031 kB / 0.9389 GB, free: 95.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/2.1, allocations: 10.56 kB / 0.9389 GB, free: 95.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/2.1, allocations: 2.969 kB / 0.9389 GB, free: 95.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/2.1, allocations: 4.781 kB / 0.9389 GB, free: 95.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009284/2.101, allocations: 0.7042 MB / 0.9396 GB, free: 95.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/2.101, allocations: 211.5 kB / 0.9398 GB, free: 94.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/2.102, allocations: 10.66 kB / 0.9398 GB, free: 94.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/2.102, allocations: 22.34 kB / 0.9398 GB, free: 94.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/2.102, allocations: 23.94 kB / 0.9399 GB, free: 94.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/2.102, allocations: 28.45 kB / 0.9399 GB, free: 94.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008499/2.103, allocations: 0.5722 MB / 0.9404 GB, free: 94.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.72e-07/2.103, allocations: 0 / 0.9404 GB, free: 94.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001564/2.105, allocations: 320.4 kB / 0.9408 GB, free: 94.76 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.002165/2.107, allocations: 1.983 MB / 0.9427 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001315/2.108, allocations: 0.626 MB / 0.9433 GB, free: 93.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/2.108, allocations: 4.812 kB / 0.9433 GB, free: 93.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/2.108, allocations: 142.1 kB / 0.9434 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/2.11, allocations: 376.7 kB / 0.9438 GB, free: 93.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/2.113, allocations: 1.312 MB / 0.9451 GB, free: 92.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/2.114, allocations: 1.023 MB / 0.9461 GB, free: 91.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009998/2.115, allocations: 298.2 kB / 0.9464 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/2.115, allocations: 310.2 kB / 0.9467 GB, free: 91.56 MB / 0.4948 GB Notification: Performance of SimCode: time 2.043e-06/2.115, allocations: 3.688 kB / 0.9467 GB, free: 91.56 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04876/2.164, allocations: 25.08 MB / 0.9712 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/2.164, allocations: 205.7 kB / 0.9714 GB, free: 89.49 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.217/5.381, allocations: 4 kB / 0.9714 GB, free: 89.48 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat