Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.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.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_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.00941/0.009416, allocations: 161.6 kB / 15.11 MB, free: 6.043 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.833/1.833, allocations: 170.8 MB / 186.6 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.003045/0.003045, allocations: 106.8 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.5045/0.5045, allocations: 38.06 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004735, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 48.7 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.3733/0.4807, allocations: 36.2 MB / 447.9 MB, free: 30.86 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02736/0.5081, allocations: 18.68 MB / 466.6 MB, free: 19.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.5096, allocations: 21.59 kB / 466.6 MB, free: 19.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.5113, allocations: 369.1 kB / 467 MB, free: 18.9 MB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+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.1+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.1+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.01575/0.5271, allocations: 4.059 MB / 471 MB, free: 17.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007884/0.5351, allocations: 1.972 MB / 473 MB, free: 16.01 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003672/0.5388, allocations: 2.343 MB / 475.4 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.5399, allocations: 406.8 kB / 475.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01453/0.5545, allocations: 6.309 MB / 482.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01994/0.5744, allocations: 9.017 MB / 491.1 MB, free: 13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002603/0.5748, allocations: 32.44 kB / 491.1 MB, free: 13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0176/0.5924, allocations: 6.822 MB / 497.9 MB, free: 7.293 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000567/0.593, allocations: 247.2 kB / 498.2 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.5934, allocations: 185.3 kB / 498.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009558/0.603, allocations: 3.426 MB / 0.49 GB, free: 3.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.6031, allocations: 4 kB / 0.49 GB, free: 3.426 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.027e-06/0.6031, allocations: 0 / 0.49 GB, free: 3.426 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.424e-05/0.6032, allocations: 4 kB / 0.49 GB, free: 3.422 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.009104/0.6123, allocations: 1.516 MB / 0.4915 GB, free: 1.859 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.6124, allocations: 8.031 kB / 0.4915 GB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003936/0.6128, allocations: 110.5 kB / 0.4916 GB, free: 1.734 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005571/0.6184, allocations: 310.7 kB / 0.4919 GB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.6205, allocations: 0.5472 MB / 0.4924 GB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/0.6208, allocations: 120.6 kB / 0.4926 GB, free: 0.7109 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.621, allocations: 56 kB / 0.4926 GB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006622/0.6277, allocations: 1.216 MB / 0.4938 GB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.6277, allocations: 0 / 0.4938 GB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.6279, allocations: 27.98 kB / 0.4938 GB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.628, allocations: 49.28 kB / 0.4939 GB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004708/0.6328, allocations: 1.062 MB / 0.4949 GB, free: 14.2 MB / 346.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.01101/0.6438, allocations: 5.607 MB / 0.5004 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003996/0.6479, allocations: 0.7902 MB / 0.5012 GB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.649, allocations: 293.5 kB / 0.5014 GB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06544/0.7145, allocations: 18.98 MB / 0.52 GB, free: 1.852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/0.7146, allocations: 42.56 kB / 0.52 GB, free: 1.801 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 3.106e-06/0.7146, allocations: 0 / 0.52 GB, free: 1.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.01107/0.7257, allocations: 2.352 MB / 0.5223 GB, free: 15.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.7259, allocations: 162.7 kB / 0.5225 GB, free: 15.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.727, allocations: 0.5976 MB / 0.5231 GB, free: 14.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-05/0.7271, allocations: 33.7 kB / 0.5231 GB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.7275, allocations: 399 kB / 0.5235 GB, free: 14.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.7278, allocations: 177.6 kB / 0.5236 GB, free: 13.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.7279, allocations: 16 kB / 0.5236 GB, free: 13.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.7281, allocations: 382.7 kB / 0.524 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.7292, allocations: 289.8 kB / 0.5243 GB, free: 13.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.7307, allocations: 0.6467 MB / 0.5249 GB, free: 12.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.7321, allocations: 392.5 kB / 0.5253 GB, free: 12.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.7321, allocations: 0 / 0.5253 GB, free: 12.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003374/0.7355, allocations: 1.004 MB / 0.5263 GB, free: 11.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.7355, allocations: 8 kB / 0.5263 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.7356, allocations: 12 kB / 0.5263 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/0.736, allocations: 68.81 kB / 0.5264 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/0.7387, allocations: 315.6 kB / 0.5267 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.741, allocations: 1.983 MB / 0.5286 GB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.7423, allocations: 87.98 kB / 0.5287 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.7424, allocations: 51.92 kB / 0.5287 GB, free: 8.406 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005882/0.743, allocations: 272.5 kB / 0.529 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.7433, allocations: 69.38 kB / 0.5291 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005409/0.7487, allocations: 2.603 MB / 0.5316 GB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-05/0.7488, allocations: 39.84 kB / 0.5316 GB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7488, allocations: 0 / 0.5316 GB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.7488, allocations: 3.984 kB / 0.5316 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007908/0.7567, allocations: 3.785 MB / 0.5353 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.7568, allocations: 3.953 kB / 0.5353 GB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/0.7591, allocations: 251.7 kB / 0.5356 GB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006728/0.7598, allocations: 80.78 kB / 0.5357 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-05/0.7599, allocations: 12 kB / 0.5357 GB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.7621, allocations: 1.999 MB / 0.5376 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7621, allocations: 4.094 kB / 0.5376 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005298/0.7674, allocations: 2.373 MB / 0.5399 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007186/0.7682, allocations: 318.9 kB / 0.5403 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.7684, allocations: 12 kB / 0.5403 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009257/0.7693, allocations: 63.86 kB / 0.5403 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.7695, allocations: 44.48 kB / 0.5404 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-05/0.7696, allocations: 31.92 kB / 0.5404 GB, free: 12.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00114/0.7707, allocations: 0.542 MB / 0.5409 GB, free: 11.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.7708, allocations: 0 / 0.5409 GB, free: 11.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00467/0.7754, allocations: 1.089 MB / 0.542 GB, free: 10.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01352/0.789, allocations: 4.038 MB / 0.5459 GB, free: 6.473 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004424/0.7935, allocations: 1.112 MB / 0.547 GB, free: 5.359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.7935, allocations: 4 kB / 0.547 GB, free: 5.355 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002863/0.7964, allocations: 0.8206 MB / 0.5478 GB, free: 4.535 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/0.8, allocations: 370 kB / 0.5482 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/0.8174, allocations: 6.379 MB / 0.5544 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.8185, allocations: 1.189 MB / 0.5556 GB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001728/0.8203, allocations: 448.6 kB / 0.556 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008399/0.8211, allocations: 439.3 kB / 0.5564 GB, free: 11.5 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.8211, allocations: 0 / 0.5564 GB, free: 11.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.486/1.307, allocations: 56.55 MB / 0.6116 GB, free: 109.1 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/1.307, allocations: 273.6 kB / 0.6119 GB, free: 108.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/7.928, allocations: 4 kB / 0.6119 GB, free: 108.8 MB / 426.7 MB