Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.0143/0.0143, allocations: 174.8 kB / 15.12 MB, free: 5.93 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.912/1.912, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.002015/0.002015, allocations: 120.7 kB / 255.6 MB, free: 11.2 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.2657/0.2657, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006364/0.0006366, allocations: 9.688 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1386, allocations: 54.88 MB / 461.1 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.826/7.964, allocations: 2.585 GB / 3.035 GB, free: 82.85 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/7.965, allocations: 78.22 kB / 3.036 GB, free: 82.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.31/9.274, allocations: 215.9 MB / 3.246 GB, free: 74.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.973e-06/9.274, allocations: 0 / 3.246 GB, free: 74.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/9.274, allocations: 4 kB / 3.246 GB, free: 74.68 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.00868/9.283, allocations: 1.762 MB / 3.248 GB, free: 72.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/9.283, allocations: 12.03 kB / 3.248 GB, free: 72.86 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/9.283, allocations: 70.47 kB / 3.248 GB, free: 72.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/9.286, allocations: 231.4 kB / 3.248 GB, free: 72.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/9.286, allocations: 266.6 kB / 3.249 GB, free: 72.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/9.286, allocations: 29 kB / 3.249 GB, free: 72.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/9.286, allocations: 31.95 kB / 3.249 GB, free: 72.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/9.29, allocations: 0.8094 MB / 3.25 GB, free: 71.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/9.29, allocations: 0 / 3.25 GB, free: 71.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/9.29, allocations: 12 kB / 3.25 GB, free: 71.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/9.29, allocations: 9.125 kB / 3.25 GB, free: 71.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003566/9.293, allocations: 0.923 MB / 3.25 GB, free: 70.39 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.005137/9.299, allocations: 2.776 MB / 3.253 GB, free: 67.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/9.301, allocations: 366.3 kB / 3.254 GB, free: 67.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32/10.62, allocations: 223.3 MB / 3.472 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002048/10.62, allocations: 467 kB / 3.472 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 4.098e-06/10.62, allocations: 0 / 3.472 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.004504/10.63, allocations: 0.7563 MB / 3.473 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002239/10.63, allocations: 378.5 kB / 3.473 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/10.63, allocations: 166.7 kB / 3.473 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/10.63, allocations: 36.69 kB / 3.473 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/10.63, allocations: 185 kB / 3.474 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/10.63, allocations: 116.2 kB / 3.474 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/10.63, allocations: 10.03 kB / 3.474 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001604/10.63, allocations: 334.4 kB / 3.474 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/10.63, allocations: 73.86 kB / 3.474 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/10.63, allocations: 342.3 kB / 3.474 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/10.63, allocations: 126 kB / 3.474 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/10.63, allocations: 0.9375 kB / 3.474 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001508/10.63, allocations: 465.9 kB / 3.475 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/10.63, allocations: 12 kB / 3.475 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/10.63, allocations: 9.031 kB / 3.475 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.471e-05/10.63, allocations: 12 kB / 3.475 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008315/10.63, allocations: 133.1 kB / 3.475 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.844e-05/10.63, allocations: 19.36 kB / 3.475 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/10.63, allocations: 57.95 kB / 3.475 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.973e-05/10.63, allocations: 41.69 kB / 3.475 GB, free: 13.32 MB / 0.4948 GB 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.0002869/10.63, allocations: 161 kB / 3.475 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/10.63, allocations: 30.72 kB / 3.475 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004204/10.64, allocations: 2.492 MB / 3.478 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.608e-05/10.64, allocations: 18.73 kB / 3.478 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/10.64, allocations: 5.094 kB / 3.478 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/10.64, allocations: 7.938 kB / 3.478 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/10.64, allocations: 0.9346 MB / 3.479 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/10.64, allocations: 4.375 kB / 3.479 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/10.64, allocations: 79.77 kB / 3.479 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/10.64, allocations: 6.906 kB / 3.479 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/10.64, allocations: 10.73 kB / 3.479 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.39e-05/10.64, allocations: 8 kB / 3.479 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/10.64, allocations: 0 / 3.479 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/10.64, allocations: 0.8347 MB / 3.48 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/10.64, allocations: 385.6 kB / 3.48 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/10.64, allocations: 11.75 kB / 3.48 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005981/10.64, allocations: 23.05 kB / 3.48 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/10.64, allocations: 42.86 kB / 3.48 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/10.64, allocations: 19.39 kB / 3.48 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009473/10.64, allocations: 499.9 kB / 3.481 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.01e-07/10.64, allocations: 4 kB / 3.481 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007745/10.65, allocations: 1.514 MB / 3.482 GB, free: 8.621 MB / 0.4948 GB 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.01649/10.67, allocations: 3.993 MB / 3.486 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001291/10.67, allocations: 398.7 kB / 3.486 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/10.67, allocations: 5.812 kB / 3.486 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005301/10.67, allocations: 272.8 kB / 3.487 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/10.67, allocations: 134.5 kB / 3.487 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.641/15.31, allocations: 0.9683 GB / 4.455 GB, free: 87.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/15.31, allocations: 1.008 MB / 4.456 GB, free: 86.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0012/15.31, allocations: 469.1 kB / 4.457 GB, free: 86.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005416/15.31, allocations: 320.7 kB / 4.457 GB, free: 86.64 MB / 0.4948 GB Notification: Performance of SimCode: time 1.312e-06/15.31, allocations: 0 / 4.457 GB, free: 86.64 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/15.43, allocations: 46.01 MB / 4.502 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002977/15.43, allocations: 197.2 kB / 4.502 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.568/20, allocations: 0 / 4.502 GB, free: 85.12 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat