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.001084/0.001084, allocations: 169.9 kB / 8.74 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 96.84 kB / 281.6 MB, free: 5.32 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.2843/0.2843, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.214e-05, allocations: 4 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1835, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.612/1.796, allocations: 407 MB / 0.8922 GB, free: 181.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/1.796, allocations: 86.81 kB / 0.8923 GB, free: 181.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4527/2.249, allocations: 194.8 MB / 1.083 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.295e-06/2.249, allocations: 0 / 1.083 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.31e-05/2.249, allocations: 32 kB / 1.083 GB, free: 13.66 MB / 0.5105 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.003379/2.253, allocations: 1.344 MB / 1.084 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/2.253, allocations: 11.98 kB / 1.084 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/2.253, allocations: 118.8 kB / 1.084 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/2.255, allocations: 0.7881 MB / 1.085 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.825e-05/2.255, allocations: 92.66 kB / 1.085 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/2.255, allocations: 40 kB / 1.085 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001409/2.256, allocations: 1.069 MB / 1.086 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/2.258, allocations: 1.091 MB / 1.087 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/2.258, allocations: 7.906 kB / 1.087 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.822e-05/2.258, allocations: 0 / 1.087 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.632e-05/2.258, allocations: 73.95 kB / 1.087 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006418/2.264, allocations: 4.553 MB / 1.092 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009208/2.265, allocations: 0.6491 MB / 1.092 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/2.266, allocations: 410.3 kB / 1.093 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002657/2.268, allocations: 2.577 MB / 1.095 GB, free: 220 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/2.268, allocations: 43 kB / 1.095 GB, free: 168 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 2.064e-06/2.268, allocations: 0 / 1.095 GB, free: 168 kB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.4607/2.729, allocations: 3.049 MB / 1.098 GB, free: 99.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/2.729, allocations: 161.8 kB / 1.098 GB, free: 99.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/2.73, allocations: 0.6249 MB / 1.099 GB, free: 99.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.511e-05/2.73, allocations: 25.7 kB / 1.099 GB, free: 99.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/2.731, allocations: 488.8 kB / 1.099 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/2.731, allocations: 187.3 kB / 1.1 GB, free: 98.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/2.731, allocations: 1.062 kB / 1.1 GB, free: 98.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001616/2.731, allocations: 389.5 kB / 1.1 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007191/2.732, allocations: 428.9 kB / 1.1 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008327/2.733, allocations: 0.6526 MB / 1.101 GB, free: 98.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/2.736, allocations: 0.9819 MB / 1.102 GB, free: 98.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/2.736, allocations: 2.25 kB / 1.102 GB, free: 98.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004898/2.741, allocations: 1.902 MB / 1.104 GB, free: 98.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005763/2.742, allocations: 2.446 MB / 1.106 GB, free: 95.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/2.742, allocations: 6.156 kB / 1.106 GB, free: 95.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/2.743, allocations: 433.6 kB / 1.107 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/2.744, allocations: 181 kB / 1.107 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/2.747, allocations: 3.15 MB / 1.11 GB, free: 93.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/2.748, allocations: 43.62 kB / 1.11 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/2.748, allocations: 49.48 kB / 1.11 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/2.748, allocations: 3.938 kB / 1.11 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004185/2.752, allocations: 1.688 MB / 1.112 GB, free: 93.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/2.752, allocations: 10.02 kB / 1.112 GB, free: 93.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009531/2.753, allocations: 380.2 kB / 1.112 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008839/2.754, allocations: 189.1 kB / 1.112 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/2.757, allocations: 2.959 MB / 1.115 GB, free: 91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009733/2.758, allocations: 35.38 kB / 1.115 GB, free: 91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/2.758, allocations: 45.31 kB / 1.115 GB, free: 91 MB / 0.5105 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.0003475/2.759, allocations: 130.8 kB / 1.115 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003261/2.762, allocations: 1.24 MB / 1.116 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/2.762, allocations: 78.94 kB / 1.117 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003683/2.766, allocations: 1.468 MB / 1.118 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/2.766, allocations: 7.281 kB / 1.118 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/2.766, allocations: 4.031 kB / 1.118 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/2.766, allocations: 8.969 kB / 1.118 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005404/2.771, allocations: 2.41 MB / 1.12 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/2.771, allocations: 3.562 kB / 1.12 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006297/2.772, allocations: 91.92 kB / 1.12 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/2.773, allocations: 420.6 kB / 1.121 GB, free: 90.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/2.773, allocations: 13.06 kB / 1.121 GB, free: 90.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003347/2.776, allocations: 3.079 MB / 1.124 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/2.776, allocations: 6.688 kB / 1.124 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004006/2.781, allocations: 1.909 MB / 1.126 GB, free: 87.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006667/2.781, allocations: 287.3 kB / 1.126 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/2.781, allocations: 2.125 kB / 1.126 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006454/2.782, allocations: 34.7 kB / 1.126 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/2.782, allocations: 54.7 kB / 1.126 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.25e-05/2.782, allocations: 36.97 kB / 1.126 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007446/2.783, allocations: 492.6 kB / 1.127 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/2.783, allocations: 2.75 kB / 1.127 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002973/2.786, allocations: 0.8405 MB / 1.127 GB, free: 87.18 MB / 0.5105 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.005646/2.792, allocations: 3.329 MB / 1.131 GB, free: 86.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00327/2.795, allocations: 1.79 MB / 1.132 GB, free: 85.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/2.795, allocations: 3.312 kB / 1.132 GB, free: 85.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009338/2.796, allocations: 0.5495 MB / 1.133 GB, free: 85.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/2.798, allocations: 312.9 kB / 1.133 GB, free: 85.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/2.802, allocations: 1.831 MB / 1.135 GB, free: 85.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/2.803, allocations: 1.081 MB / 1.136 GB, free: 84.74 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001375/2.804, allocations: 429.3 kB / 1.136 GB, free: 84.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/2.804, allocations: 336.7 kB / 1.137 GB, free: 84.72 MB / 0.5105 GB Notification: Performance of SimCode: time 7.32e-07/2.804, allocations: 0 / 1.137 GB, free: 84.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06873/2.873, allocations: 33.65 MB / 1.17 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/2.873, allocations: 182.6 kB / 1.17 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/6.314, allocations: 6.203 kB / 1.17 GB, free: 83.36 MB / 0.5105 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