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.001261/0.001261, allocations: 183.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008887/0.0008887, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2218/0.2218, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003052, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1144, allocations: 58.85 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8628/0.9772, allocations: 406.9 MB / 0.8762 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.9775, allocations: 91.27 kB / 0.8763 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6177/1.595, allocations: 193.4 MB / 1.065 GB, free: 25.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.874e-06/1.595, allocations: 0 / 1.065 GB, free: 25.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.522e-05/1.595, allocations: 24 kB / 1.065 GB, free: 25.64 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.003344/1.599, allocations: 1.476 MB / 1.067 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/1.599, allocations: 8.031 kB / 1.067 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/1.599, allocations: 122.5 kB / 1.067 GB, free: 23.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003605/1.599, allocations: 114.8 kB / 1.067 GB, free: 23.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/1.601, allocations: 0.7958 MB / 1.068 GB, free: 23.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-05/1.601, allocations: 120.6 kB / 1.068 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/1.601, allocations: 63.98 kB / 1.068 GB, free: 22.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/1.603, allocations: 1.203 MB / 1.069 GB, free: 21.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/1.603, allocations: 4 kB / 1.069 GB, free: 21.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.832e-05/1.603, allocations: 31.97 kB / 1.069 GB, free: 21.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.818e-05/1.603, allocations: 69.95 kB / 1.069 GB, free: 21.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/1.605, allocations: 1.191 MB / 1.07 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007116/1.612, allocations: 4.736 MB / 1.075 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/1.613, allocations: 0.6724 MB / 1.075 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003046/1.616, allocations: 2.442 MB / 1.078 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/1.616, allocations: 39 kB / 1.078 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=52): time 1.984e-06/1.616, allocations: 4 kB / 1.078 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.00613/1.622, allocations: 3.015 MB / 1.081 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/1.622, allocations: 162.8 kB / 1.081 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009213/1.623, allocations: 0.8326 MB / 1.082 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.588e-05/1.623, allocations: 37.7 kB / 1.082 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/1.623, allocations: 455.3 kB / 1.082 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/1.623, allocations: 205.1 kB / 1.082 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/1.624, allocations: 24 kB / 1.082 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/1.624, allocations: 338 kB / 1.083 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005853/1.624, allocations: 445.7 kB / 1.083 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/1.625, allocations: 0.6778 MB / 1.084 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006777/1.626, allocations: 0.5105 MB / 1.084 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.626, allocations: 4 kB / 1.084 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002037/1.628, allocations: 1.515 MB / 1.086 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003895/1.628, allocations: 2.445 MB / 1.088 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/1.628, allocations: 8 kB / 1.088 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/1.63, allocations: 0.5138 MB / 1.089 GB, free: 268 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/1.63, allocations: 179.7 kB / 1.089 GB, free: 88 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2669/1.897, allocations: 2.934 MB / 1.092 GB, free: 93.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/1.899, allocations: 57.53 kB / 1.092 GB, free: 93.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/1.899, allocations: 46.42 kB / 1.092 GB, free: 93.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.9, allocations: 11.22 kB / 1.092 GB, free: 93.96 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003489/1.903, allocations: 1.366 MB / 1.093 GB, free: 93.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/1.903, allocations: 6.438 kB / 1.093 GB, free: 93.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/1.904, allocations: 406.4 kB / 1.094 GB, free: 93.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/1.905, allocations: 185.6 kB / 1.094 GB, free: 93.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/1.908, allocations: 2.829 MB / 1.097 GB, free: 91.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/1.909, allocations: 57.47 kB / 1.097 GB, free: 91.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/1.909, allocations: 41.61 kB / 1.097 GB, free: 91.54 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 () * 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.0008514/1.91, allocations: 374.7 kB / 1.097 GB, free: 91.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/1.91, allocations: 96.84 kB / 1.097 GB, free: 91.35 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/1.913, allocations: 1.404 MB / 1.099 GB, free: 91.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/1.913, allocations: 7.844 kB / 1.099 GB, free: 91.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/1.913, allocations: 0 / 1.099 GB, free: 91.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.913, allocations: 10.42 kB / 1.099 GB, free: 91.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/1.916, allocations: 2.346 MB / 1.101 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.916, allocations: 6.844 kB / 1.101 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/1.917, allocations: 88.14 kB / 1.101 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001618/1.918, allocations: 0.5147 MB / 1.101 GB, free: 90.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/1.919, allocations: 18.14 kB / 1.101 GB, free: 90.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/1.921, allocations: 2.919 MB / 1.104 GB, free: 88.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.921, allocations: 0 / 1.104 GB, free: 88.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/1.923, allocations: 1.787 MB / 1.106 GB, free: 88.08 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/1.924, allocations: 305.8 kB / 1.106 GB, free: 87.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/1.924, allocations: 19.23 kB / 1.106 GB, free: 87.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/1.925, allocations: 44.8 kB / 1.106 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.925, allocations: 55.94 kB / 1.106 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.98e-05/1.925, allocations: 28.78 kB / 1.106 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001022/1.926, allocations: 0.6607 MB / 1.107 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.283e-06/1.926, allocations: 2.656 kB / 1.107 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003004/1.929, allocations: 0.8944 MB / 1.108 GB, free: 87.82 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 () * 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.00511/1.934, allocations: 3.198 MB / 1.111 GB, free: 86.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003981/1.938, allocations: 1.914 MB / 1.113 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.938, allocations: 0 / 1.113 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/1.939, allocations: 0.5819 MB / 1.114 GB, free: 86.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.941, allocations: 389.9 kB / 1.114 GB, free: 86.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00684/1.948, allocations: 7.392 MB / 1.121 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007327/1.949, allocations: 1.079 MB / 1.122 GB, free: 80.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001623/1.951, allocations: 430.7 kB / 1.123 GB, free: 80.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/1.951, allocations: 349 kB / 1.123 GB, free: 80.21 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/1.951, allocations: 0 / 1.123 GB, free: 80.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06018/2.011, allocations: 37.69 MB / 1.16 GB, free: 78.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/2.011, allocations: 271 kB / 1.16 GB, free: 78.36 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.271/5.282, allocations: 0 / 1.16 GB, free: 78.36 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