Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.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.TestSimpleTank,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",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.002611/0.002611, allocations: 183.7 kB / 15.76 MB, free: 6.363 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.555/1.555, 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.000991/0.0009911, allocations: 90.88 kB / 270.2 MB, free: 13.37 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.2359/0.2359, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9658/1.096, allocations: 335.7 MB / 0.8067 GB, free: 84.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.097, allocations: 88.89 kB / 0.8068 GB, free: 84.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6555/1.752, allocations: 143.5 MB / 0.9469 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.954e-06/1.752, allocations: 0 / 0.9469 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001482/1.752, allocations: 22.5 kB / 0.9469 GB, free: 130.9 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004595/1.757, allocations: 1.283 MB / 0.9482 GB, free: 130 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/1.757, allocations: 11.84 kB / 0.9482 GB, free: 130 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005782/1.758, allocations: 108.6 kB / 0.9483 GB, free: 130 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007984/1.758, allocations: 110.7 kB / 0.9484 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/1.76, allocations: 0.6775 MB / 0.9491 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/1.761, allocations: 112 kB / 0.9492 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/1.761, allocations: 55.44 kB / 0.9492 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/1.763, allocations: 1.027 MB / 0.9502 GB, free: 129 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/1.763, allocations: 3.906 kB / 0.9502 GB, free: 129 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/1.763, allocations: 27.08 kB / 0.9503 GB, free: 129 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/1.763, allocations: 57.72 kB / 0.9503 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/1.765, allocations: 0.9165 MB / 0.9512 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007098/1.772, allocations: 4.017 MB / 0.9551 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/1.773, allocations: 0.6522 MB / 0.9558 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003573/1.777, allocations: 2.368 MB / 0.9581 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007908/1.777, allocations: 0.5085 MB / 0.9586 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.136e-06/1.777, allocations: 2.312 kB / 0.9586 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.006856/1.784, allocations: 2.794 MB / 0.9613 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/1.785, allocations: 238.6 kB / 0.9615 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/1.786, allocations: 0.7411 MB / 0.9623 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/1.787, allocations: 40.23 kB / 0.9623 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005114/1.787, allocations: 423.7 kB / 0.9627 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/1.787, allocations: 183.9 kB / 0.9629 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/1.787, allocations: 15.72 kB / 0.9629 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.788, allocations: 340 kB / 0.9632 GB, free: 121 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006273/1.788, allocations: 365.3 kB / 0.9636 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007616/1.789, allocations: 0.609 MB / 0.9642 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/1.79, allocations: 466.4 kB / 0.9646 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.79, allocations: 0 / 0.9646 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002332/1.792, allocations: 1.297 MB / 0.9659 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007886/1.793, allocations: 2.467 MB / 0.9683 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/1.793, allocations: 6.625 kB / 0.9683 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/1.794, allocations: 343.9 kB / 0.9686 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/1.795, allocations: 148.6 kB / 0.9688 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/1.796, allocations: 1.439 MB / 0.9702 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009957/1.797, allocations: 53.53 kB / 0.9702 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/1.797, allocations: 42.16 kB / 0.9703 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/1.797, allocations: 3.719 kB / 0.9703 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002068/1.799, allocations: 1.199 MB / 0.9714 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/1.799, allocations: 7.875 kB / 0.9714 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007582/1.8, allocations: 326.9 kB / 0.9717 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/1.801, allocations: 154.5 kB / 0.9719 GB, free: 115 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/1.802, allocations: 1.413 MB / 0.9733 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009658/1.803, allocations: 57.25 kB / 0.9733 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/1.803, allocations: 39.61 kB / 0.9734 GB, free: 113.5 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: 11 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007062/1.804, allocations: 395.3 kB / 0.9737 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/1.804, allocations: 98.88 kB / 0.9738 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/1.806, allocations: 1.127 MB / 0.9749 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.806, allocations: 8 kB / 0.9749 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.806, allocations: 3.953 kB / 0.9749 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/1.806, allocations: 3.938 kB / 0.975 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/1.81, allocations: 1.993 MB / 0.9769 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.81, allocations: 0 / 0.9769 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/1.81, allocations: 81.81 kB / 0.977 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009147/1.811, allocations: 347 kB / 0.9773 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/1.811, allocations: 16 kB / 0.9773 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/1.812, allocations: 1.43 MB / 0.9787 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.812, allocations: 0 / 0.9787 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/1.814, allocations: 1.623 MB / 0.9803 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006772/1.815, allocations: 270 kB / 0.9806 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/1.815, allocations: 16 kB / 0.9806 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/1.816, allocations: 51.61 kB / 0.9806 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/1.816, allocations: 50.94 kB / 0.9807 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.481e-05/1.817, allocations: 30.84 kB / 0.9807 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009381/1.817, allocations: 0.5793 MB / 0.9813 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.817, allocations: 4 kB / 0.9813 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002716/1.82, allocations: 0.69 MB / 0.9819 GB, free: 105.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004748/1.825, allocations: 2.619 MB / 0.9845 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003139/1.828, allocations: 1.535 MB / 0.986 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/1.828, allocations: 0 / 0.986 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009632/1.829, allocations: 0.4887 MB / 0.9865 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/1.831, allocations: 325 kB / 0.9868 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00725/1.838, allocations: 7.005 MB / 0.9936 GB, free: 94.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/1.839, allocations: 1.033 MB / 0.9946 GB, free: 93.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001308/1.84, allocations: 308.8 kB / 0.9949 GB, free: 92.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/1.841, allocations: 299.3 kB / 0.9952 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of SimCode: time 1.593e-06/1.841, allocations: 4 kB / 0.9952 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0613/1.902, allocations: 30.04 MB / 1.025 GB, free: 62.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/1.903, allocations: 262.8 kB / 1.025 GB, free: 62.26 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.377/5.279, allocations: 7.875 kB / 1.025 GB, free: 62.25 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank_res.mat does not exist to compare? outputFormat=mat