Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 94.73 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 203.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1854/0.1854, allocations: 45.91 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002428/0.0002428, allocations: 8 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 63.46 MB / 481.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01749/0.1257, allocations: 15.16 MB / 496.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.1361, allocations: 6.071 MB / 0.491 GB, free: 16 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006904/0.1369, allocations: 19.92 kB / 0.491 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008509/0.1377, allocations: 318.2 kB / 0.4913 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.1397, allocations: 0.5336 MB / 0.4918 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004157/0.1438, allocations: 1.062 MB / 0.4929 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002927/0.1468, allocations: 1.444 MB / 0.4943 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.1481, allocations: 0.5519 MB / 0.4948 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.1504, allocations: 0.7907 MB / 0.4956 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.1517, allocations: 494.3 kB / 0.496 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.1519, allocations: 47.98 kB / 0.4961 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.1536, allocations: 367.7 kB / 0.4964 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004708/0.1541, allocations: 303.2 kB / 0.4967 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003948/0.1545, allocations: 209.2 kB / 0.4969 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001911/0.1565, allocations: 1.06 MB / 0.498 GB, free: 8.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1565, allocations: 0 / 0.498 GB, free: 8.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1565, allocations: 0 / 0.498 GB, free: 8.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.715e-05/0.1565, allocations: 4 kB / 0.498 GB, free: 8.832 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.002832/0.1594, allocations: 1.107 MB / 0.4991 GB, free: 7.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1594, allocations: 16.5 kB / 0.4991 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002714/0.1597, allocations: 139.1 kB / 0.4992 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007011/0.1604, allocations: 122.9 kB / 0.4993 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.1618, allocations: 0.5707 MB / 0.4999 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.1621, allocations: 252.2 kB / 0.5001 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.1623, allocations: 80 kB / 0.5002 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.1648, allocations: 1.289 MB / 0.5015 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.1649, allocations: 7.938 kB / 0.5015 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.165, allocations: 40 kB / 0.5015 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/0.1651, allocations: 37.31 kB / 0.5015 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.1666, allocations: 0.961 MB / 0.5025 GB, free: 3.949 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.2008/0.3674, allocations: 7.097 MB / 0.5094 GB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.3681, allocations: 308.5 kB / 0.5097 GB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002382/0.3705, allocations: 2.833 MB / 0.5125 GB, free: 35.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3705, allocations: 37.42 kB / 0.5125 GB, free: 35.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.325e-06/0.3705, allocations: 1.156 kB / 0.5125 GB, free: 35.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002518/0.3731, allocations: 1.113 MB / 0.5136 GB, free: 35.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.3731, allocations: 55.41 kB / 0.5136 GB, free: 34.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.3745, allocations: 0.8646 MB / 0.5145 GB, free: 34.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.618e-05/0.3745, allocations: 35.36 kB / 0.5145 GB, free: 34.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/0.375, allocations: 0.5674 MB / 0.5151 GB, free: 34.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.3751, allocations: 137.9 kB / 0.5152 GB, free: 34.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.3751, allocations: 24.84 kB / 0.5152 GB, free: 34.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3753, allocations: 399.5 kB / 0.5156 GB, free: 34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.3757, allocations: 244.2 kB / 0.5158 GB, free: 33.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007819/0.3765, allocations: 0.9565 MB / 0.5168 GB, free: 32.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000691/0.3772, allocations: 436.9 kB / 0.5172 GB, free: 32.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.837e-05/0.3773, allocations: 7.188 kB / 0.5172 GB, free: 32.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002158/0.3794, allocations: 1.207 MB / 0.5184 GB, free: 32.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.3795, allocations: 16.81 kB / 0.5184 GB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.471e-05/0.3795, allocations: 26.41 kB / 0.5184 GB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.835e-05/0.3796, allocations: 36.72 kB / 0.5185 GB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007928/0.3804, allocations: 274.7 kB / 0.5187 GB, free: 32.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.802e-05/0.3805, allocations: 52.55 kB / 0.5188 GB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.3813, allocations: 64.89 kB / 0.5188 GB, free: 32.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.3814, allocations: 80.72 kB / 0.5189 GB, free: 32.21 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.0005453/0.382, allocations: 335.3 kB / 0.5192 GB, free: 31.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.3822, allocations: 90.16 kB / 0.5193 GB, free: 31.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009238/0.3831, allocations: 479.4 kB / 0.5198 GB, free: 31.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.3832, allocations: 3.594 kB / 0.5198 GB, free: 31.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3832, allocations: 8.812 kB / 0.5198 GB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3832, allocations: 3.078 kB / 0.5198 GB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.3848, allocations: 1.242 MB / 0.521 GB, free: 30.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.3848, allocations: 1.375 kB / 0.521 GB, free: 30.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.3851, allocations: 69.38 kB / 0.5211 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.3851, allocations: 4.641 kB / 0.5211 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.3852, allocations: 15.14 kB / 0.5211 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.3852, allocations: 7.203 kB / 0.5211 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3852, allocations: 2.75 kB / 0.5211 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008534/0.3861, allocations: 0.7152 MB / 0.5218 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.3864, allocations: 207.8 kB / 0.522 GB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.3865, allocations: 12.05 kB / 0.522 GB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.3869, allocations: 24.31 kB / 0.522 GB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.3869, allocations: 30.45 kB / 0.522 GB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/0.387, allocations: 25.84 kB / 0.5221 GB, free: 30.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007254/0.3877, allocations: 0.5788 MB / 0.5226 GB, free: 29.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3877, allocations: 1.375 kB / 0.5226 GB, free: 29.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001296/0.389, allocations: 301.1 kB / 0.5229 GB, free: 29.91 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.001671/0.3907, allocations: 1.868 MB / 0.5248 GB, free: 28.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.3919, allocations: 0.6321 MB / 0.5254 GB, free: 28.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.392, allocations: 1.125 kB / 0.5254 GB, free: 28.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.3922, allocations: 152.9 kB / 0.5255 GB, free: 28.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.3941, allocations: 379.8 kB / 0.5259 GB, free: 28.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.4046, allocations: 22.71 MB / 0.5481 GB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.4053, allocations: 1.014 MB / 0.5491 GB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001227/0.4065, allocations: 323.9 kB / 0.5494 GB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.4068, allocations: 300.1 kB / 0.5496 GB, free: 6.234 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4068, allocations: 3.172 kB / 0.5496 GB, free: 6.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/0.4438, allocations: 22.99 MB / 0.5721 GB, free: 3.262 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.4441, allocations: 231 kB / 0.5723 GB, free: 3.023 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/2.822, allocations: 0 / 0.5723 GB, free: 3.023 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat