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.001567/0.001568, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.55/1.55, allocations: 221.3 MB / 236 MB, free: 2.949 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.0009083/0.0009086, allocations: 86.67 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2465/0.2465, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.697e-05/4.707e-05, allocations: 8.156 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1662, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.179/1.346, allocations: 407.6 MB / 0.8999 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/1.346, allocations: 83.95 kB / 0.9 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7983/2.144, allocations: 196.3 MB / 1.092 GB, free: 43.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.823e-06/2.144, allocations: 0 / 1.092 GB, free: 43.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001132/2.144, allocations: 32.14 kB / 1.092 GB, free: 43.82 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.004586/2.149, allocations: 1.347 MB / 1.093 GB, free: 42.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/2.149, allocations: 12.03 kB / 1.093 GB, free: 42.42 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004667/2.15, allocations: 114.5 kB / 1.093 GB, free: 42.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000786/2.15, allocations: 122.8 kB / 1.093 GB, free: 42.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/2.153, allocations: 0.7881 MB / 1.094 GB, free: 41.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/2.153, allocations: 116.7 kB / 1.094 GB, free: 41.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/2.153, allocations: 67.97 kB / 1.094 GB, free: 41.15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/2.155, allocations: 1.187 MB / 1.095 GB, free: 39.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/2.155, allocations: 3.953 kB / 1.095 GB, free: 39.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/2.156, allocations: 27.98 kB / 1.095 GB, free: 39.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/2.156, allocations: 77.88 kB / 1.095 GB, free: 39.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/2.158, allocations: 1.167 MB / 1.097 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008256/2.166, allocations: 4.72 MB / 1.101 GB, free: 33.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/2.167, allocations: 0.6705 MB / 1.102 GB, free: 33 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/2.168, allocations: 418.4 kB / 1.102 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003089/2.171, allocations: 2.5 MB / 1.105 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/2.171, allocations: 39 kB / 1.105 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 2.154e-06/2.171, allocations: 4 kB / 1.105 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57): time 0.00481/2.176, allocations: 2.342 MB / 1.107 GB, free: 27.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/2.176, allocations: 166.8 kB / 1.107 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/2.177, allocations: 0.8288 MB / 1.108 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/2.177, allocations: 41.7 kB / 1.108 GB, free: 26.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/2.177, allocations: 455.3 kB / 1.108 GB, free: 25.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/2.177, allocations: 209.1 kB / 1.109 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/2.178, allocations: 16 kB / 1.109 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/2.178, allocations: 341.9 kB / 1.109 GB, free: 25.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006031/2.178, allocations: 437.8 kB / 1.109 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/2.179, allocations: 0.6621 MB / 1.11 GB, free: 24.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/2.18, allocations: 0.5049 MB / 1.111 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/2.18, allocations: 0 / 1.111 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002188/2.182, allocations: 1.49 MB / 1.112 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000515/2.182, allocations: 2.449 MB / 1.114 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/2.182, allocations: 8 kB / 1.114 GB, free: 19.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/2.184, allocations: 0.4982 MB / 1.115 GB, free: 18.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/2.185, allocations: 187.7 kB / 1.115 GB, free: 18.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/2.187, allocations: 2.939 MB / 1.118 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/2.188, allocations: 60.06 kB / 1.118 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/2.188, allocations: 47.97 kB / 1.118 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/2.188, allocations: 7.938 kB / 1.118 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002076/2.19, allocations: 1.338 MB / 1.119 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/2.19, allocations: 8 kB / 1.119 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000913/2.191, allocations: 402.3 kB / 1.12 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006912/2.192, allocations: 191.7 kB / 1.12 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/2.193, allocations: 2.81 MB / 1.123 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000928/2.194, allocations: 52.06 kB / 1.123 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/2.195, allocations: 43.98 kB / 1.123 GB, free: 10.46 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.0002843/2.195, allocations: 168.6 kB / 1.123 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/2.195, allocations: 98.78 kB / 1.123 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/2.197, allocations: 1.383 MB / 1.124 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/2.197, allocations: 8.125 kB / 1.124 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/2.197, allocations: 4 kB / 1.124 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/2.197, allocations: 11.94 kB / 1.124 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/2.201, allocations: 2.33 MB / 1.127 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/2.201, allocations: 0 / 1.127 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/2.201, allocations: 99.94 kB / 1.127 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/2.203, allocations: 0.4903 MB / 1.127 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/2.203, allocations: 23.98 kB / 1.127 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/2.205, allocations: 2.908 MB / 1.13 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/2.205, allocations: 4.031 kB / 1.13 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/2.207, allocations: 1.761 MB / 1.132 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006501/2.207, allocations: 311.7 kB / 1.132 GB, free: 464 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/2.208, allocations: 12 kB / 1.132 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008019/2.208, allocations: 44.03 kB / 1.132 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/2.209, allocations: 60.42 kB / 1.132 GB, free: 344 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-05/2.209, allocations: 28.17 kB / 1.132 GB, free: 316 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.3709/2.58, allocations: 0.6437 MB / 1.133 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.964e-06/2.58, allocations: 5.125 kB / 1.133 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005892/2.586, allocations: 0.8897 MB / 1.134 GB, free: 110.2 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.01211/2.598, allocations: 3.187 MB / 1.137 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008862/2.607, allocations: 1.915 MB / 1.139 GB, free: 109 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/2.607, allocations: 1.312 kB / 1.139 GB, free: 109 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002411/2.609, allocations: 0.569 MB / 1.139 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004263/2.614, allocations: 394.1 kB / 1.14 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/2.624, allocations: 1.928 MB / 1.142 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/2.625, allocations: 1.085 MB / 1.143 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003719/2.629, allocations: 0.4954 MB / 1.143 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009185/2.63, allocations: 336.8 kB / 1.143 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.403e-06/2.63, allocations: 2.438 kB / 1.143 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/2.74, allocations: 39.43 MB / 1.182 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/2.741, allocations: 252.4 kB / 1.182 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.389/6.13, allocations: 0 / 1.182 GB, free: 106.3 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