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.001682/0.001682, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009364/0.0009365, allocations: 82.69 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2605/0.2605, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.962e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1527, allocations: 58.87 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/1.355, allocations: 334.9 MB / 0.7931 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003876/1.355, allocations: 92.12 kB / 0.7932 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7463/2.102, allocations: 141.9 MB / 0.9317 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.467e-06/2.102, allocations: 0 / 0.9317 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.047e-05/2.102, allocations: 18.97 kB / 0.9318 GB, free: 125.5 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.003644/2.106, allocations: 1.183 MB / 0.9329 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.607e-05/2.106, allocations: 8.688 kB / 0.9329 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/2.106, allocations: 105.8 kB / 0.933 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/2.108, allocations: 0.677 MB / 0.9337 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/2.108, allocations: 91.11 kB / 0.9338 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/2.108, allocations: 36.06 kB / 0.9338 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00136/2.109, allocations: 0.8212 MB / 0.9346 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/2.111, allocations: 0.9462 MB / 0.9355 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/2.111, allocations: 0 / 0.9355 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.68e-05/2.111, allocations: 3.812 kB / 0.9355 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-05/2.111, allocations: 53.02 kB / 0.9356 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005891/2.117, allocations: 3.856 MB / 0.9394 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008935/2.118, allocations: 0.6236 MB / 0.94 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/2.118, allocations: 388.4 kB / 0.9403 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003178/2.121, allocations: 2.37 MB / 0.9427 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007234/2.122, allocations: 488.1 kB / 0.9431 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.954e-06/2.122, allocations: 2.156 kB / 0.9431 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.006896/2.129, allocations: 2.53 MB / 0.9456 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/2.129, allocations: 240.1 kB / 0.9458 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007673/2.13, allocations: 0.5518 MB / 0.9464 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/2.13, allocations: 28.89 kB / 0.9464 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/2.13, allocations: 431.8 kB / 0.9468 GB, free: 120 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/2.131, allocations: 176.7 kB / 0.947 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/2.131, allocations: 3.844 kB / 0.947 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001938/2.131, allocations: 382 kB / 0.9473 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/2.131, allocations: 353.6 kB / 0.9477 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00075/2.132, allocations: 0.5818 MB / 0.9482 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004155/2.136, allocations: 1.031 MB / 0.9492 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-05/2.136, allocations: 0 / 0.9492 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.005816/2.142, allocations: 1.806 MB / 0.951 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001281/2.143, allocations: 2.473 MB / 0.9534 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/2.143, allocations: 6.812 kB / 0.9534 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009513/2.144, allocations: 314.2 kB / 0.9537 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/2.145, allocations: 143.9 kB / 0.9539 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/2.147, allocations: 1.626 MB / 0.9555 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009819/2.148, allocations: 44.22 kB / 0.9555 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/2.149, allocations: 43.42 kB / 0.9555 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/2.149, allocations: 3.875 kB / 0.9555 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005656/2.154, allocations: 1.682 MB / 0.9572 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/2.154, allocations: 14.53 kB / 0.9572 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008411/2.155, allocations: 318.9 kB / 0.9575 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/2.156, allocations: 144.8 kB / 0.9576 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/2.158, allocations: 1.577 MB / 0.9592 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/2.159, allocations: 39.75 kB / 0.9592 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/2.159, allocations: 40.83 kB / 0.9593 GB, free: 114.4 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 () * 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.0005725/2.16, allocations: 166.9 kB / 0.9594 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003432/2.163, allocations: 1.124 MB / 0.9605 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003091/2.164, allocations: 77.34 kB / 0.9606 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/2.167, allocations: 1.229 MB / 0.9618 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/2.167, allocations: 7.438 kB / 0.9618 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/2.167, allocations: 0 / 0.9618 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/2.167, allocations: 3.75 kB / 0.9618 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004666/2.172, allocations: 2.026 MB / 0.9638 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/2.172, allocations: 3.281 kB / 0.9638 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/2.172, allocations: 84.72 kB / 0.9639 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007437/2.173, allocations: 317.5 kB / 0.9642 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/2.173, allocations: 12.34 kB / 0.9642 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/2.175, allocations: 1.599 MB / 0.9657 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/2.175, allocations: 3.188 kB / 0.9657 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/2.179, allocations: 1.706 MB / 0.9674 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006244/2.179, allocations: 244.7 kB / 0.9676 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/2.18, allocations: 6.562 kB / 0.9676 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008454/2.18, allocations: 39.95 kB / 0.9677 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/2.181, allocations: 51.03 kB / 0.9677 GB, free: 112 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.261e-05/2.181, allocations: 34.09 kB / 0.9678 GB, free: 112 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007438/2.181, allocations: 435 kB / 0.9682 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.783e-06/2.182, allocations: 3.812 kB / 0.9682 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003134/2.185, allocations: 0.638 MB / 0.9688 GB, free: 111.6 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) * 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,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006217/2.191, allocations: 2.704 MB / 0.9714 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003139/2.194, allocations: 1.476 MB / 0.9729 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/2.194, allocations: 2.406 kB / 0.9729 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008509/2.195, allocations: 470 kB / 0.9733 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/2.197, allocations: 266.7 kB / 0.9736 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006301/2.203, allocations: 1.582 MB / 0.9751 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/2.204, allocations: 1.03 MB / 0.9761 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001681/2.206, allocations: 333.5 kB / 0.9765 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005584/2.206, allocations: 279.6 kB / 0.9767 GB, free: 108 MB / 0.4948 GB Notification: Performance of SimCode: time 2.665e-06/2.207, allocations: 3.688 kB / 0.9767 GB, free: 108 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06704/2.274, allocations: 26.96 MB / 1.003 GB, free: 99.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/2.274, allocations: 182.9 kB / 1.003 GB, free: 99.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.407/5.681, allocations: 4 kB / 1.003 GB, free: 99.61 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