Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01438/0.01438, allocations: 175.9 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.113/2.113, allocations: 194.5 MB / 210.3 MB, free: 8.586 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002034/0.002034, allocations: 116.6 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3297/0.3297, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000651/0.0006511, allocations: 11.62 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1242, allocations: 54.88 MB / 461.1 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.262, allocations: 330.3 MB / 0.7729 GB, free: 117.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/1.262, allocations: 87.77 kB / 0.773 GB, free: 117.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8322/2.095, allocations: 142 MB / 0.9117 GB, free: 118.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.726e-06/2.095, allocations: 0 / 0.9117 GB, free: 118.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001099/2.095, allocations: 19.52 kB / 0.9117 GB, free: 118.7 MB / 490.7 MB 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.004885/2.1, allocations: 1.286 MB / 0.913 GB, free: 118 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/2.1, allocations: 10.94 kB / 0.913 GB, free: 118 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004966/2.1, allocations: 107.7 kB / 0.9131 GB, free: 118 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006608/2.101, allocations: 108.4 kB / 0.9132 GB, free: 117.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/2.104, allocations: 0.7146 MB / 0.9139 GB, free: 117.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/2.104, allocations: 107 kB / 0.914 GB, free: 117.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/2.104, allocations: 55.75 kB / 0.914 GB, free: 117.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/2.107, allocations: 1.016 MB / 0.915 GB, free: 117.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/2.107, allocations: 1.125 kB / 0.915 GB, free: 117.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/2.107, allocations: 29.28 kB / 0.9151 GB, free: 117.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/2.107, allocations: 54.81 kB / 0.9151 GB, free: 117.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/2.11, allocations: 0.9072 MB / 0.916 GB, free: 117.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/2.121, allocations: 4.009 MB / 0.9199 GB, free: 115.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/2.123, allocations: 0.627 MB / 0.9205 GB, free: 115.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005033/2.128, allocations: 2.317 MB / 0.9228 GB, free: 114.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/2.129, allocations: 443.1 kB / 0.9232 GB, free: 114.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 3.256e-06/2.129, allocations: 4.234 kB / 0.9232 GB, free: 114.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.009616/2.138, allocations: 2.602 MB / 0.9258 GB, free: 113.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/2.139, allocations: 165.6 kB / 0.9259 GB, free: 113.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/2.14, allocations: 0.6933 MB / 0.9266 GB, free: 113.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/2.14, allocations: 37.45 kB / 0.9266 GB, free: 113.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/2.141, allocations: 439.1 kB / 0.9271 GB, free: 112.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/2.141, allocations: 174.8 kB / 0.9272 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/2.141, allocations: 19.5 kB / 0.9272 GB, free: 112.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/2.141, allocations: 400 kB / 0.9276 GB, free: 112.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009438/2.142, allocations: 361.2 kB / 0.928 GB, free: 112.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/2.143, allocations: 0.6289 MB / 0.9286 GB, free: 112.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/2.144, allocations: 470 kB / 0.929 GB, free: 112.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.495e-06/2.144, allocations: 0 / 0.929 GB, free: 112.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0037/2.148, allocations: 1.242 MB / 0.9302 GB, free: 111.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001224/2.149, allocations: 3.434 MB / 0.9336 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.705e-05/2.149, allocations: 10.72 kB / 0.9336 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/2.151, allocations: 345.6 kB / 0.9339 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/2.152, allocations: 159.4 kB / 0.9341 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/2.154, allocations: 1.44 MB / 0.9355 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/2.155, allocations: 50.58 kB / 0.9355 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/2.156, allocations: 48.22 kB / 0.9356 GB, free: 107.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/2.156, allocations: 3.531 kB / 0.9356 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002822/2.158, allocations: 1.08 MB / 0.9366 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/2.159, allocations: 13.94 kB / 0.9367 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/2.16, allocations: 266 kB / 0.9369 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/2.161, allocations: 155.4 kB / 0.9371 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/2.163, allocations: 2.353 MB / 0.9394 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/2.165, allocations: 53.86 kB / 0.9394 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/2.165, allocations: 41.8 kB / 0.9394 GB, free: 105.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (89): * Single equations (assignments): 86 * 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.000822/2.166, allocations: 401.3 kB / 0.9398 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/2.166, allocations: 85.75 kB / 0.9399 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/2.169, allocations: 1.051 MB / 0.9409 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/2.169, allocations: 3.875 kB / 0.9409 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/2.169, allocations: 3.953 kB / 0.9409 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/2.169, allocations: 3.656 kB / 0.9409 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/2.174, allocations: 1.854 MB / 0.9428 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/2.174, allocations: 0 / 0.9428 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007473/2.175, allocations: 76.8 kB / 0.9428 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/2.176, allocations: 343.6 kB / 0.9432 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/2.176, allocations: 17.06 kB / 0.9432 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/2.178, allocations: 1.425 MB / 0.9446 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/2.178, allocations: 3.969 kB / 0.9446 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003768/2.182, allocations: 1.502 MB / 0.946 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007612/2.183, allocations: 246.8 kB / 0.9463 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/2.183, allocations: 19.34 kB / 0.9463 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009912/2.184, allocations: 43.19 kB / 0.9463 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/2.184, allocations: 47.17 kB / 0.9464 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/2.184, allocations: 28.64 kB / 0.9464 GB, free: 103.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001002/2.185, allocations: 0.5226 MB / 0.9469 GB, free: 103.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.185, allocations: 0 / 0.9469 GB, free: 103.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003125/2.188, allocations: 0.6686 MB / 0.9476 GB, free: 103 MB / 490.7 MB 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 (42): * Single equations (assignments): 39 * 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.005661/2.194, allocations: 2.496 MB / 0.95 GB, free: 102.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004658/2.199, allocations: 1.619 MB / 0.9516 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/2.199, allocations: 6.594 kB / 0.9516 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001628/2.2, allocations: 481 kB / 0.9521 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/2.203, allocations: 276.4 kB / 0.9523 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009013/2.212, allocations: 8.733 MB / 0.9608 GB, free: 94.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/2.213, allocations: 1.027 MB / 0.9618 GB, free: 93.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001854/2.215, allocations: 308.2 kB / 0.9621 GB, free: 93.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006228/2.215, allocations: 291.9 kB / 0.9624 GB, free: 93.88 MB / 490.7 MB Notification: Performance of SimCode: time 1.282e-06/2.215, allocations: 3.906 kB / 0.9624 GB, free: 93.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07759/2.293, allocations: 27.37 MB / 0.9891 GB, free: 92.56 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/2.293, allocations: 259 kB / 0.9894 GB, free: 92.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.154/6.447, allocations: 0 / 0.9894 GB, free: 92.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank_res.mat does not exist to compare? outputFormat=mat