Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.TestVolume,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",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.01523/0.01523, allocations: 165.2 kB / 15.11 MB, free: 5.984 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.818/1.818, allocations: 170.8 MB / 186.6 MB, free: 1.145 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.002596/0.002596, allocations: 110.5 kB / 226.2 MB, free: 10.11 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.441/0.441, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006776/0.0006776, allocations: 12 kB / 363 MB, free: 5.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1116, allocations: 48.71 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.855/7.967, allocations: 2.485 GB / 2.887 GB, free: 51.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/7.967, allocations: 88.39 kB / 2.887 GB, free: 51.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.811/9.778, allocations: 348.2 MB / 3.227 GB, free: 25.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.454e-06/9.778, allocations: 0 / 3.227 GB, free: 25.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.848e-05/9.778, allocations: 15 kB / 3.227 GB, free: 25.06 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.007447/9.785, allocations: 1.687 MB / 3.229 GB, free: 24.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/9.785, allocations: 7 kB / 3.229 GB, free: 24.02 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002309/9.786, allocations: 112 kB / 3.229 GB, free: 23.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004776/9.79, allocations: 400.5 kB / 3.23 GB, free: 23.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/9.792, allocations: 0.5907 MB / 3.23 GB, free: 23.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/9.792, allocations: 113 kB / 3.23 GB, free: 23.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/9.792, allocations: 58.09 kB / 3.23 GB, free: 23.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00389/9.796, allocations: 1.147 MB / 3.231 GB, free: 22.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/9.796, allocations: 3.875 kB / 3.231 GB, free: 22.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/9.796, allocations: 28.09 kB / 3.231 GB, free: 22.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.107e-05/9.796, allocations: 35.3 kB / 3.232 GB, free: 22.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004263/9.801, allocations: 1.078 MB / 3.233 GB, free: 22.64 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008462/9.809, allocations: 4.943 MB / 3.237 GB, free: 18.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003698/9.813, allocations: 0.84 MB / 3.238 GB, free: 18.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4283/10.24, allocations: 32.76 MB / 3.27 GB, free: 53.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/10.24, allocations: 44.95 kB / 3.27 GB, free: 53.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.026e-06/10.24, allocations: 0 / 3.27 GB, free: 53.11 MB / 442.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: Volume.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=59): time 0.04421/10.29, allocations: 5.429 MB / 3.276 GB, free: 52.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/10.29, allocations: 111.4 kB / 3.276 GB, free: 52.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008718/10.29, allocations: 492 kB / 3.276 GB, free: 52.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/10.29, allocations: 41.45 kB / 3.276 GB, free: 52.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/10.29, allocations: 355.8 kB / 3.277 GB, free: 51.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/10.29, allocations: 196.2 kB / 3.277 GB, free: 51.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/10.29, allocations: 13.69 kB / 3.277 GB, free: 51.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/10.29, allocations: 373.6 kB / 3.277 GB, free: 51.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/10.29, allocations: 493.4 kB / 3.278 GB, free: 51.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/10.29, allocations: 0.7114 MB / 3.278 GB, free: 51.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/10.29, allocations: 0.5132 MB / 3.279 GB, free: 51.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/10.29, allocations: 5.812 kB / 3.279 GB, free: 51.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005761/10.3, allocations: 1.64 MB / 3.28 GB, free: 51.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005751/10.3, allocations: 2.699 MB / 3.283 GB, free: 48.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/10.3, allocations: 6.469 kB / 3.283 GB, free: 48.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00415/10.3, allocations: 1.19 MB / 3.284 GB, free: 48.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/10.3, allocations: 149 kB / 3.284 GB, free: 48.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/10.31, allocations: 2.793 MB / 3.287 GB, free: 46.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/10.31, allocations: 97.98 kB / 3.287 GB, free: 46.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/10.31, allocations: 48.55 kB / 3.287 GB, free: 46.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/10.31, allocations: 4.875 kB / 3.287 GB, free: 46.78 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00544/10.32, allocations: 1.435 MB / 3.289 GB, free: 46.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/10.32, allocations: 7.094 kB / 3.289 GB, free: 46.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003265/10.32, allocations: 1.035 MB / 3.29 GB, free: 46.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/10.32, allocations: 169.2 kB / 3.29 GB, free: 46.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007139/10.33, allocations: 5.05 MB / 3.295 GB, free: 43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/10.33, allocations: 91.92 kB / 3.295 GB, free: 43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/10.33, allocations: 45.36 kB / 3.295 GB, free: 43 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * 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: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.000689/10.33, allocations: 326.4 kB / 3.295 GB, free: 42.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/10.33, allocations: 71.8 kB / 3.295 GB, free: 42.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009465/10.34, allocations: 4.54 MB / 3.3 GB, free: 42.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.188e-05/10.34, allocations: 51.31 kB / 3.3 GB, free: 42.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/10.34, allocations: 0 / 3.3 GB, free: 42.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/10.34, allocations: 3.516 kB / 3.3 GB, free: 42.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/10.36, allocations: 6.47 MB / 3.306 GB, free: 41.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/10.36, allocations: 2.156 kB / 3.306 GB, free: 41.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/10.36, allocations: 89.77 kB / 3.306 GB, free: 41.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006349/10.36, allocations: 2.267 MB / 3.308 GB, free: 41.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/10.36, allocations: 23.84 kB / 3.308 GB, free: 41.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007886/10.37, allocations: 4.076 MB / 3.312 GB, free: 40.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/10.37, allocations: 1.156 kB / 3.312 GB, free: 40.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007902/10.38, allocations: 3.403 MB / 3.316 GB, free: 39.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008876/10.38, allocations: 376.5 kB / 3.316 GB, free: 39.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/10.38, allocations: 13.59 kB / 3.316 GB, free: 39.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/10.38, allocations: 92.23 kB / 3.316 GB, free: 39.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/10.38, allocations: 70.88 kB / 3.316 GB, free: 39.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/10.38, allocations: 29.06 kB / 3.316 GB, free: 39.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008024/10.38, allocations: 470.4 kB / 3.317 GB, free: 39.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.3e-07/10.38, allocations: 0 / 3.317 GB, free: 39.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007393/10.39, allocations: 1.427 MB / 3.318 GB, free: 39.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 29 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01956/10.41, allocations: 5.101 MB / 3.323 GB, free: 38.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01258/10.42, allocations: 2.712 MB / 3.326 GB, free: 38.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/10.42, allocations: 0 / 3.326 GB, free: 38.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005287/10.43, allocations: 1.328 MB / 3.327 GB, free: 38.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/10.43, allocations: 292.3 kB / 3.327 GB, free: 38.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2512/10.68, allocations: 86 MB / 3.411 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007414/10.68, allocations: 1.222 MB / 3.412 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002003/10.68, allocations: 0.7249 MB / 3.413 GB, free: 11.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000618/10.68, allocations: 419.3 kB / 3.414 GB, free: 10.82 MB / 442.7 MB Notification: Performance of SimCode: time 2.054e-06/10.68, allocations: 0 / 3.414 GB, free: 10.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4752/11.16, allocations: 61.04 MB / 3.473 GB, free: 63.36 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/11.16, allocations: 247.7 kB / 3.473 GB, free: 63.04 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.261/16.42, allocations: 0.9062 kB / 3.473 GB, free: 63.04 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat