Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009278/0.0009279, allocations: 93.27 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 176.8 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1901/0.1901, allocations: 44.22 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.000313, allocations: 12.91 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1108, allocations: 61.91 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01665/0.1275, allocations: 16.6 MB / 488.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00842/0.136, allocations: 6.634 MB / 494.9 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007546/0.1368, allocations: 27.75 kB / 494.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008614/0.1376, allocations: 314 kB / 495.2 MB, free: 5.965 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001398/0.139, allocations: 0.68 MB / 495.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.1418, allocations: 1.036 MB / 496.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003212/0.145, allocations: 2.981 MB / 499.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009025/0.1459, allocations: 0.54 MB / 0.4887 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001681/0.1476, allocations: 0.8914 MB / 0.4896 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.1488, allocations: 0.7513 MB / 0.4903 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.1489, allocations: 44 kB / 0.4904 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.1499, allocations: 303.7 kB / 0.4907 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003393/0.1503, allocations: 331.1 kB / 0.491 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.1505, allocations: 205.3 kB / 0.4912 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.1518, allocations: 1.076 MB / 0.4922 GB, free: 13.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1518, allocations: 0 / 0.4922 GB, free: 13.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1518, allocations: 0 / 0.4922 GB, free: 13.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.1518, allocations: 0 / 0.4922 GB, free: 13.11 MB / 382.1 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.001975/0.1538, allocations: 1.107 MB / 0.4933 GB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1539, allocations: 8.031 kB / 0.4933 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/0.1541, allocations: 143.1 kB / 0.4935 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000411/0.1545, allocations: 118.9 kB / 0.4936 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008744/0.1554, allocations: 0.5784 MB / 0.4941 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.1556, allocations: 244.2 kB / 0.4944 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.1557, allocations: 80 kB / 0.4944 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.1575, allocations: 1.307 MB / 0.4957 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.1576, allocations: 15.91 kB / 0.4957 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.672e-05/0.1577, allocations: 40 kB / 0.4958 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-05/0.1577, allocations: 33.31 kB / 0.4958 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.1593, allocations: 0.9571 MB / 0.4967 GB, free: 8.227 MB / 382.1 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.007062/0.1664, allocations: 7.09 MB / 0.5037 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.1669, allocations: 320.3 kB / 0.504 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.1672, allocations: 172.2 kB / 0.5041 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2325/0.3997, allocations: 2.809 MB / 0.5069 GB, free: 47.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.3998, allocations: 40.95 kB / 0.5069 GB, free: 47.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.3998, allocations: 0 / 0.5069 GB, free: 47.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002159/0.402, allocations: 1.114 MB / 0.508 GB, free: 47.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.402, allocations: 58.69 kB / 0.5081 GB, free: 47.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.4032, allocations: 0.8657 MB / 0.5089 GB, free: 47.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.4033, allocations: 36.41 kB / 0.5089 GB, free: 47.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004463/0.4037, allocations: 0.5667 MB / 0.5095 GB, free: 46.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.4039, allocations: 137.1 kB / 0.5096 GB, free: 46.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.4039, allocations: 24.44 kB / 0.5096 GB, free: 46.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4041, allocations: 401.5 kB / 0.51 GB, free: 46.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/0.4045, allocations: 247 kB / 0.5103 GB, free: 46.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006956/0.4052, allocations: 0.9534 MB / 0.5112 GB, free: 45.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/0.4058, allocations: 449 kB / 0.5116 GB, free: 45.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.4058, allocations: 7.719 kB / 0.5116 GB, free: 45.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001826/0.4077, allocations: 1.199 MB / 0.5128 GB, free: 44.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.4077, allocations: 15.75 kB / 0.5128 GB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/0.4077, allocations: 26.14 kB / 0.5128 GB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.67e-05/0.4078, allocations: 42.67 kB / 0.5129 GB, free: 44.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007396/0.4085, allocations: 274 kB / 0.5131 GB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.676e-05/0.4086, allocations: 51.02 kB / 0.5132 GB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007176/0.4093, allocations: 72.39 kB / 0.5133 GB, free: 44.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.4094, allocations: 77.45 kB / 0.5133 GB, free: 44.86 MB / 382.1 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.0004081/0.4099, allocations: 337.8 kB / 0.5137 GB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.41, allocations: 86.94 kB / 0.5137 GB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009021/0.4109, allocations: 479.5 kB / 0.5142 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.4109, allocations: 5.703 kB / 0.5142 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4109, allocations: 0 / 0.5142 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4109, allocations: 2.016 kB / 0.5142 GB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.4124, allocations: 1.238 MB / 0.5154 GB, free: 43.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.4125, allocations: 1.562 kB / 0.5154 GB, free: 43.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.4127, allocations: 71.11 kB / 0.5155 GB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.4128, allocations: 3.297 kB / 0.5155 GB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.4128, allocations: 13.05 kB / 0.5155 GB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.4128, allocations: 9.062 kB / 0.5155 GB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4128, allocations: 0.9688 kB / 0.5155 GB, free: 43.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007545/0.4136, allocations: 0.6454 MB / 0.5161 GB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.4138, allocations: 202.8 kB / 0.5163 GB, free: 43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-05/0.4139, allocations: 13.02 kB / 0.5163 GB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.4143, allocations: 32.2 kB / 0.5164 GB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.4143, allocations: 22.34 kB / 0.5164 GB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/0.4144, allocations: 30.66 kB / 0.5164 GB, free: 42.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000686/0.4151, allocations: 0.5827 MB / 0.517 GB, free: 42.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4151, allocations: 0 / 0.517 GB, free: 42.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001099/0.4162, allocations: 298.5 kB / 0.5173 GB, free: 42.67 MB / 382.1 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.00156/0.4178, allocations: 1.408 MB / 0.5187 GB, free: 41.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.4189, allocations: 0.6315 MB / 0.5193 GB, free: 41.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4189, allocations: 1.281 kB / 0.5193 GB, free: 41.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.4192, allocations: 146.5 kB / 0.5194 GB, free: 41.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.4208, allocations: 386.8 kB / 0.5198 GB, free: 41.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007219/0.428, allocations: 5.263 MB / 0.5249 GB, free: 38.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.4286, allocations: 0.9931 MB / 0.5259 GB, free: 37.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001117/0.4297, allocations: 314.7 kB / 0.5262 GB, free: 37.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.4301, allocations: 303.5 kB / 0.5265 GB, free: 37.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4301, allocations: 0 / 0.5265 GB, free: 37.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03393/0.464, allocations: 22.97 MB / 0.5489 GB, free: 17.26 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/0.4642, allocations: 248.6 kB / 0.5491 GB, free: 16.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/2.764, allocations: 0 / 0.5491 GB, free: 16.98 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat