Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",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.01405/0.01406, allocations: 163.6 kB / 15.12 MB, free: 5.953 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.824/1.824, allocations: 170.8 MB / 186.7 MB, free: 1.113 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.001796/0.001796, allocations: 102.8 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.5699/0.5699, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006894/0.0006897, allocations: 15.94 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1205, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.03045/0.151, allocations: 12.71 MB / 424.4 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3558/0.5068, allocations: 24.48 MB / 448.9 MB, free: 30.24 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.5073, allocations: 2.875 kB / 448.9 MB, free: 30.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005348/0.5078, allocations: 70.2 kB / 449 MB, free: 30.22 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04291/0.5508, allocations: 6.507 MB / 455.5 MB, free: 28.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.553, allocations: 303 kB / 455.8 MB, free: 28.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.5632, allocations: 3.163 MB / 458.9 MB, free: 27.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.5633, allocations: 14.09 kB / 458.9 MB, free: 27.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000885/0.5642, allocations: 240.3 kB / 459.2 MB, free: 27.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03304/0.5973, allocations: 5.606 MB / 464.8 MB, free: 27.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.064e-05/0.5975, allocations: 9.219 kB / 464.8 MB, free: 27.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04314/0.6406, allocations: 10.87 MB / 475.7 MB, free: 24.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.6409, allocations: 50.08 kB / 475.7 MB, free: 24.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.6411, allocations: 75.23 kB / 475.8 MB, free: 24.49 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.6533, allocations: 4.445 MB / 480.2 MB, free: 22.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.6534, allocations: 2.312 kB / 480.2 MB, free: 22.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6534, allocations: 0 / 480.2 MB, free: 22.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.6534, allocations: 4 kB / 480.2 MB, free: 22.12 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.00698/0.6604, allocations: 1.51 MB / 481.7 MB, free: 21.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.6605, allocations: 10.5 kB / 481.8 MB, free: 21.06 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.6606, allocations: 72.59 kB / 481.8 MB, free: 20.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.6627, allocations: 183.6 kB / 482 MB, free: 20.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.6633, allocations: 276.5 kB / 482.3 MB, free: 20.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.6634, allocations: 22.22 kB / 482.3 MB, free: 20.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.6635, allocations: 37.78 kB / 482.3 MB, free: 20.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/0.6666, allocations: 0.7538 MB / 483.1 MB, free: 20.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.6667, allocations: 0 / 483.1 MB, free: 20.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.155e-05/0.6668, allocations: 11.25 kB / 483.1 MB, free: 20.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.6668, allocations: 8.469 kB / 483.1 MB, free: 20.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/0.6699, allocations: 0.8251 MB / 483.9 MB, free: 19.7 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.004603/0.6746, allocations: 2.7 MB / 486.6 MB, free: 17.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.6763, allocations: 351.6 kB / 487 MB, free: 17.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.6765, allocations: 78.47 kB / 487.1 MB, free: 16.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9587/1.635, allocations: 142 MB / 0.6143 GB, free: 119.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001746/1.637, allocations: 441 kB / 0.6147 GB, free: 119.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 3.396e-06/1.637, allocations: 0 / 0.6147 GB, free: 119.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.005773/1.643, allocations: 1.119 MB / 0.6158 GB, free: 119.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.643, allocations: 373.8 kB / 0.6162 GB, free: 118.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/1.643, allocations: 187.8 kB / 0.6163 GB, free: 118.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/1.643, allocations: 37.86 kB / 0.6164 GB, free: 118.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.643, allocations: 184.1 kB / 0.6166 GB, free: 118.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/1.644, allocations: 113.9 kB / 0.6167 GB, free: 118.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/1.644, allocations: 11.69 kB / 0.6167 GB, free: 118.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.69e-05/1.644, allocations: 330.6 kB / 0.617 GB, free: 117.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/1.644, allocations: 80.19 kB / 0.6171 GB, free: 117.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/1.644, allocations: 347.1 kB / 0.6174 GB, free: 117.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/1.645, allocations: 127.5 kB / 0.6175 GB, free: 117.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/1.645, allocations: 2.188 kB / 0.6175 GB, free: 117.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001391/1.646, allocations: 469.9 kB / 0.618 GB, free: 117.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/1.646, allocations: 9.938 kB / 0.618 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.646, allocations: 9.406 kB / 0.618 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/1.646, allocations: 17.34 kB / 0.618 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/1.649, allocations: 213 kB / 0.6182 GB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005971/1.65, allocations: 1.181 MB / 0.6194 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/1.65, allocations: 26.31 kB / 0.6194 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.651, allocations: 46.78 kB / 0.6194 GB, free: 116.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002859/1.651, allocations: 158.8 kB / 0.6196 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.651, allocations: 24.34 kB / 0.6196 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004733/1.656, allocations: 2.89 MB / 0.6224 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.46e-05/1.656, allocations: 21.34 kB / 0.6225 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.656, allocations: 3.875 kB / 0.6225 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/1.656, allocations: 13.52 kB / 0.6225 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/1.657, allocations: 0.9643 MB / 0.6234 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.657, allocations: 8.016 kB / 0.6234 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/1.659, allocations: 94.09 kB / 0.6235 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003696/1.659, allocations: 165.9 kB / 0.6237 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/1.659, allocations: 18.75 kB / 0.6237 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004353/1.659, allocations: 0.6434 MB / 0.6243 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.659, allocations: 2.812 kB / 0.6243 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/1.661, allocations: 0.9676 MB / 0.6253 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/1.662, allocations: 350.8 kB / 0.6256 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/1.662, allocations: 14.73 kB / 0.6256 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/1.662, allocations: 26.27 kB / 0.6256 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/1.663, allocations: 32.78 kB / 0.6257 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/1.663, allocations: 15.64 kB / 0.6257 GB, free: 112.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008327/1.663, allocations: 469 kB / 0.6261 GB, free: 111.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.02e-07/1.663, allocations: 3.156 kB / 0.6261 GB, free: 111.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007076/1.671, allocations: 1.599 MB / 0.6277 GB, free: 111.8 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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01463/1.685, allocations: 3.119 MB / 0.6307 GB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002369/1.688, allocations: 0.5328 MB / 0.6313 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.688, allocations: 0 / 0.6313 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006678/1.688, allocations: 359.1 kB / 0.6316 GB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/1.69, allocations: 124.5 kB / 0.6317 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.454/3.144, allocations: 344.7 MB / 0.9684 GB, free: 80.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/3.145, allocations: 1.004 MB / 0.9693 GB, free: 79.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001253/3.146, allocations: 0.5078 MB / 0.9698 GB, free: 79.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005599/3.146, allocations: 307.3 kB / 0.9701 GB, free: 79.03 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/3.146, allocations: 0 / 0.9701 GB, free: 79.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1807/3.327, allocations: 66.3 MB / 1.035 GB, free: 12.79 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002836/3.327, allocations: 238.1 kB / 1.035 GB, free: 12.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.084/12.41, allocations: 0 / 1.035 GB, free: 12.55 MB / 426.7 MB