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.0009935/0.0009936, allocations: 197.2 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.191/1.191, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008366/0.0008366, allocations: 92.72 kB / 292.1 MB, free: 6.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1921/0.1921, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.738e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.08894, allocations: 63.24 MB / 0.5115 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8389/0.9279, allocations: 408.7 MB / 0.9105 GB, free: 32.83 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.9282, allocations: 83.02 kB / 0.9106 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6311/1.559, allocations: 195.7 MB / 1.102 GB, free: 55.08 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.994e-06/1.559, allocations: 224 / 1.102 GB, free: 55.08 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.714e-05/1.559, allocations: 39.92 kB / 1.102 GB, free: 55.04 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.002878/1.562, allocations: 1.344 MB / 1.103 GB, free: 53.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/1.562, allocations: 8.031 kB / 1.103 GB, free: 53.64 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/1.562, allocations: 118.5 kB / 1.103 GB, free: 53.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/1.563, allocations: 122.8 kB / 1.103 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/1.564, allocations: 0.7881 MB / 1.104 GB, free: 52.56 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.632e-05/1.564, allocations: 120.6 kB / 1.104 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/1.564, allocations: 63.97 kB / 1.104 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/1.566, allocations: 1.195 MB / 1.105 GB, free: 51.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/1.566, allocations: 0 / 1.105 GB, free: 51.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.329e-05/1.566, allocations: 27.98 kB / 1.106 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.608e-05/1.566, allocations: 73.95 kB / 1.106 GB, free: 51.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/1.568, allocations: 1.171 MB / 1.107 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00637/1.574, allocations: 4.728 MB / 1.111 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009748/1.575, allocations: 0.6746 MB / 1.112 GB, free: 44.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000585/1.576, allocations: 423.5 kB / 1.112 GB, free: 43.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002808/1.578, allocations: 2.481 MB / 1.115 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/1.578, allocations: 50.89 kB / 1.115 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 2.284e-06/1.578, allocations: 0 / 1.115 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57): time 0.004108/1.583, allocations: 2.346 MB / 1.117 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/1.583, allocations: 166.8 kB / 1.117 GB, free: 38.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008693/1.583, allocations: 0.8326 MB / 1.118 GB, free: 37.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/1.584, allocations: 33.7 kB / 1.118 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/1.584, allocations: 463.3 kB / 1.119 GB, free: 37.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/1.584, allocations: 201.1 kB / 1.119 GB, free: 36.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/1.584, allocations: 16 kB / 1.119 GB, free: 36.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.622e-05/1.584, allocations: 349.9 kB / 1.119 GB, free: 36.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000563/1.585, allocations: 441.8 kB / 1.12 GB, free: 36.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006542/1.585, allocations: 0.6582 MB / 1.12 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/1.586, allocations: 0.509 MB / 1.121 GB, free: 34.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.586, allocations: 0 / 1.121 GB, free: 34.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001925/1.588, allocations: 1.482 MB / 1.122 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003862/1.588, allocations: 2.445 MB / 1.125 GB, free: 30.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.588, allocations: 8 kB / 1.125 GB, free: 30.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/1.59, allocations: 0.4982 MB / 1.125 GB, free: 30.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/1.59, allocations: 183.7 kB / 1.125 GB, free: 29.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/1.592, allocations: 2.923 MB / 1.128 GB, free: 26.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008715/1.593, allocations: 67.91 kB / 1.128 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.594e-05/1.593, allocations: 43.98 kB / 1.128 GB, free: 26.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/1.593, allocations: 4 kB / 1.128 GB, free: 26.75 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001916/1.595, allocations: 1.353 MB / 1.13 GB, free: 25.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.595, allocations: 4 kB / 1.13 GB, free: 25.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000853/1.596, allocations: 406.4 kB / 1.13 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/1.597, allocations: 187.7 kB / 1.13 GB, free: 24.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/1.598, allocations: 2.802 MB / 1.133 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007455/1.599, allocations: 64.06 kB / 1.133 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.848e-05/1.599, allocations: 55.84 kB / 1.133 GB, free: 21.67 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.0002167/1.599, allocations: 158.3 kB / 1.133 GB, free: 21.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/1.599, allocations: 98.78 kB / 1.133 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/1.601, allocations: 1.388 MB / 1.135 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.601, allocations: 4 kB / 1.135 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/1.601, allocations: 0 / 1.135 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/1.601, allocations: 7.984 kB / 1.135 GB, free: 19.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/1.604, allocations: 2.338 MB / 1.137 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.604, allocations: 0 / 1.137 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/1.605, allocations: 87.88 kB / 1.137 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/1.606, allocations: 0.5021 MB / 1.137 GB, free: 16.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/1.606, allocations: 15.98 kB / 1.137 GB, free: 16.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/1.608, allocations: 2.915 MB / 1.14 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.608, allocations: 0 / 1.14 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/1.61, allocations: 1.769 MB / 1.142 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005363/1.611, allocations: 307.6 kB / 1.142 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/1.611, allocations: 15.95 kB / 1.142 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006195/1.611, allocations: 47.97 kB / 1.142 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/1.611, allocations: 52.47 kB / 1.142 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.561e-05/1.612, allocations: 39.91 kB / 1.142 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007695/1.612, allocations: 0.6444 MB / 1.143 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/1.612, allocations: 4 kB / 1.143 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002421/1.615, allocations: 0.9054 MB / 1.144 GB, free: 9.949 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.003956/1.619, allocations: 3.194 MB / 1.147 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003143/1.622, allocations: 1.908 MB / 1.149 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.622, allocations: 256 / 1.149 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009024/1.623, allocations: 0.5757 MB / 1.149 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/1.625, allocations: 388.8 kB / 1.15 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/1.628, allocations: 1.95 MB / 1.152 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/1.629, allocations: 1.075 MB / 1.153 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00136/1.63, allocations: 498.9 kB / 1.153 GB, free: 208 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2656/1.896, allocations: 340.9 kB / 1.154 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of SimCode: time 2.124e-06/1.896, allocations: 0 / 1.154 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07097/1.967, allocations: 39.42 MB / 1.192 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/1.967, allocations: 237.8 kB / 1.192 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.331/5.298, allocations: 7.875 kB / 1.192 GB, free: 105.2 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