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.009489/0.009494, allocations: 163.8 kB / 15.12 MB, free: 5.957 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.664/1.664, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001764/0.001763, allocations: 122.4 kB / 226.2 MB, free: 10.08 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.536/0.536, allocations: 38.06 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006383/0.0006385, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1213, allocations: 48.7 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02184/0.1432, allocations: 12.72 MB / 424.4 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3316/0.4748, allocations: 24.47 MB / 448.9 MB, free: 30.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003294/0.4752, allocations: 6.469 kB / 448.9 MB, free: 30.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.4756, allocations: 73.66 kB / 449 MB, free: 30.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02769/0.5033, allocations: 6.509 MB / 455.5 MB, free: 28.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.5046, allocations: 300.1 kB / 455.8 MB, free: 28.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006497/0.5111, allocations: 3.17 MB / 458.9 MB, free: 27.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.5113, allocations: 17.97 kB / 459 MB, free: 27.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005541/0.5118, allocations: 239.3 kB / 459.2 MB, free: 27.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01085/0.5227, allocations: 5.611 MB / 464.8 MB, free: 26.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.009e-05/0.5228, allocations: 5.938 kB / 464.8 MB, free: 26.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03787/0.5607, allocations: 10.18 MB / 475 MB, free: 24.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.5609, allocations: 51.48 kB / 475 MB, free: 24.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.5611, allocations: 75.73 kB / 475.1 MB, free: 24.53 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.5745, allocations: 4.169 MB / 479.3 MB, free: 22.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.5746, allocations: 3.984 kB / 479.3 MB, free: 22.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5746, allocations: 0 / 479.3 MB, free: 22.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.5747, allocations: 1.594 kB / 479.3 MB, free: 22.6 MB / 330.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.00888/0.5836, allocations: 1.454 MB / 480.7 MB, free: 21.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.5836, allocations: 9.031 kB / 480.7 MB, free: 21.58 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.5838, allocations: 68.69 kB / 480.8 MB, free: 21.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004346/0.5882, allocations: 225.2 kB / 481 MB, free: 21.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000638/0.5889, allocations: 283.2 kB / 481.3 MB, free: 21.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.747e-05/0.5889, allocations: 26.03 kB / 481.3 MB, free: 21.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.5891, allocations: 27.03 kB / 481.4 MB, free: 21.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004955/0.594, allocations: 0.8307 MB / 482.2 MB, free: 20.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.5941, allocations: 1.938 kB / 482.2 MB, free: 20.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.5942, allocations: 13.53 kB / 482.2 MB, free: 20.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.5942, allocations: 11.33 kB / 482.2 MB, free: 20.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005417/0.5997, allocations: 0.9539 MB / 483.2 MB, free: 20.12 MB / 330.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.00613/0.6059, allocations: 2.576 MB / 485.8 MB, free: 17.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/0.6088, allocations: 387.2 kB / 486.1 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.6092, allocations: 77.44 kB / 486.2 MB, free: 17.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401/2.01, allocations: 226.6 MB / 0.6961 GB, free: 37.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003385/2.013, allocations: 476.3 kB / 0.6965 GB, free: 37.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 4.849e-06/2.013, allocations: 0 / 0.6965 GB, free: 37.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.007387/2.021, allocations: 0.7695 MB / 0.6973 GB, free: 36.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/2.021, allocations: 379.7 kB / 0.6977 GB, free: 36.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/2.021, allocations: 179.2 kB / 0.6978 GB, free: 36.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/2.021, allocations: 30.02 kB / 0.6979 GB, free: 35.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/2.022, allocations: 189.3 kB / 0.698 GB, free: 35.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/2.022, allocations: 110.2 kB / 0.6981 GB, free: 35.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/2.022, allocations: 12 kB / 0.6982 GB, free: 35.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/2.022, allocations: 334.6 kB / 0.6985 GB, free: 35.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/2.023, allocations: 81.06 kB / 0.6986 GB, free: 35.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007621/2.023, allocations: 338.2 kB / 0.6989 GB, free: 34.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007206/2.024, allocations: 128.5 kB / 0.699 GB, free: 34.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/2.024, allocations: 4 kB / 0.699 GB, free: 34.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001417/2.026, allocations: 470 kB / 0.6994 GB, free: 34.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/2.026, allocations: 8 kB / 0.6995 GB, free: 34.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/2.026, allocations: 12 kB / 0.6995 GB, free: 34.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.395e-05/2.026, allocations: 12 kB / 0.6995 GB, free: 34.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007878/2.027, allocations: 139.8 kB / 0.6996 GB, free: 34.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/2.027, allocations: 16.47 kB / 0.6996 GB, free: 34.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/2.027, allocations: 59.44 kB / 0.6997 GB, free: 33.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-05/2.027, allocations: 47.97 kB / 0.6997 GB, free: 33.94 MB / 426.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.phase,state_h_is.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.0002538/2.028, allocations: 162.4 kB / 0.6999 GB, free: 33.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/2.028, allocations: 31.45 kB / 0.6999 GB, free: 33.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/2.031, allocations: 2.656 MB / 0.7025 GB, free: 31.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/2.031, allocations: 19.97 kB / 0.7025 GB, free: 31.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/2.031, allocations: 4 kB / 0.7025 GB, free: 31.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/2.031, allocations: 4.375 kB / 0.7025 GB, free: 31.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/2.033, allocations: 0.9337 MB / 0.7034 GB, free: 30.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/2.033, allocations: 12.39 kB / 0.7035 GB, free: 30.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/2.033, allocations: 71.88 kB / 0.7035 GB, free: 30 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/2.033, allocations: 4 kB / 0.7035 GB, free: 30 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/2.033, allocations: 16.55 kB / 0.7035 GB, free: 29.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/2.033, allocations: 4 kB / 0.7036 GB, free: 29.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/2.033, allocations: 7.938 kB / 0.7036 GB, free: 29.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/2.035, allocations: 0.6939 MB / 0.7042 GB, free: 29.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/2.035, allocations: 386.6 kB / 0.7046 GB, free: 28.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/2.035, allocations: 8.625 kB / 0.7046 GB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006119/2.036, allocations: 19.98 kB / 0.7046 GB, free: 28.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/2.036, allocations: 31.97 kB / 0.7047 GB, free: 28.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/2.036, allocations: 19.98 kB / 0.7047 GB, free: 28.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008199/2.037, allocations: 0.4884 MB / 0.7052 GB, free: 28.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.292e-06/2.037, allocations: 0 / 0.7052 GB, free: 28.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006115/2.043, allocations: 1.512 MB / 0.7066 GB, free: 26.82 MB / 426.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 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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.01387/2.057, allocations: 2.844 MB / 0.7094 GB, free: 24.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/2.058, allocations: 415.9 kB / 0.7098 GB, free: 23.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/2.058, allocations: 0 / 0.7098 GB, free: 23.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/2.059, allocations: 270.2 kB / 0.7101 GB, free: 23.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/2.06, allocations: 136 kB / 0.7102 GB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.741/4.801, allocations: 0.5897 GB / 1.3 GB, free: 58.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/4.802, allocations: 1.005 MB / 1.301 GB, free: 57.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001836/4.804, allocations: 0.5227 MB / 1.301 GB, free: 56.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000872/4.805, allocations: 323.3 kB / 1.302 GB, free: 56.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/4.805, allocations: 4 kB / 1.302 GB, free: 56.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4455/5.25, allocations: 63.62 MB / 1.364 GB, free: 94.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003558/5.251, allocations: 215.9 kB / 1.364 GB, free: 94.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/13.8, allocations: 3.938 kB / 1.364 GB, free: 94.35 MB / 426.7 MB