Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",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.01448/0.01448, allocations: 166.4 kB / 15.11 MB, free: 5.93 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.756/1.756, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.002044/0.002044, allocations: 102.5 kB / 226.2 MB, free: 10.1 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.4813/0.4813, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000685/0.0006847, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1097, allocations: 48.72 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.196/8.306, allocations: 2.474 GB / 2.876 GB, free: 67.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004142/8.306, allocations: 80.27 kB / 2.876 GB, free: 67.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.434/9.74, allocations: 212.2 MB / 3.084 GB, free: 29.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.726e-06/9.74, allocations: 0 / 3.084 GB, free: 29.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/9.74, allocations: 4 kB / 3.084 GB, free: 29.86 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.009266/9.75, allocations: 1.727 MB / 3.085 GB, free: 28.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/9.75, allocations: 12.03 kB / 3.085 GB, free: 28.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/9.75, allocations: 66.53 kB / 3.086 GB, free: 28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/9.752, allocations: 223.5 kB / 3.086 GB, free: 27.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/9.753, allocations: 278.5 kB / 3.086 GB, free: 27.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/9.753, allocations: 24.66 kB / 3.086 GB, free: 27.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/9.753, allocations: 32 kB / 3.086 GB, free: 27.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/9.756, allocations: 0.8065 MB / 3.087 GB, free: 26.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/9.757, allocations: 0 / 3.087 GB, free: 26.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/9.757, allocations: 16 kB / 3.087 GB, free: 26.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/9.757, allocations: 8.344 kB / 3.087 GB, free: 26.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003693/9.76, allocations: 0.9347 MB / 3.088 GB, free: 25.6 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.005162/9.766, allocations: 2.777 MB / 3.09 GB, free: 22.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/9.768, allocations: 370.2 kB / 3.091 GB, free: 22.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831/11.6, allocations: 223 MB / 3.309 GB, free: 85.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002109/11.6, allocations: 467.7 kB / 3.309 GB, free: 85.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 4.067e-06/11.6, allocations: 0 / 3.309 GB, free: 85.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.004457/11.61, allocations: 0.757 MB / 3.31 GB, free: 85.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/11.61, allocations: 370.2 kB / 3.31 GB, free: 84.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/11.61, allocations: 166.3 kB / 3.31 GB, free: 84.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/11.61, allocations: 33.2 kB / 3.31 GB, free: 84.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/11.61, allocations: 183.6 kB / 3.31 GB, free: 84.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/11.61, allocations: 115 kB / 3.311 GB, free: 84.65 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/11.61, allocations: 8.562 kB / 3.311 GB, free: 84.65 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.564e-05/11.61, allocations: 341.4 kB / 3.311 GB, free: 84.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/11.61, allocations: 81.36 kB / 3.311 GB, free: 84.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/11.61, allocations: 338.8 kB / 3.311 GB, free: 84.01 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/11.61, allocations: 127 kB / 3.311 GB, free: 84.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/11.61, allocations: 6.047 kB / 3.311 GB, free: 84.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001461/11.61, allocations: 454.8 kB / 3.312 GB, free: 83.97 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/11.61, allocations: 10.84 kB / 3.312 GB, free: 83.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/11.61, allocations: 9.188 kB / 3.312 GB, free: 83.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.806e-05/11.61, allocations: 19.53 kB / 3.312 GB, free: 83.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007716/11.61, allocations: 130.8 kB / 3.312 GB, free: 83.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/11.61, allocations: 22.89 kB / 3.312 GB, free: 83.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/11.61, allocations: 51.8 kB / 3.312 GB, free: 83.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/11.61, allocations: 40.5 kB / 3.312 GB, free: 83.96 MB / 474.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: 8 ($whenCondition1,medium.phase,state_h_is.phase,state.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000233/11.61, allocations: 167.5 kB / 3.312 GB, free: 83.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/11.61, allocations: 28.22 kB / 3.312 GB, free: 83.83 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/11.61, allocations: 2.498 MB / 3.315 GB, free: 83.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/11.61, allocations: 14.11 kB / 3.315 GB, free: 83.55 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/11.62, allocations: 5.875 kB / 3.315 GB, free: 83.55 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/11.62, allocations: 6.938 kB / 3.315 GB, free: 83.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/11.62, allocations: 0.9284 MB / 3.316 GB, free: 83.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/11.62, allocations: 10.81 kB / 3.316 GB, free: 83.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006142/11.62, allocations: 78.27 kB / 3.316 GB, free: 83.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/11.62, allocations: 7.875 kB / 3.316 GB, free: 83.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/11.62, allocations: 9.156 kB / 3.316 GB, free: 83.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/11.62, allocations: 5.5 kB / 3.316 GB, free: 83.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/11.62, allocations: 6.562 kB / 3.316 GB, free: 83.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/11.62, allocations: 0.8314 MB / 3.317 GB, free: 82.86 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/11.62, allocations: 390.3 kB / 3.317 GB, free: 82.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/11.62, allocations: 7.656 kB / 3.317 GB, free: 82.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/11.62, allocations: 26.52 kB / 3.317 GB, free: 82.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/11.62, allocations: 36.61 kB / 3.317 GB, free: 82.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/11.62, allocations: 17.7 kB / 3.317 GB, free: 82.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009477/11.62, allocations: 0.4926 MB / 3.318 GB, free: 82.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.7e-07/11.62, allocations: 0 / 3.318 GB, free: 82.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007511/11.63, allocations: 1.504 MB / 3.319 GB, free: 82.57 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0161/11.64, allocations: 3.976 MB / 3.323 GB, free: 80.69 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001307/11.65, allocations: 408.6 kB / 3.323 GB, free: 80.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/11.65, allocations: 1.438 kB / 3.323 GB, free: 80.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005323/11.65, allocations: 272.6 kB / 3.324 GB, free: 80.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/11.65, allocations: 132.8 kB / 3.324 GB, free: 80.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.99/15.64, allocations: 0.936 GB / 4.26 GB, free: 28.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3739/16.01, allocations: 1.011 MB / 4.261 GB, free: 89.05 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001402/16.01, allocations: 472.3 kB / 4.261 GB, free: 89.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/16.01, allocations: 317.8 kB / 4.261 GB, free: 89.04 MB / 474.7 MB Notification: Performance of SimCode: time 1.422e-06/16.01, allocations: 3.969 kB / 4.261 GB, free: 89.04 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1185/16.13, allocations: 45.73 MB / 4.306 GB, free: 88.48 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/16.13, allocations: 198.6 kB / 4.306 GB, free: 88.24 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.744/20.88, allocations: 4.562 kB / 4.306 GB, free: 88.24 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat