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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.0009825/0.0009825, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.182/1.182, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009165/0.0009165, allocations: 91.95 kB / 292.1 MB, free: 6.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1632/0.1632, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.458e-05/2.46e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08225/0.08229, allocations: 63.25 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6791/0.7614, allocations: 304.2 MB / 0.8086 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.7617, allocations: 83.95 kB / 0.8086 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4921/1.254, allocations: 155.4 MB / 0.9604 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.754e-06/1.254, allocations: 2.641 kB / 0.9604 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.923e-05/1.254, allocations: 22.62 kB / 0.9604 GB, free: 121.1 MB / 0.5261 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.002362/1.256, allocations: 1.067 MB / 0.9615 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/1.256, allocations: 9.312 kB / 0.9615 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/1.256, allocations: 138.5 kB / 0.9616 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/1.257, allocations: 119 kB / 0.9617 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/1.258, allocations: 0.6109 MB / 0.9623 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/1.258, allocations: 252.7 kB / 0.9625 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/1.258, allocations: 78.73 kB / 0.9626 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/1.26, allocations: 1.268 MB / 0.9639 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/1.26, allocations: 8.656 kB / 0.9639 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/1.26, allocations: 44.2 kB / 0.9639 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/1.26, allocations: 38.5 kB / 0.9639 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/1.262, allocations: 0.9072 MB / 0.9648 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004485/1.266, allocations: 6.586 MB / 0.9713 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/1.267, allocations: 303.7 kB / 0.9716 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/1.267, allocations: 157.9 kB / 0.9717 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002058/1.269, allocations: 2.884 MB / 0.9745 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/1.269, allocations: 37.98 kB / 0.9746 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.863e-06/1.269, allocations: 0 / 0.9746 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.001832/1.271, allocations: 1.005 MB / 0.9755 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/1.271, allocations: 58.47 kB / 0.9756 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008887/1.272, allocations: 0.7569 MB / 0.9763 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/1.272, allocations: 36.86 kB / 0.9764 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/1.272, allocations: 0.5727 MB / 0.9769 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.993e-05/1.272, allocations: 139.8 kB / 0.9771 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/1.272, allocations: 26.7 kB / 0.9771 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.272, allocations: 398.6 kB / 0.9775 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/1.273, allocations: 228.9 kB / 0.9777 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/1.273, allocations: 0.9487 MB / 0.9786 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/1.274, allocations: 439.5 kB / 0.979 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.274, allocations: 7.938 kB / 0.979 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00174/1.276, allocations: 1.172 MB / 0.9802 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.276, allocations: 17.2 kB / 0.9802 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/1.276, allocations: 28.92 kB / 0.9802 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.815e-05/1.276, allocations: 38.84 kB / 0.9803 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007918/1.276, allocations: 282.2 kB / 0.9805 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.52e-05/1.277, allocations: 50.53 kB / 0.9806 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/1.277, allocations: 71.89 kB / 0.9806 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-05/1.277, allocations: 73.19 kB / 0.9807 GB, free: 110.2 MB / 0.5261 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.0001744/1.278, allocations: 209.1 kB / 0.9809 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/1.278, allocations: 87.06 kB / 0.981 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007457/1.278, allocations: 474.6 kB / 0.9815 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.278, allocations: 4.125 kB / 0.9815 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.278, allocations: 3.344 kB / 0.9815 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.278, allocations: 5.016 kB / 0.9815 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/1.28, allocations: 1.23 MB / 0.9827 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.28, allocations: 1.5 kB / 0.9827 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/1.28, allocations: 72.88 kB / 0.9827 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.28, allocations: 2.969 kB / 0.9827 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/1.28, allocations: 14.53 kB / 0.9828 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/1.28, allocations: 3.672 kB / 0.9828 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.28, allocations: 4.906 kB / 0.9828 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007164/1.281, allocations: 0.6988 MB / 0.9834 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/1.281, allocations: 204.1 kB / 0.9836 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.985e-05/1.281, allocations: 12.66 kB / 0.9837 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/1.282, allocations: 30.14 kB / 0.9837 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/1.282, allocations: 24.3 kB / 0.9837 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/1.282, allocations: 25.31 kB / 0.9837 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006691/1.283, allocations: 0.5702 MB / 0.9843 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.72e-07/1.283, allocations: 1.406 kB / 0.9843 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001074/1.284, allocations: 327.4 kB / 0.9846 GB, free: 108.8 MB / 0.5261 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.001503/1.285, allocations: 1.977 MB / 0.9865 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009185/1.286, allocations: 0.6238 MB / 0.9871 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.286, allocations: 0.9375 kB / 0.9871 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/1.286, allocations: 138 kB / 0.9873 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.288, allocations: 381.2 kB / 0.9876 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/1.29, allocations: 1.322 MB / 0.9889 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/1.291, allocations: 1.012 MB / 0.9899 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009974/1.292, allocations: 312.3 kB / 0.9902 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/1.292, allocations: 307.6 kB / 0.9905 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.132e-06/1.292, allocations: 0 / 0.9905 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/1.329, allocations: 25.13 MB / 1.015 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/1.329, allocations: 212 kB / 1.015 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.837, allocations: 0 / 1.015 GB, free: 105.3 MB / 0.5261 GB (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