Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",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.01441/0.01441, 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 1.937/1.937, allocations: 194.5 MB / 210.3 MB, free: 7.805 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.002616/0.002616, allocations: 116.6 kB / 255.6 MB, free: 10.43 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.2832/0.2832, allocations: 40.02 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004933, allocations: 13.89 kB / 406.3 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1016, allocations: 54.87 MB / 461.2 MB, free: 3.234 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.692/1.793, allocations: 0.5044 GB / 0.9547 GB, free: 114.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/1.794, allocations: 94.94 kB / 0.9548 GB, free: 114.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14/2.933, allocations: 233.5 MB / 1.183 GB, free: 97.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.855e-06/2.933, allocations: 0 / 1.183 GB, free: 97.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.496e-05/2.933, allocations: 19.2 kB / 1.183 GB, free: 97.93 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003508/2.937, allocations: 1.179 MB / 1.184 GB, free: 96.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/2.937, allocations: 8.031 kB / 1.184 GB, free: 96.71 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002298/2.937, allocations: 100.7 kB / 1.184 GB, free: 96.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/2.938, allocations: 143 kB / 1.184 GB, free: 96.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/2.94, allocations: 0.5536 MB / 1.185 GB, free: 95.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/2.94, allocations: 100.4 kB / 1.185 GB, free: 95.78 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/2.94, allocations: 53.89 kB / 1.185 GB, free: 95.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/2.942, allocations: 0.7997 MB / 1.186 GB, free: 94.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/2.942, allocations: 15.88 kB / 1.186 GB, free: 94.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/2.942, allocations: 27.91 kB / 1.186 GB, free: 94.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.361e-05/2.942, allocations: 36.98 kB / 1.186 GB, free: 94.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/2.944, allocations: 0.6126 MB / 1.186 GB, free: 94.18 MB / 490.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.005727/2.95, allocations: 3.907 MB / 1.19 GB, free: 90.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007719/2.95, allocations: 327.7 kB / 1.191 GB, free: 89.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/2.95, allocations: 24.92 kB / 1.191 GB, free: 89.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/2.95, allocations: 38.84 kB / 1.191 GB, free: 89.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.006e-06/2.95, allocations: 0 / 1.191 GB, free: 89.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.008851/2.959, allocations: 1.634 MB / 1.192 GB, free: 87.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/2.959, allocations: 132.5 kB / 1.192 GB, free: 87.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00088/2.96, allocations: 0.5265 MB / 1.193 GB, free: 87.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-05/2.96, allocations: 33.7 kB / 1.193 GB, free: 87.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/2.961, allocations: 381.7 kB / 1.193 GB, free: 86.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/2.961, allocations: 144.1 kB / 1.193 GB, free: 86.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/2.961, allocations: 16 kB / 1.193 GB, free: 86.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/2.961, allocations: 370.8 kB / 1.194 GB, free: 86.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/2.962, allocations: 197.9 kB / 1.194 GB, free: 86.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007141/2.962, allocations: 0.5314 MB / 1.194 GB, free: 85.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00069/2.963, allocations: 300.9 kB / 1.195 GB, free: 85.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/2.963, allocations: 4 kB / 1.195 GB, free: 85.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002187/2.965, allocations: 0.8794 MB / 1.196 GB, free: 84.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/2.965, allocations: 12 kB / 1.196 GB, free: 84.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/2.965, allocations: 16.89 kB / 1.196 GB, free: 84.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/2.968, allocations: 302.9 kB / 1.196 GB, free: 83.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007871/2.968, allocations: 127.8 kB / 1.196 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/2.97, allocations: 0.9033 MB / 1.197 GB, free: 82.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/2.971, allocations: 55.94 kB / 1.197 GB, free: 82.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/2.971, allocations: 67.98 kB / 1.197 GB, free: 82.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005211/2.972, allocations: 245.5 kB / 1.197 GB, free: 82.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/2.972, allocations: 71.2 kB / 1.197 GB, free: 82.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/2.974, allocations: 0.6743 MB / 1.198 GB, free: 81.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/2.974, allocations: 4 kB / 1.198 GB, free: 81.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/2.974, allocations: 0 / 1.198 GB, free: 81.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/2.974, allocations: 3.984 kB / 1.198 GB, free: 81.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/2.977, allocations: 1.263 MB / 1.199 GB, free: 80.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/2.977, allocations: 0 / 1.199 GB, free: 80.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/2.979, allocations: 211.9 kB / 1.199 GB, free: 80.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/2.979, allocations: 28.78 kB / 1.199 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/2.979, allocations: 20 kB / 1.199 GB, free: 80.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/2.981, allocations: 2.696 MB / 1.202 GB, free: 77.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.981, allocations: 7.969 kB / 1.202 GB, free: 77.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/2.983, allocations: 0.8322 MB / 1.203 GB, free: 76.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/2.983, allocations: 184.2 kB / 1.203 GB, free: 76.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/2.983, allocations: 8 kB / 1.203 GB, free: 76.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007118/2.984, allocations: 39.94 kB / 1.203 GB, free: 76.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/2.984, allocations: 35.95 kB / 1.203 GB, free: 76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.929e-05/2.984, allocations: 43.98 kB / 1.203 GB, free: 75.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006952/2.985, allocations: 415 kB / 1.204 GB, free: 75.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.985, allocations: 0 / 1.204 GB, free: 75.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001853/2.987, allocations: 383.5 kB / 1.204 GB, free: 75.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004458/2.992, allocations: 2.66 MB / 1.207 GB, free: 72.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/2.993, allocations: 0.5466 MB / 1.207 GB, free: 72.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/2.993, allocations: 0 / 1.207 GB, free: 72.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/2.995, allocations: 402.9 kB / 1.208 GB, free: 71.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/2.997, allocations: 311 kB / 1.208 GB, free: 71.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/3.015, allocations: 12.91 MB / 1.22 GB, free: 58.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/3.016, allocations: 0.9416 MB / 1.221 GB, free: 57.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001761/3.017, allocations: 265.8 kB / 1.222 GB, free: 57.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007423/3.018, allocations: 271.3 kB / 1.222 GB, free: 56.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/3.018, allocations: 0 / 1.222 GB, free: 56.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08763/3.106, allocations: 35.3 MB / 1.256 GB, free: 21.51 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/3.106, allocations: 269.2 kB / 1.257 GB, free: 21.15 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.065/7.172, allocations: 3.906 kB / 1.257 GB, free: 21.15 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat