Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 101.8 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4159/0.4159, allocations: 44.21 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 11.98 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4016, allocations: 61.9 MB / 0.5096 GB, free: 37.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.502, allocations: 407.7 MB / 0.9078 GB, free: 176.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/1.502, allocations: 100.3 kB / 0.9079 GB, free: 176.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7156/2.218, allocations: 196.9 MB / 1.1 GB, free: 97.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.663e-06/2.218, allocations: 0 / 1.1 GB, free: 97.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.713e-05/2.218, allocations: 28.12 kB / 1.1 GB, free: 97.22 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.003632/2.221, allocations: 1.456 MB / 1.102 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/2.221, allocations: 10.38 kB / 1.102 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002081/2.222, allocations: 126.1 kB / 1.102 GB, free: 96.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003894/2.222, allocations: 118.1 kB / 1.102 GB, free: 96.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/2.224, allocations: 0.7928 MB / 1.103 GB, free: 96.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.916e-05/2.224, allocations: 122.9 kB / 1.103 GB, free: 96.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/2.224, allocations: 66.84 kB / 1.103 GB, free: 96.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/2.226, allocations: 1.202 MB / 1.104 GB, free: 96.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/2.226, allocations: 3 kB / 1.104 GB, free: 96.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/2.226, allocations: 31.98 kB / 1.104 GB, free: 96.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.605e-05/2.226, allocations: 71.11 kB / 1.104 GB, free: 96.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/2.228, allocations: 1.186 MB / 1.105 GB, free: 96.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007928/2.236, allocations: 4.729 MB / 1.11 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/2.237, allocations: 0.684 MB / 1.11 GB, free: 94.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003187/2.24, allocations: 2.448 MB / 1.113 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/2.24, allocations: 43.56 kB / 1.113 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 2.715e-06/2.24, allocations: 6.703 kB / 1.113 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57): time 0.006801/2.247, allocations: 3.002 MB / 1.116 GB, free: 92.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/2.247, allocations: 164.1 kB / 1.116 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/2.248, allocations: 0.8348 MB / 1.117 GB, free: 92.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.701e-05/2.248, allocations: 36.89 kB / 1.117 GB, free: 92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/2.248, allocations: 469 kB / 1.117 GB, free: 91.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/2.249, allocations: 206.8 kB / 1.118 GB, free: 91.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.262e-05/2.249, allocations: 15.75 kB / 1.118 GB, free: 91.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/2.249, allocations: 346.4 kB / 1.118 GB, free: 91.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006849/2.249, allocations: 441.1 kB / 1.118 GB, free: 91.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008817/2.25, allocations: 0.6776 MB / 1.119 GB, free: 91.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007697/2.251, allocations: 0.5127 MB / 1.119 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/2.251, allocations: 3.125 kB / 1.119 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002561/2.254, allocations: 1.508 MB / 1.121 GB, free: 90.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006123/2.254, allocations: 2.441 MB / 1.123 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/2.254, allocations: 7.875 kB / 1.123 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/2.256, allocations: 0.5163 MB / 1.124 GB, free: 88.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007948/2.257, allocations: 184.7 kB / 1.124 GB, free: 88.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/2.259, allocations: 2.942 MB / 1.127 GB, free: 86.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/2.26, allocations: 50.38 kB / 1.127 GB, free: 86.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-05/2.26, allocations: 49.64 kB / 1.127 GB, free: 86.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.497e-06/2.26, allocations: 2.844 kB / 1.127 GB, free: 86.06 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00212/2.262, allocations: 1.368 MB / 1.128 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/2.262, allocations: 6.844 kB / 1.128 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009612/2.263, allocations: 409.9 kB / 1.129 GB, free: 85.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/2.264, allocations: 191.3 kB / 1.129 GB, free: 85.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/2.266, allocations: 2.825 MB / 1.132 GB, free: 83.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009628/2.267, allocations: 59.17 kB / 1.132 GB, free: 83.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.235e-05/2.267, allocations: 44.03 kB / 1.132 GB, free: 83.6 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 () * Number of clocked 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.0006092/2.267, allocations: 370.8 kB / 1.132 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/2.268, allocations: 102.1 kB / 1.132 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/2.27, allocations: 1.392 MB / 1.134 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/2.27, allocations: 10.12 kB / 1.134 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/2.27, allocations: 7.203 kB / 1.134 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/2.27, allocations: 3.328 kB / 1.134 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/2.273, allocations: 2.342 MB / 1.136 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/2.273, allocations: 3.844 kB / 1.136 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/2.274, allocations: 91.59 kB / 1.136 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/2.275, allocations: 0.5068 MB / 1.136 GB, free: 82.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.248e-05/2.275, allocations: 26.64 kB / 1.136 GB, free: 82.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/2.277, allocations: 2.922 MB / 1.139 GB, free: 80.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/2.277, allocations: 3.516 kB / 1.139 GB, free: 80.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/2.28, allocations: 1.782 MB / 1.141 GB, free: 80.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007232/2.28, allocations: 308.5 kB / 1.141 GB, free: 79.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/2.281, allocations: 17.38 kB / 1.141 GB, free: 79.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007126/2.281, allocations: 41.61 kB / 1.141 GB, free: 79.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/2.281, allocations: 56.52 kB / 1.141 GB, free: 79.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.441e-05/2.282, allocations: 29.44 kB / 1.142 GB, free: 79.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009052/2.282, allocations: 0.658 MB / 1.142 GB, free: 79.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.282, allocations: 0 / 1.142 GB, free: 79.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002796/2.285, allocations: 0.8923 MB / 1.143 GB, free: 79.61 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 () * Number of clocked 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.005141/2.29, allocations: 3.216 MB / 1.146 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003957/2.294, allocations: 1.912 MB / 1.148 GB, free: 78.17 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/2.294, allocations: 1.125 kB / 1.148 GB, free: 78.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/2.296, allocations: 0.5745 MB / 1.149 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/2.298, allocations: 386.1 kB / 1.149 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006513/2.304, allocations: 7.396 MB / 1.156 GB, free: 72.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006641/2.305, allocations: 1.085 MB / 1.157 GB, free: 71.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00159/2.306, allocations: 431.7 kB / 1.158 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004967/2.307, allocations: 347.5 kB / 1.158 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of SimCode: time 6.211e-06/2.307, allocations: 0 / 1.158 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06347/2.37, allocations: 37.7 MB / 1.195 GB, free: 70.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/2.371, allocations: 274.2 kB / 1.195 GB, free: 69.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/5.815, allocations: 0 / 1.195 GB, free: 69.91 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat