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.001741/0.001741, allocations: 183 kB / 13.19 MB, free: 2.129 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.931/1.931, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009021/0.0009024, allocations: 84.52 kB / 267 MB, free: 9.285 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.4994/0.4994, allocations: 43.47 MB / 358.6 MB, free: 51.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.135e-05, allocations: 0 / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1803, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/1.459, allocations: 335.6 MB / 0.8006 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/1.46, allocations: 83.52 kB / 0.8007 GB, free: 74.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7915/2.251, allocations: 143.1 MB / 0.9404 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.904e-06/2.252, allocations: 0 / 0.9404 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000154/2.252, allocations: 23.44 kB / 0.9404 GB, free: 110.2 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.00521/2.257, allocations: 1.183 MB / 0.9416 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.254e-05/2.257, allocations: 11.66 kB / 0.9416 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007101/2.258, allocations: 107.7 kB / 0.9417 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/2.259, allocations: 108.9 kB / 0.9418 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/2.262, allocations: 0.6826 MB / 0.9425 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/2.262, allocations: 112.5 kB / 0.9426 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003962/2.262, allocations: 50.56 kB / 0.9426 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/2.265, allocations: 1.015 MB / 0.9436 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/2.265, allocations: 3.938 kB / 0.9436 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.926e-05/2.265, allocations: 28 kB / 0.9437 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.134e-05/2.265, allocations: 47.77 kB / 0.9437 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/2.266, allocations: 0.9008 MB / 0.9446 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006404/2.273, allocations: 4.026 MB / 0.9485 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009662/2.274, allocations: 0.6386 MB / 0.9491 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000518/2.274, allocations: 411.1 kB / 0.9495 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003203/2.277, allocations: 2.431 MB / 0.9519 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007359/2.278, allocations: 0.5031 MB / 0.9524 GB, free: 103 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.095e-06/2.278, allocations: 0 / 0.9524 GB, free: 103 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.004342/2.283, allocations: 2.128 MB / 0.9545 GB, free: 102 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/2.283, allocations: 247.5 kB / 0.9547 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/2.284, allocations: 0.7423 MB / 0.9554 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.094e-05/2.284, allocations: 33.55 kB / 0.9555 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/2.285, allocations: 421.7 kB / 0.9559 GB, free: 101 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/2.285, allocations: 174.5 kB / 0.956 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/2.285, allocations: 15.84 kB / 0.9561 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001127/2.285, allocations: 336.2 kB / 0.9564 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/2.286, allocations: 364.5 kB / 0.9567 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007919/2.286, allocations: 0.6041 MB / 0.9573 GB, free: 100 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007558/2.287, allocations: 455 kB / 0.9577 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/2.287, allocations: 3.906 kB / 0.9578 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002386/2.29, allocations: 1.276 MB / 0.959 GB, free: 99.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007986/2.29, allocations: 2.475 MB / 0.9614 GB, free: 96.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/2.291, allocations: 7.594 kB / 0.9614 GB, free: 96.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/2.292, allocations: 339.4 kB / 0.9617 GB, free: 96.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/2.292, allocations: 147 kB / 0.9619 GB, free: 96.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/2.293, allocations: 1.439 MB / 0.9633 GB, free: 95.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009611/2.294, allocations: 50.55 kB / 0.9633 GB, free: 95.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/2.295, allocations: 41.81 kB / 0.9634 GB, free: 95.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/2.295, allocations: 4.688 kB / 0.9634 GB, free: 95.38 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001981/2.297, allocations: 1.19 MB / 0.9645 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/2.297, allocations: 6.469 kB / 0.9646 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007171/2.297, allocations: 325.4 kB / 0.9649 GB, free: 94.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/2.298, allocations: 156 kB / 0.965 GB, free: 94.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/2.299, allocations: 1.421 MB / 0.9664 GB, free: 93.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008924/2.3, allocations: 52.66 kB / 0.9664 GB, free: 93.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/2.3, allocations: 35.95 kB / 0.9665 GB, free: 93.64 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.0003382/2.3, allocations: 199.7 kB / 0.9667 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/2.301, allocations: 89.59 kB / 0.9668 GB, free: 93.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/2.303, allocations: 1.117 MB / 0.9679 GB, free: 92.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/2.303, allocations: 11.16 kB / 0.9679 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/2.303, allocations: 3.953 kB / 0.9679 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/2.303, allocations: 3.844 kB / 0.9679 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/2.306, allocations: 1.973 MB / 0.9698 GB, free: 92.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/2.306, allocations: 3.75 kB / 0.9698 GB, free: 92.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/2.307, allocations: 80.06 kB / 0.9699 GB, free: 92.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008911/2.308, allocations: 338.6 kB / 0.9702 GB, free: 92.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/2.308, allocations: 15.12 kB / 0.9702 GB, free: 92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/2.309, allocations: 1.433 MB / 0.9716 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/2.309, allocations: 0 / 0.9716 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/2.311, allocations: 1.606 MB / 0.9732 GB, free: 90.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000656/2.312, allocations: 269.3 kB / 0.9734 GB, free: 89.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/2.312, allocations: 15.58 kB / 0.9735 GB, free: 89.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007444/2.313, allocations: 49.19 kB / 0.9735 GB, free: 89.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/2.313, allocations: 50.39 kB / 0.9735 GB, free: 89.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/2.313, allocations: 38.92 kB / 0.9736 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009983/2.314, allocations: 0.562 MB / 0.9741 GB, free: 89.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/2.314, allocations: 0 / 0.9741 GB, free: 89.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00305/2.317, allocations: 0.6895 MB / 0.9748 GB, free: 89.52 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,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005006/2.322, allocations: 2.604 MB / 0.9773 GB, free: 88.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003214/2.325, allocations: 1.541 MB / 0.9789 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/2.325, allocations: 0.875 kB / 0.9789 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009713/2.326, allocations: 0.4906 MB / 0.9793 GB, free: 87.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/2.329, allocations: 318.5 kB / 0.9796 GB, free: 87.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005451/2.334, allocations: 1.657 MB / 0.9813 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/2.335, allocations: 1.03 MB / 0.9823 GB, free: 85.76 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001665/2.336, allocations: 398.7 kB / 0.9826 GB, free: 85.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004767/2.337, allocations: 293 kB / 0.9829 GB, free: 85.47 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/2.337, allocations: 3.406 kB / 0.9829 GB, free: 85.47 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07595/2.413, allocations: 31.64 MB / 1.014 GB, free: 59.54 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/2.413, allocations: 233.8 kB / 1.014 GB, free: 59.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.727/6.141, allocations: 0 / 1.014 GB, free: 59.27 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