Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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.TestInitialization,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",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.01034/0.01034, allocations: 176.1 kB / 15.12 MB, free: 5.984 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.104/2.104, allocations: 194.5 MB / 210.3 MB, free: 7.602 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.001996/0.001996, allocations: 112.7 kB / 255.6 MB, free: 10.23 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.2876/0.2876, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005047/0.0005046, allocations: 10.34 kB / 406.3 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 54.87 MB / 461.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.252/1.356, allocations: 401.8 MB / 0.8427 GB, free: 58.33 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/1.356, allocations: 91.27 kB / 0.8428 GB, free: 58.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.065/2.421, allocations: 191.5 MB / 1.03 GB, free: 74.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.765e-06/2.421, allocations: 0 / 1.03 GB, free: 74.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001027/2.421, allocations: 20 kB / 1.03 GB, free: 74.85 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.005711/2.427, allocations: 1.468 MB / 1.031 GB, free: 73.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/2.427, allocations: 12.02 kB / 1.031 GB, free: 73.31 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00055/2.428, allocations: 122.5 kB / 1.031 GB, free: 73.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006419/2.428, allocations: 114.8 kB / 1.031 GB, free: 73.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/2.431, allocations: 0.8003 MB / 1.032 GB, free: 72.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/2.431, allocations: 116.7 kB / 1.032 GB, free: 72.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/2.432, allocations: 59.98 kB / 1.032 GB, free: 72.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/2.435, allocations: 1.21 MB / 1.034 GB, free: 70.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/2.435, allocations: 0 / 1.034 GB, free: 70.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/2.435, allocations: 31.98 kB / 1.034 GB, free: 70.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/2.435, allocations: 69.95 kB / 1.034 GB, free: 70.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/2.438, allocations: 1.187 MB / 1.035 GB, free: 69.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/2.451, allocations: 4.778 MB / 1.04 GB, free: 64.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/2.454, allocations: 0.6571 MB / 1.04 GB, free: 63.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00648/2.461, allocations: 2.459 MB / 1.043 GB, free: 61.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/2.461, allocations: 39 kB / 1.043 GB, free: 61.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 4.097e-06/2.461, allocations: 0 / 1.043 GB, free: 61.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=56): time 0.01577/2.477, allocations: 2.91 MB / 1.045 GB, free: 58.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/2.477, allocations: 158.8 kB / 1.046 GB, free: 57.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/2.479, allocations: 0.7737 MB / 1.046 GB, free: 57.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002558/2.479, allocations: 37.7 kB / 1.046 GB, free: 57.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004872/2.479, allocations: 490.6 kB / 1.047 GB, free: 56.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/2.48, allocations: 201.2 kB / 1.047 GB, free: 56.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/2.48, allocations: 20 kB / 1.047 GB, free: 56.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/2.48, allocations: 398.7 kB / 1.047 GB, free: 55.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/2.482, allocations: 429.7 kB / 1.048 GB, free: 55.51 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/2.484, allocations: 0.7286 MB / 1.049 GB, free: 54.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/2.486, allocations: 0.5067 MB / 1.049 GB, free: 54.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/2.486, allocations: 4 kB / 1.049 GB, free: 54.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005912/2.492, allocations: 1.499 MB / 1.051 GB, free: 52.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009966/2.493, allocations: 3.578 MB / 1.054 GB, free: 48.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/2.493, allocations: 11.94 kB / 1.054 GB, free: 48.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003442/2.496, allocations: 0.5099 MB / 1.055 GB, free: 48.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/2.499, allocations: 195.7 kB / 1.055 GB, free: 48.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004261/2.503, allocations: 2.923 MB / 1.058 GB, free: 44.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/2.505, allocations: 63.84 kB / 1.058 GB, free: 44.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002572/2.505, allocations: 51.98 kB / 1.058 GB, free: 44.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/2.506, allocations: 4.188 kB / 1.058 GB, free: 44.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004984/2.511, allocations: 1.3 MB / 1.059 GB, free: 43.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.834e-05/2.511, allocations: 8 kB / 1.059 GB, free: 43.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/2.513, allocations: 318.6 kB / 1.059 GB, free: 43.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/2.515, allocations: 199.6 kB / 1.059 GB, free: 42.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/2.518, allocations: 2.697 MB / 1.062 GB, free: 40.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/2.52, allocations: 51.97 kB / 1.062 GB, free: 40.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/2.52, allocations: 52.17 kB / 1.062 GB, free: 39.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.00103/2.521, allocations: 376.6 kB / 1.063 GB, free: 39.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/2.521, allocations: 98.84 kB / 1.063 GB, free: 39.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005181/2.527, allocations: 1.355 MB / 1.064 GB, free: 38.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/2.527, allocations: 8 kB / 1.064 GB, free: 38.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/2.527, allocations: 0 / 1.064 GB, free: 38.08 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/2.527, allocations: 3.984 kB / 1.064 GB, free: 38.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008007/2.535, allocations: 2.314 MB / 1.066 GB, free: 35.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/2.535, allocations: 7.938 kB / 1.066 GB, free: 35.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009188/2.536, allocations: 91.88 kB / 1.066 GB, free: 35.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002535/2.538, allocations: 0.4982 MB / 1.067 GB, free: 35.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/2.539, allocations: 19.98 kB / 1.067 GB, free: 35.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003082/2.542, allocations: 2.92 MB / 1.07 GB, free: 31.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/2.542, allocations: 8.094 kB / 1.07 GB, free: 31.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/2.546, allocations: 1.761 MB / 1.071 GB, free: 30.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007941/2.547, allocations: 291.7 kB / 1.072 GB, free: 29.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/2.547, allocations: 15.98 kB / 1.072 GB, free: 29.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/2.548, allocations: 39.91 kB / 1.072 GB, free: 29.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/2.549, allocations: 60.53 kB / 1.072 GB, free: 29.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/2.549, allocations: 23.98 kB / 1.072 GB, free: 29.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001245/2.55, allocations: 0.5888 MB / 1.072 GB, free: 29.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/2.55, allocations: 3.938 kB / 1.072 GB, free: 29.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004424/2.554, allocations: 0.8625 MB / 1.073 GB, free: 28.22 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007735/2.562, allocations: 3.167 MB / 1.076 GB, free: 24.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006115/2.568, allocations: 1.902 MB / 1.078 GB, free: 23.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/2.568, allocations: 0 / 1.078 GB, free: 23.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/2.57, allocations: 0.5758 MB / 1.079 GB, free: 22.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/2.573, allocations: 338.6 kB / 1.079 GB, free: 22.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/2.583, allocations: 9.475 MB / 1.088 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/2.584, allocations: 1.078 MB / 1.089 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002452/2.587, allocations: 419.5 kB / 1.09 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007643/2.587, allocations: 343.3 kB / 1.09 GB, free: 10.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.553e-06/2.587, allocations: 0 / 1.09 GB, free: 10.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5146/3.102, allocations: 35.14 MB / 1.124 GB, free: 101.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002955/3.102, allocations: 263.2 kB / 1.125 GB, free: 100.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.12/7.222, allocations: 0 / 1.125 GB, free: 100.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat