Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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.TestInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.609/1.609, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009504/0.0009506, allocations: 94.41 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2618/0.2618, allocations: 45.15 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/2.001e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1526, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.238/1.391, allocations: 408 MB / 0.9029 GB, free: 45.35 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/1.391, allocations: 85.83 kB / 0.903 GB, free: 45.31 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8043/2.196, allocations: 194.3 MB / 1.093 GB, free: 71.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.053e-06/2.196, allocations: 0 / 1.093 GB, free: 71.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.983e-05/2.196, allocations: 24 kB / 1.093 GB, free: 71.91 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003647/2.199, allocations: 1.359 MB / 1.094 GB, free: 70.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/2.199, allocations: 16.02 kB / 1.094 GB, free: 70.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004094/2.2, allocations: 110.8 kB / 1.094 GB, free: 70.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/2.201, allocations: 0.7804 MB / 1.095 GB, free: 69.56 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/2.201, allocations: 100.7 kB / 1.095 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/2.202, allocations: 36 kB / 1.095 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001511/2.203, allocations: 1.065 MB / 1.096 GB, free: 68.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/2.205, allocations: 1.095 MB / 1.097 GB, free: 67.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/2.205, allocations: 7.938 kB / 1.097 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/2.205, allocations: 4 kB / 1.097 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/2.205, allocations: 69.95 kB / 1.097 GB, free: 67.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007818/2.213, allocations: 4.546 MB / 1.102 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009673/2.214, allocations: 0.6555 MB / 1.102 GB, free: 61.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/2.214, allocations: 416.6 kB / 1.103 GB, free: 61.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003013/2.217, allocations: 2.577 MB / 1.105 GB, free: 58.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/2.217, allocations: 50.92 kB / 1.105 GB, free: 58.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=50): time 2.465e-06/2.217, allocations: 3.938 kB / 1.105 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55): time 0.008356/2.226, allocations: 3.048 MB / 1.108 GB, free: 55.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/2.226, allocations: 162.8 kB / 1.108 GB, free: 55.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000846/2.227, allocations: 0.6363 MB / 1.109 GB, free: 54.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.646e-05/2.227, allocations: 25.7 kB / 1.109 GB, free: 54.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/2.227, allocations: 478.4 kB / 1.11 GB, free: 53.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/2.227, allocations: 185.2 kB / 1.11 GB, free: 53.74 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/2.227, allocations: 0 / 1.11 GB, free: 53.74 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001344/2.228, allocations: 394.7 kB / 1.11 GB, free: 53.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005262/2.228, allocations: 434.4 kB / 1.111 GB, free: 52.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000667/2.229, allocations: 0.6431 MB / 1.111 GB, free: 52.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/2.232, allocations: 1.086 MB / 1.112 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/2.232, allocations: 0 / 1.112 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004939/2.237, allocations: 2.005 MB / 1.114 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005855/2.238, allocations: 2.45 MB / 1.117 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/2.238, allocations: 4 kB / 1.117 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/2.239, allocations: 434.2 kB / 1.117 GB, free: 45.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/2.24, allocations: 187.7 kB / 1.117 GB, free: 45.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/2.243, allocations: 3.137 MB / 1.12 GB, free: 42.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/2.244, allocations: 43.91 kB / 1.12 GB, free: 42.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.735e-05/2.244, allocations: 43.97 kB / 1.12 GB, free: 42.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/2.244, allocations: 4 kB / 1.12 GB, free: 42.39 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004544/2.248, allocations: 1.794 MB / 1.122 GB, free: 40.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/2.248, allocations: 7.938 kB / 1.122 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009136/2.249, allocations: 382.3 kB / 1.122 GB, free: 40.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/2.25, allocations: 187.7 kB / 1.123 GB, free: 40 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/2.253, allocations: 2.97 MB / 1.126 GB, free: 36.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/2.254, allocations: 36.12 kB / 1.126 GB, free: 36.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.554e-05/2.254, allocations: 47.97 kB / 1.126 GB, free: 36.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003858/2.255, allocations: 136.7 kB / 1.126 GB, free: 36.63 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002844/2.257, allocations: 1.235 MB / 1.127 GB, free: 35.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/2.258, allocations: 79.06 kB / 1.127 GB, free: 35.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/2.261, allocations: 1.461 MB / 1.128 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/2.261, allocations: 8 kB / 1.128 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/2.261, allocations: 0 / 1.128 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/2.261, allocations: 7.984 kB / 1.128 GB, free: 33.78 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/2.265, allocations: 2.397 MB / 1.131 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/2.265, allocations: 0 / 1.131 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/2.265, allocations: 95.94 kB / 1.131 GB, free: 31.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009019/2.266, allocations: 426.1 kB / 1.131 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/2.266, allocations: 8 kB / 1.131 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/2.269, allocations: 3.094 MB / 1.134 GB, free: 27.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/2.269, allocations: 7.922 kB / 1.134 GB, free: 27.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003317/2.272, allocations: 1.902 MB / 1.136 GB, free: 25.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006554/2.273, allocations: 295.9 kB / 1.136 GB, free: 25.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/2.273, allocations: 0 / 1.136 GB, free: 25.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006709/2.274, allocations: 35.94 kB / 1.137 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/2.274, allocations: 64.36 kB / 1.137 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.425e-05/2.274, allocations: 31.97 kB / 1.137 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007243/2.275, allocations: 483.1 kB / 1.137 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/2.275, allocations: 0 / 1.137 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003489/2.278, allocations: 0.8546 MB / 1.138 GB, free: 23.78 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005978/2.284, allocations: 3.318 MB / 1.141 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00311/2.287, allocations: 1.791 MB / 1.143 GB, free: 18.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/2.287, allocations: 3.859 kB / 1.143 GB, free: 18.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009056/2.288, allocations: 0.5508 MB / 1.143 GB, free: 18.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/2.29, allocations: 320.7 kB / 1.144 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/2.295, allocations: 1.836 MB / 1.146 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/2.296, allocations: 1.086 MB / 1.147 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001622/2.297, allocations: 435.3 kB / 1.147 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/2.298, allocations: 331.3 kB / 1.147 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of SimCode: time 1.994e-06/2.298, allocations: 0 / 1.147 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4464/2.744, allocations: 33.64 MB / 1.18 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/2.745, allocations: 181.8 kB / 1.18 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.634/6.379, allocations: 3.5 kB / 1.18 GB, free: 112.1 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat