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_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.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.009751/0.009756, 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.709/1.709, 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.003084/0.003084, allocations: 102.8 kB / 226.2 MB, free: 10.09 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.4657/0.4657, allocations: 38.06 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004662, allocations: 12 kB / 363 MB, free: 5.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 48.72 MB / 411.7 MB, free: 4.656 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.3634/0.4877, allocations: 36.18 MB / 447.9 MB, free: 30.97 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05844/0.5462, allocations: 18.68 MB / 466.6 MB, free: 19.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.5478, allocations: 28.34 kB / 466.6 MB, free: 19.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.5499, allocations: 367.5 kB / 467 MB, free: 18.91 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.01629/0.5662, allocations: 4.059 MB / 471 MB, free: 17.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008112/0.5743, allocations: 1.984 MB / 473 MB, free: 16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003751/0.5781, allocations: 2.323 MB / 475.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.5792, allocations: 397.5 kB / 475.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01453/0.5938, allocations: 6.29 MB / 482 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02047/0.6143, allocations: 8.997 MB / 491 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002646/0.6146, allocations: 34.38 kB / 491 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01738/0.632, allocations: 6.71 MB / 497.8 MB, free: 7.398 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006857/0.6327, allocations: 243.2 kB / 498 MB, free: 7.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007594/0.6335, allocations: 185.3 kB / 498.2 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.6445, allocations: 3.34 MB / 0.4898 GB, free: 3.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.6446, allocations: 0 / 0.4898 GB, free: 3.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.871e-06/0.6446, allocations: 3.984 kB / 0.4898 GB, free: 3.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.222e-05/0.6447, allocations: 4 kB / 0.4898 GB, free: 3.617 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.005774/0.6505, allocations: 1.442 MB / 0.4912 GB, free: 2.129 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.6505, allocations: 16.03 kB / 0.4912 GB, free: 2.113 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000258/0.6508, allocations: 110.5 kB / 0.4913 GB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.6528, allocations: 220.3 kB / 0.4915 GB, free: 1.781 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.6541, allocations: 0.5277 MB / 0.492 GB, free: 1.211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.6542, allocations: 112.7 kB / 0.4921 GB, free: 1.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.6544, allocations: 56 kB / 0.4922 GB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.657, allocations: 1.068 MB / 0.4932 GB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.6571, allocations: 3.938 kB / 0.4932 GB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.6572, allocations: 35.98 kB / 0.4933 GB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.99e-05/0.6573, allocations: 44.97 kB / 0.4933 GB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.66, allocations: 0.8116 MB / 0.4941 GB, free: 14.96 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.009498/0.6695, allocations: 5.53 MB / 0.4995 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.6714, allocations: 0.5212 MB / 0.5 GB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.672, allocations: 210.5 kB / 0.5002 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2185/0.8905, allocations: 53.93 MB / 0.5529 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.543e-05/0.8907, allocations: 50.5 kB / 0.5529 GB, free: 11.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 3.196e-06/0.8907, allocations: 0 / 0.5529 GB, free: 11.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.009683/0.9004, allocations: 2.106 MB / 0.555 GB, free: 9.688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.9006, allocations: 191.7 kB / 0.5552 GB, free: 9.457 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.9018, allocations: 0.621 MB / 0.5558 GB, free: 8.824 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.957e-05/0.9019, allocations: 33.7 kB / 0.5558 GB, free: 8.785 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/0.9023, allocations: 423 kB / 0.5562 GB, free: 8.363 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.9025, allocations: 161.7 kB / 0.5564 GB, free: 8.203 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-05/0.9026, allocations: 20 kB / 0.5564 GB, free: 8.184 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.9029, allocations: 378.8 kB / 0.5567 GB, free: 7.805 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.9035, allocations: 229.8 kB / 0.557 GB, free: 7.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.9045, allocations: 0.6129 MB / 0.5576 GB, free: 6.781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008768/0.9054, allocations: 339.6 kB / 0.5579 GB, free: 6.449 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.9055, allocations: 4 kB / 0.5579 GB, free: 6.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002663/0.9081, allocations: 0.9158 MB / 0.5588 GB, free: 5.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.9082, allocations: 9.875 kB / 0.5588 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/0.9083, allocations: 16 kB / 0.5588 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0055/0.9138, allocations: 272.5 kB / 0.5591 GB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/0.9163, allocations: 295.6 kB / 0.5593 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/0.9188, allocations: 2.011 MB / 0.5613 GB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.9199, allocations: 60 kB / 0.5614 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.92, allocations: 45.44 kB / 0.5614 GB, free: 2.672 MB / 410.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.000643/0.9207, allocations: 273.4 kB / 0.5617 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.9209, allocations: 75.11 kB / 0.5617 GB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.9249, allocations: 2.014 MB / 0.5637 GB, free: 296 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.661e-05/0.925, allocations: 28.05 kB / 0.5637 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.925, allocations: 4 kB / 0.5637 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.925, allocations: 8.922 kB / 0.5638 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005759/0.9308, allocations: 2.984 MB / 0.5667 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.9309, allocations: 4 kB / 0.5667 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/0.9327, allocations: 187.8 kB / 0.5668 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003056/0.9358, allocations: 299.9 kB / 0.5671 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-05/0.9359, allocations: 20 kB / 0.5672 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.9384, allocations: 2.081 MB / 0.5692 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9384, allocations: 0 / 0.5692 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.942, allocations: 1.928 MB / 0.5711 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006574/0.9427, allocations: 279.3 kB / 0.5713 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.9429, allocations: 19.92 kB / 0.5714 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008008/0.9437, allocations: 32.05 kB / 0.5714 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.9438, allocations: 36.34 kB / 0.5714 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.9439, allocations: 12 kB / 0.5714 GB, free: 8.109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.945, allocations: 0.5576 MB / 0.572 GB, free: 7.555 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.945, allocations: 0 / 0.572 GB, free: 7.555 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004387/0.9494, allocations: 1.082 MB / 0.573 GB, free: 6.473 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.01151/0.961, allocations: 3.572 MB / 0.5765 GB, free: 2.871 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003514/0.9645, allocations: 0.9247 MB / 0.5774 GB, free: 1.949 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.9646, allocations: 0 / 0.5774 GB, free: 1.949 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/0.9669, allocations: 0.636 MB / 0.578 GB, free: 1.312 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/0.9706, allocations: 362.7 kB / 0.5784 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3644/1.335, allocations: 5.76 MB / 0.584 GB, free: 133.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009516/1.336, allocations: 1.12 MB / 0.5851 GB, free: 132.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0015/1.338, allocations: 343.9 kB / 0.5854 GB, free: 132.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007348/1.338, allocations: 379.1 kB / 0.5858 GB, free: 132.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/1.338, allocations: 2.281 kB / 0.5858 GB, free: 132.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1342/1.473, allocations: 53.86 MB / 0.6384 GB, free: 105.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/1.473, allocations: 280.4 kB / 0.6387 GB, free: 105.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.503/7.976, allocations: 4 kB / 0.6387 GB, free: 105.3 MB / 426.7 MB