Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01017/0.01017, allocations: 165.9 kB / 15.11 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.663/1.663, allocations: 170.8 MB / 186.6 MB, free: 1.105 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001995/0.001994, allocations: 106.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5318/0.5318, allocations: 38.06 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005087, allocations: 12 kB / 363 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1134, allocations: 48.71 MB / 411.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.256, allocations: 323.9 MB / 0.7183 GB, free: 22.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004068/1.256, allocations: 87.45 kB / 0.7184 GB, free: 22.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8608/2.117, allocations: 141.9 MB / 0.857 GB, free: 55.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.136e-06/2.117, allocations: 3.938 kB / 0.857 GB, free: 55.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.104e-05/2.117, allocations: 20 kB / 0.857 GB, free: 55.23 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.004631/2.122, allocations: 1.283 MB / 0.8583 GB, free: 53.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/2.122, allocations: 8.031 kB / 0.8583 GB, free: 53.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005172/2.122, allocations: 114.5 kB / 0.8584 GB, free: 53.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000634/2.123, allocations: 106.9 kB / 0.8585 GB, free: 53.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/2.125, allocations: 0.7022 MB / 0.8592 GB, free: 52.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/2.126, allocations: 113.7 kB / 0.8593 GB, free: 52.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/2.126, allocations: 55.98 kB / 0.8594 GB, free: 52.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/2.128, allocations: 1.004 MB / 0.8603 GB, free: 51.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.106e-05/2.128, allocations: 7.891 kB / 0.8603 GB, free: 51.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/2.129, allocations: 31.98 kB / 0.8604 GB, free: 51.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/2.129, allocations: 49.28 kB / 0.8604 GB, free: 51.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/2.131, allocations: 0.899 MB / 0.8613 GB, free: 50.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009778/2.141, allocations: 3.993 MB / 0.8652 GB, free: 46.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/2.143, allocations: 0.6293 MB / 0.8658 GB, free: 45.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004881/2.148, allocations: 2.318 MB / 0.8681 GB, free: 43.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/2.149, allocations: 430.9 kB / 0.8685 GB, free: 42.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 3.987e-06/2.149, allocations: 0 / 0.8685 GB, free: 42.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=50): time 0.008936/2.158, allocations: 2.641 MB / 0.8711 GB, free: 40.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/2.158, allocations: 166.2 kB / 0.8712 GB, free: 39.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/2.159, allocations: 0.6834 MB / 0.8719 GB, free: 39.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002083/2.16, allocations: 37.7 kB / 0.8719 GB, free: 39.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/2.16, allocations: 439.2 kB / 0.8723 GB, free: 38.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/2.16, allocations: 173.6 kB / 0.8725 GB, free: 38.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.463e-05/2.16, allocations: 16 kB / 0.8725 GB, free: 38.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/2.16, allocations: 390.8 kB / 0.8729 GB, free: 38.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000955/2.161, allocations: 353.8 kB / 0.8732 GB, free: 37.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/2.163, allocations: 0.6315 MB / 0.8739 GB, free: 37.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/2.164, allocations: 459.5 kB / 0.8743 GB, free: 36.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/2.164, allocations: 0 / 0.8743 GB, free: 36.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003508/2.167, allocations: 1.286 MB / 0.8755 GB, free: 35.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007116/2.168, allocations: 3.435 MB / 0.8789 GB, free: 31.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/2.168, allocations: 8 kB / 0.8789 GB, free: 31.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/2.169, allocations: 349.4 kB / 0.8792 GB, free: 31.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/2.171, allocations: 159.7 kB / 0.8794 GB, free: 31.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/2.172, allocations: 1.436 MB / 0.8808 GB, free: 29.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/2.174, allocations: 52.09 kB / 0.8808 GB, free: 29.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/2.174, allocations: 43.98 kB / 0.8809 GB, free: 29.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/2.174, allocations: 4 kB / 0.8809 GB, free: 29.47 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002965/2.177, allocations: 1.125 MB / 0.882 GB, free: 28.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/2.177, allocations: 8 kB / 0.882 GB, free: 28.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/2.178, allocations: 261.8 kB / 0.8822 GB, free: 28.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/2.179, allocations: 159.7 kB / 0.8824 GB, free: 27.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/2.181, allocations: 2.355 MB / 0.8847 GB, free: 25.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/2.183, allocations: 51.88 kB / 0.8848 GB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/2.183, allocations: 52.12 kB / 0.8848 GB, free: 25.29 MB / 426.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: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent) * 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.0007363/2.183, allocations: 394.2 kB / 0.8852 GB, free: 24.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/2.184, allocations: 87.05 kB / 0.8853 GB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/2.187, allocations: 1.072 MB / 0.8863 GB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/2.187, allocations: 4 kB / 0.8863 GB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/2.187, allocations: 0 / 0.8863 GB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/2.187, allocations: 7.984 kB / 0.8863 GB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/2.191, allocations: 1.878 MB / 0.8882 GB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/2.191, allocations: 0 / 0.8882 GB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007079/2.192, allocations: 79.89 kB / 0.8882 GB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/2.193, allocations: 329.5 kB / 0.8885 GB, free: 21.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.263e-05/2.193, allocations: 19.98 kB / 0.8886 GB, free: 21.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/2.195, allocations: 1.428 MB / 0.89 GB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/2.195, allocations: 4.125 kB / 0.89 GB, free: 19.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/2.198, allocations: 1.535 MB / 0.8915 GB, free: 18.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/2.199, allocations: 248 kB / 0.8917 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/2.199, allocations: 12 kB / 0.8917 GB, free: 18.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008944/2.2, allocations: 43.94 kB / 0.8917 GB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/2.2, allocations: 48.36 kB / 0.8918 GB, free: 17.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.069e-05/2.2, allocations: 27.98 kB / 0.8918 GB, free: 17.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009122/2.201, allocations: 0.5224 MB / 0.8923 GB, free: 17.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.483e-06/2.201, allocations: 0 / 0.8923 GB, free: 17.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002677/2.204, allocations: 0.6556 MB / 0.893 GB, free: 16.71 MB / 426.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: 9 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent) * Number of discrete states: 5 (timeTable.last,timeTable.nextEvent,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.005466/2.21, allocations: 2.513 MB / 0.8954 GB, free: 14.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004088/2.214, allocations: 1.564 MB / 0.897 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/2.214, allocations: 4 kB / 0.897 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/2.215, allocations: 459.3 kB / 0.8974 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/2.217, allocations: 269.4 kB / 0.8977 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007599/2.225, allocations: 8.709 MB / 0.9062 GB, free: 2.914 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/2.225, allocations: 1.025 MB / 0.9072 GB, free: 1.863 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001796/2.227, allocations: 298.3 kB / 0.9074 GB, free: 1.566 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/2.228, allocations: 291.3 kB / 0.9077 GB, free: 1.285 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/2.228, allocations: 0 / 0.9077 GB, free: 1.285 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3783/2.606, allocations: 27.13 MB / 0.9342 GB, free: 81.15 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/2.606, allocations: 263.1 kB / 0.9345 GB, free: 80.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.548/6.154, allocations: 3.281 kB / 0.9345 GB, free: 80.79 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank_res.mat does not exist to compare? outputFormat=mat