Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002251/0.002251, allocations: 188.8 kB / 16.4 MB, free: 5.621 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.137/2.137, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001214/0.001213, allocations: 106.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.297/0.297, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007247/0.0007249, allocations: 8 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1324, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02559/0.158, allocations: 15.09 MB / 0.4936 GB, free: 10.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.1708, allocations: 6.085 MB / 0.4995 GB, free: 3.992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.1719, allocations: 27.75 kB / 0.4995 GB, free: 3.965 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.1733, allocations: 310.5 kB / 0.4998 GB, free: 3.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.1757, allocations: 0.5252 MB / 0.5004 GB, free: 3.137 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004922/0.1806, allocations: 1.064 MB / 0.5014 GB, free: 2.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003374/0.184, allocations: 1.443 MB / 0.5028 GB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.1854, allocations: 0.5442 MB / 0.5033 GB, free: 68 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.1879, allocations: 0.7907 MB / 0.5041 GB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.1892, allocations: 498.2 kB / 0.5046 GB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.1895, allocations: 44 kB / 0.5046 GB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.1913, allocations: 367.6 kB / 0.505 GB, free: 14.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005281/0.1918, allocations: 307.2 kB / 0.5053 GB, free: 14.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003995/0.1922, allocations: 201.3 kB / 0.5055 GB, free: 13.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.1944, allocations: 1.064 MB / 0.5065 GB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1945, allocations: 0 / 0.5065 GB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1945, allocations: 0 / 0.5065 GB, free: 12.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.1945, allocations: 0 / 0.5065 GB, free: 12.81 MB / 362.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.003458/0.198, allocations: 1.107 MB / 0.5076 GB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.198, allocations: 8.031 kB / 0.5076 GB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003452/0.1984, allocations: 147 kB / 0.5077 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006717/0.1991, allocations: 122.8 kB / 0.5078 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.2006, allocations: 0.5667 MB / 0.5084 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002852/0.2009, allocations: 252.2 kB / 0.5086 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.2012, allocations: 80 kB / 0.5087 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003205/0.2044, allocations: 1.293 MB / 0.51 GB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.476e-05/0.2045, allocations: 7.938 kB / 0.51 GB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.2047, allocations: 40 kB / 0.51 GB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.126e-05/0.2048, allocations: 41.25 kB / 0.5101 GB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.2076, allocations: 0.9571 MB / 0.511 GB, free: 7.934 MB / 362.7 MB 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.01125/0.2188, allocations: 7.113 MB / 0.5179 GB, free: 360 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008828/0.2198, allocations: 308.2 kB / 0.5182 GB, free: 44 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3212/0.541, allocations: 2.816 MB / 0.521 GB, free: 43.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.5411, allocations: 41.75 kB / 0.521 GB, free: 43.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.065e-06/0.5411, allocations: 2.375 kB / 0.521 GB, free: 43.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.004161/0.5453, allocations: 1.106 MB / 0.5221 GB, free: 43.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.5454, allocations: 57.14 kB / 0.5222 GB, free: 42.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.5472, allocations: 0.8686 MB / 0.523 GB, free: 42.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.5474, allocations: 35.58 kB / 0.523 GB, free: 42.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004814/0.5479, allocations: 0.6006 MB / 0.5236 GB, free: 42.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.5481, allocations: 137.7 kB / 0.5238 GB, free: 42.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.5481, allocations: 24.03 kB / 0.5238 GB, free: 42.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5483, allocations: 359.1 kB / 0.5241 GB, free: 41.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007218/0.549, allocations: 241.6 kB / 0.5244 GB, free: 41.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.5501, allocations: 0.955 MB / 0.5253 GB, free: 40.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.5513, allocations: 442.5 kB / 0.5257 GB, free: 40.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.388e-05/0.5514, allocations: 10.22 kB / 0.5257 GB, free: 40.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003203/0.5546, allocations: 1.163 MB / 0.5269 GB, free: 40.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.5547, allocations: 16.41 kB / 0.5269 GB, free: 40.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.883e-05/0.5547, allocations: 25.62 kB / 0.5269 GB, free: 40.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.323e-05/0.5548, allocations: 38.38 kB / 0.5269 GB, free: 40.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.5565, allocations: 281.5 kB / 0.5272 GB, free: 40.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.212e-05/0.5566, allocations: 52.17 kB / 0.5273 GB, free: 40.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.558, allocations: 66.52 kB / 0.5273 GB, free: 40.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.5582, allocations: 76.83 kB / 0.5274 GB, free: 40.04 MB / 362.7 MB 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 () * Number of clocked 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.0007068/0.5589, allocations: 334.4 kB / 0.5277 GB, free: 39.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.5592, allocations: 86.16 kB / 0.5278 GB, free: 39.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.5606, allocations: 482.5 kB / 0.5283 GB, free: 39.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.5606, allocations: 4.766 kB / 0.5283 GB, free: 39.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5607, allocations: 7.891 kB / 0.5283 GB, free: 39.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-06/0.5607, allocations: 4.062 kB / 0.5283 GB, free: 39.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/0.5635, allocations: 1.234 MB / 0.5295 GB, free: 38.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.5636, allocations: 6.922 kB / 0.5295 GB, free: 38.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/0.5642, allocations: 70.39 kB / 0.5295 GB, free: 38.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.5642, allocations: 3.25 kB / 0.5295 GB, free: 38.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.5642, allocations: 13.66 kB / 0.5296 GB, free: 38.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.5643, allocations: 10.44 kB / 0.5296 GB, free: 38.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5643, allocations: 2.094 kB / 0.5296 GB, free: 38.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.5659, allocations: 0.7215 MB / 0.5303 GB, free: 38.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.5665, allocations: 209.6 kB / 0.5305 GB, free: 38.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.5667, allocations: 7.422 kB / 0.5305 GB, free: 38.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008097/0.5675, allocations: 28.77 kB / 0.5305 GB, free: 38.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.5676, allocations: 21.41 kB / 0.5305 GB, free: 38.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.22e-05/0.5677, allocations: 26.44 kB / 0.5306 GB, free: 38.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001274/0.569, allocations: 0.5874 MB / 0.5311 GB, free: 37.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.569, allocations: 0 / 0.5311 GB, free: 37.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002091/0.5711, allocations: 300 kB / 0.5314 GB, free: 37.76 MB / 362.7 MB 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 () * Number of clocked 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.002797/0.574, allocations: 1.868 MB / 0.5332 GB, free: 36.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.5761, allocations: 0.6399 MB / 0.5339 GB, free: 36.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.5761, allocations: 0.9688 kB / 0.5339 GB, free: 36.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000458/0.5766, allocations: 141.4 kB / 0.534 GB, free: 36.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/0.5801, allocations: 371.9 kB / 0.5344 GB, free: 35.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/0.5966, allocations: 22.76 MB / 0.5566 GB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007669/0.5975, allocations: 1.01 MB / 0.5576 GB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007188/0.5982, allocations: 311.8 kB / 0.5579 GB, free: 14.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5982, allocations: 0 / 0.5579 GB, free: 14.11 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.255/3.853, allocations: 18.32 MB / 0.5758 GB, free: 15.41 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat