Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001342/0.001342, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.3 MB / 213.7 MB, free: 1.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 82.36 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2583/0.2583, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.513e-05/2.512e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1486, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.415, allocations: 406.1 MB / 0.8626 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/1.415, allocations: 91.06 kB / 0.8627 GB, free: 29.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7912/2.206, allocations: 191.3 MB / 1.05 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.425e-06/2.206, allocations: 4 kB / 1.05 GB, free: 47.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.182e-05/2.207, allocations: 27.94 kB / 1.05 GB, free: 47.73 MB / 0.4948 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.004033/2.211, allocations: 1.355 MB / 1.051 GB, free: 46.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/2.211, allocations: 8.031 kB / 1.051 GB, free: 46.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004183/2.211, allocations: 118.8 kB / 1.051 GB, free: 46.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/2.213, allocations: 0.7881 MB / 1.052 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.703e-05/2.213, allocations: 96.69 kB / 1.052 GB, free: 45.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/2.213, allocations: 43.95 kB / 1.052 GB, free: 45.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001447/2.214, allocations: 1.069 MB / 1.053 GB, free: 44.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/2.216, allocations: 1.087 MB / 1.054 GB, free: 43.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/2.216, allocations: 0 / 1.054 GB, free: 43.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.406e-05/2.216, allocations: 0 / 1.054 GB, free: 43.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-05/2.216, allocations: 81.88 kB / 1.054 GB, free: 42.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006889/2.223, allocations: 4.542 MB / 1.059 GB, free: 38.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000985/2.224, allocations: 0.6596 MB / 1.059 GB, free: 37.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/2.224, allocations: 410.4 kB / 1.06 GB, free: 37.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00289/2.227, allocations: 2.577 MB / 1.062 GB, free: 34.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/2.227, allocations: 39 kB / 1.062 GB, free: 34.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.335e-06/2.227, allocations: 4 kB / 1.062 GB, free: 34.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.009174/2.237, allocations: 3.063 MB / 1.065 GB, free: 31.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/2.237, allocations: 162.7 kB / 1.065 GB, free: 30.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009941/2.238, allocations: 0.6325 MB / 1.066 GB, free: 30.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.688e-05/2.238, allocations: 25.7 kB / 1.066 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/2.238, allocations: 482.4 kB / 1.066 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/2.238, allocations: 189.2 kB / 1.067 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/2.238, allocations: 0 / 1.067 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001618/2.239, allocations: 394.8 kB / 1.067 GB, free: 29.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006459/2.239, allocations: 430.5 kB / 1.067 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/2.24, allocations: 0.6469 MB / 1.068 GB, free: 27.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006617/2.247, allocations: 1.62 MB / 1.07 GB, free: 26.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/2.247, allocations: 4 kB / 1.07 GB, free: 26.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.008363/2.255, allocations: 2.536 MB / 1.072 GB, free: 23.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007113/2.256, allocations: 2.44 MB / 1.074 GB, free: 21.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/2.256, allocations: 8 kB / 1.074 GB, free: 21.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/2.257, allocations: 434.2 kB / 1.075 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007509/2.258, allocations: 179.7 kB / 1.075 GB, free: 20.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/2.261, allocations: 3.137 MB / 1.078 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/2.262, allocations: 48.06 kB / 1.078 GB, free: 17.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/2.262, allocations: 39.98 kB / 1.078 GB, free: 17.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/2.262, allocations: 4 kB / 1.078 GB, free: 17.14 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007759/2.27, allocations: 2.34 MB / 1.08 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/2.27, allocations: 8 kB / 1.08 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008899/2.271, allocations: 378.3 kB / 1.081 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007791/2.272, allocations: 187.7 kB / 1.081 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/2.274, allocations: 2.958 MB / 1.084 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/2.275, allocations: 39.94 kB / 1.084 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/2.276, allocations: 47.98 kB / 1.084 GB, free: 11 MB / 0.4948 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.0004607/2.276, allocations: 136.8 kB / 1.084 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002999/2.279, allocations: 1.232 MB / 1.085 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/2.279, allocations: 79.06 kB / 1.085 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00337/2.283, allocations: 1.47 MB / 1.087 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/2.283, allocations: 16 kB / 1.087 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/2.283, allocations: 0 / 1.087 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/2.283, allocations: 3.984 kB / 1.087 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/2.288, allocations: 2.4 MB / 1.089 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/2.288, allocations: 0 / 1.089 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/2.288, allocations: 91.88 kB / 1.089 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009571/2.289, allocations: 426.2 kB / 1.09 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/2.289, allocations: 11.98 kB / 1.09 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002806/2.292, allocations: 3.086 MB / 1.093 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/2.292, allocations: 0 / 1.093 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4111/2.703, allocations: 1.9 MB / 1.095 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009845/2.704, allocations: 291.2 kB / 1.095 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/2.704, allocations: 2.188 kB / 1.095 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000762/2.705, allocations: 30.39 kB / 1.095 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/2.705, allocations: 58.19 kB / 1.095 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.492e-05/2.706, allocations: 29.09 kB / 1.095 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008549/2.706, allocations: 489 kB / 1.095 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.4e-07/2.706, allocations: 0 / 1.095 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003311/2.71, allocations: 0.8433 MB / 1.096 GB, free: 103.2 MB / 0.4948 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.007234/2.717, allocations: 3.326 MB / 1.099 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003971/2.721, allocations: 1.793 MB / 1.101 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/2.721, allocations: 0.8438 kB / 1.101 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/2.722, allocations: 0.5478 MB / 1.102 GB, free: 102 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/2.724, allocations: 320.3 kB / 1.102 GB, free: 102 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005777/2.73, allocations: 1.833 MB / 1.104 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008428/2.731, allocations: 1.082 MB / 1.105 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001896/2.733, allocations: 440.7 kB / 1.105 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006032/2.733, allocations: 330.3 kB / 1.106 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.854e-06/2.733, allocations: 0 / 1.106 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07411/2.807, allocations: 33.64 MB / 1.139 GB, free: 99.81 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/2.808, allocations: 190.8 kB / 1.139 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.403/6.211, allocations: 0 / 1.139 GB, free: 99.62 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat