Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",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.009953/0.009959, allocations: 176.3 kB / 15.13 MB, free: 6.035 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 2.155/2.155, allocations: 194.5 MB / 210.3 MB, free: 7.598 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.001785/0.001785, allocations: 124 kB / 255.6 MB, free: 10.21 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.2691/0.2691, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006611/0.0006615, allocations: 14.34 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1031, allocations: 54.87 MB / 461.2 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.05876/0.162, allocations: 36.45 MB / 497.6 MB, free: 14.6 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03446/0.1965, allocations: 18.84 MB / 0.5043 GB, free: 11.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.1976, allocations: 23.81 kB / 0.5044 GB, free: 11.69 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.199, allocations: 357.9 kB / 0.5047 GB, free: 11.34 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01641/0.2155, allocations: 4.099 MB / 0.5087 GB, free: 7.242 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008861/0.2244, allocations: 2.027 MB / 0.5107 GB, free: 5.207 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004218/0.2286, allocations: 2.347 MB / 0.513 GB, free: 2.855 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.2297, allocations: 401.2 kB / 0.5134 GB, free: 2.449 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01633/0.246, allocations: 6.369 MB / 0.5196 GB, free: 12.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02235/0.2684, allocations: 9.096 MB / 0.5285 GB, free: 2.969 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002809/0.2688, allocations: 35.94 kB / 0.5285 GB, free: 2.934 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3356/0.6044, allocations: 6.811 MB / 0.5352 GB, free: 25.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006258/0.6051, allocations: 243 kB / 0.5354 GB, free: 25.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.6055, allocations: 186.6 kB / 0.5356 GB, free: 25.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008643/0.6141, allocations: 3.373 MB / 0.5389 GB, free: 25.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6142, allocations: 0 / 0.5389 GB, free: 25.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6142, allocations: 0 / 0.5389 GB, free: 25.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.6142, allocations: 0 / 0.5389 GB, free: 25.86 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.007344/0.6216, allocations: 1.477 MB / 0.5403 GB, free: 25.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.6216, allocations: 10.62 kB / 0.5403 GB, free: 25.1 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003463/0.622, allocations: 111.2 kB / 0.5404 GB, free: 25.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/0.6242, allocations: 221.9 kB / 0.5406 GB, free: 25.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.6258, allocations: 0.5257 MB / 0.5411 GB, free: 24.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.626, allocations: 119.1 kB / 0.5413 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.6262, allocations: 54.22 kB / 0.5413 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/0.6292, allocations: 1.067 MB / 0.5424 GB, free: 24.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.6292, allocations: 3.875 kB / 0.5424 GB, free: 24.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.6294, allocations: 32.7 kB / 0.5424 GB, free: 24.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.332e-05/0.6295, allocations: 49.59 kB / 0.5424 GB, free: 24.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.6321, allocations: 0.8131 MB / 0.5432 GB, free: 24.4 MB / 378.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.008782/0.6409, allocations: 5.533 MB / 0.5486 GB, free: 20.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.6427, allocations: 0.525 MB / 0.5491 GB, free: 20.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.6432, allocations: 201.8 kB / 0.5493 GB, free: 20.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1914/0.8347, allocations: 54.09 MB / 0.6022 GB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.94e-05/0.8348, allocations: 45.36 kB / 0.6022 GB, free: 7.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.976e-06/0.8348, allocations: 4 kB / 0.6022 GB, free: 7.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.009835/0.8446, allocations: 2.102 MB / 0.6043 GB, free: 5.516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.8448, allocations: 187.9 kB / 0.6044 GB, free: 5.289 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.846, allocations: 0.615 MB / 0.605 GB, free: 4.809 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.8461, allocations: 38.83 kB / 0.6051 GB, free: 4.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00038/0.8465, allocations: 416.4 kB / 0.6055 GB, free: 4.473 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.8467, allocations: 164.8 kB / 0.6056 GB, free: 4.336 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.8468, allocations: 16.25 kB / 0.6056 GB, free: 4.332 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.847, allocations: 385.4 kB / 0.606 GB, free: 3.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.8476, allocations: 228.2 kB / 0.6062 GB, free: 3.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009246/0.8486, allocations: 0.6055 MB / 0.6068 GB, free: 3.152 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008946/0.8495, allocations: 342.6 kB / 0.6071 GB, free: 2.949 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.8495, allocations: 7.953 kB / 0.6072 GB, free: 2.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002444/0.852, allocations: 0.9146 MB / 0.608 GB, free: 2.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.8521, allocations: 12 kB / 0.6081 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.8521, allocations: 12.84 kB / 0.6081 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00561/0.8577, allocations: 277.7 kB / 0.6083 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/0.8603, allocations: 291.8 kB / 0.6086 GB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.863, allocations: 2.018 MB / 0.6106 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.8642, allocations: 62.83 kB / 0.6106 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.8643, allocations: 46.56 kB / 0.6107 GB, free: 15.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006298/0.865, allocations: 278.3 kB / 0.611 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.8652, allocations: 71.16 kB / 0.611 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.8689, allocations: 2.02 MB / 0.613 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-05/0.869, allocations: 19.66 kB / 0.613 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.869, allocations: 0 / 0.613 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.869, allocations: 7.938 kB / 0.613 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005782/0.8748, allocations: 2.981 MB / 0.6159 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.8749, allocations: 2.844 kB / 0.6159 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/0.8767, allocations: 189.5 kB / 0.6161 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003057/0.8798, allocations: 314.7 kB / 0.6164 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.88, allocations: 14.45 kB / 0.6164 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/0.8824, allocations: 2.078 MB / 0.6185 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.8825, allocations: 0 / 0.6185 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.8859, allocations: 1.922 MB / 0.6203 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006909/0.8866, allocations: 283.4 kB / 0.6206 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.8868, allocations: 9.75 kB / 0.6206 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000793/0.8876, allocations: 42.72 kB / 0.6207 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.8878, allocations: 27.66 kB / 0.6207 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.8878, allocations: 20.92 kB / 0.6207 GB, free: 7.855 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001127/0.889, allocations: 0.5532 MB / 0.6212 GB, free: 7.457 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.889, allocations: 0 / 0.6212 GB, free: 7.457 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006113/0.8951, allocations: 1.092 MB / 0.6223 GB, free: 6.418 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0146/0.9097, allocations: 3.574 MB / 0.6258 GB, free: 3.594 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003724/0.9135, allocations: 0.9242 MB / 0.6267 GB, free: 2.969 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.9136, allocations: 0 / 0.6267 GB, free: 2.969 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.9159, allocations: 0.6385 MB / 0.6273 GB, free: 2.578 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003872/0.9198, allocations: 367.4 kB / 0.6277 GB, free: 2.289 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.9363, allocations: 5.776 MB / 0.6333 GB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.9375, allocations: 1.115 MB / 0.6344 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001961/0.9395, allocations: 347 kB / 0.6347 GB, free: 11.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008895/0.9404, allocations: 378.6 kB / 0.6351 GB, free: 11.69 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.9404, allocations: 0 / 0.6351 GB, free: 11.69 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1842/1.125, allocations: 54.17 MB / 0.688 GB, free: 5.746 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003894/1.125, allocations: 272.3 kB / 0.6883 GB, free: 5.395 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/7.87, allocations: 4 kB / 0.6883 GB, free: 5.391 MB / 490.7 MB