Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.009726/0.009731, allocations: 161.1 kB / 15.11 MB, free: 5.973 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.803/1.803, 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.001735/0.001735, allocations: 102 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.4803/0.4803, allocations: 38.04 MB / 303.7 MB, free: 42.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.0004771, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.3521/0.4597, allocations: 26.95 MB / 438.7 MB, free: 31.01 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009463/0.4692, allocations: 4.333 MB / 443 MB, free: 30.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.4706, allocations: 25.12 kB / 443 MB, free: 30.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.4718, allocations: 225 kB / 443.2 MB, free: 30.94 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.006003/0.4779, allocations: 1.587 MB / 444.8 MB, free: 30.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00484/0.4827, allocations: 1.199 MB / 446 MB, free: 30.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00376/0.4865, allocations: 2.231 MB / 448.3 MB, free: 30.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.4877, allocations: 400.3 kB / 448.7 MB, free: 30.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00769/0.4954, allocations: 2.971 MB / 451.6 MB, free: 29.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002972/0.4984, allocations: 1.265 MB / 452.9 MB, free: 29.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002681/0.4987, allocations: 30.88 kB / 452.9 MB, free: 29.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004082/0.5028, allocations: 1.311 MB / 454.2 MB, free: 29.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006193/0.5035, allocations: 236.1 kB / 454.5 MB, free: 29.76 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.5039, allocations: 160.5 kB / 454.6 MB, free: 29.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.5063, allocations: 1.057 MB / 455.7 MB, free: 29.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5064, allocations: 0 / 455.7 MB, free: 29.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.5064, allocations: 3.25 kB / 455.7 MB, free: 29.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.5064, allocations: 0 / 455.7 MB, free: 29.62 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002988/0.5094, allocations: 0.9991 MB / 456.7 MB, free: 28.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.5095, allocations: 9.75 kB / 456.7 MB, free: 28.98 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003108/0.5098, allocations: 105.8 kB / 456.8 MB, free: 28.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.5113, allocations: 136.7 kB / 456.9 MB, free: 28.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.5127, allocations: 0.5004 MB / 457.4 MB, free: 28.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.5129, allocations: 104.9 kB / 457.5 MB, free: 28.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.5131, allocations: 50.03 kB / 457.6 MB, free: 28.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.5154, allocations: 0.8324 MB / 458.4 MB, free: 28.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.5155, allocations: 3 kB / 458.4 MB, free: 28.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.5156, allocations: 25.86 kB / 458.4 MB, free: 28.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-05/0.5157, allocations: 36.14 kB / 458.5 MB, free: 28.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.5178, allocations: 0.6067 MB / 459.1 MB, free: 28.28 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.007612/0.5254, allocations: 4.876 MB / 464 MB, free: 24.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.5266, allocations: 309.6 kB / 464.3 MB, free: 24.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.527, allocations: 134 kB / 464.4 MB, free: 24.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006289/0.5276, allocations: 0.6119 MB / 465 MB, free: 23.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.5277, allocations: 41.2 kB / 465 MB, free: 23.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.326e-06/0.5277, allocations: 0 / 465 MB, free: 23.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.006518/0.5342, allocations: 1.502 MB / 466.5 MB, free: 22.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.5343, allocations: 132.4 kB / 466.7 MB, free: 22.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.5358, allocations: 0.6355 MB / 467.3 MB, free: 22.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002115/0.536, allocations: 33.7 kB / 467.3 MB, free: 22.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000564/0.5366, allocations: 406.9 kB / 467.7 MB, free: 21.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.537, allocations: 129 kB / 467.9 MB, free: 21.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.273e-05/0.5371, allocations: 23 kB / 467.9 MB, free: 21.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.5373, allocations: 374.8 kB / 468.3 MB, free: 21.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009056/0.5382, allocations: 201.3 kB / 468.4 MB, free: 21.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.5394, allocations: 0.5317 MB / 469 MB, free: 20.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.5406, allocations: 302.2 kB / 469.3 MB, free: 20.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/0.5407, allocations: 3.062 kB / 469.3 MB, free: 20.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003582/0.5443, allocations: 0.8831 MB / 470.2 MB, free: 20.28 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.5444, allocations: 13.91 kB / 470.2 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.5444, allocations: 9.188 kB / 470.2 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002935/0.5474, allocations: 282.5 kB / 470.5 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.5486, allocations: 137 kB / 470.6 MB, free: 20.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.5509, allocations: 1.373 MB / 472 MB, free: 19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.5524, allocations: 37.41 kB / 472 MB, free: 18.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.5527, allocations: 51.23 kB / 472.1 MB, free: 18.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007364/0.5534, allocations: 258.3 kB / 472.3 MB, free: 18.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.5538, allocations: 66.03 kB / 472.4 MB, free: 18.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/0.5571, allocations: 0.6135 MB / 473 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.5572, allocations: 7.844 kB / 473 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.5572, allocations: 6.953 kB / 473 MB, free: 18.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.5573, allocations: 1.922 kB / 473 MB, free: 18.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004415/0.5617, allocations: 1.196 MB / 474.2 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.5618, allocations: 4.031 kB / 474.2 MB, free: 17.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004536/0.5622, allocations: 42.12 kB / 474.2 MB, free: 17.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/0.5644, allocations: 196.5 kB / 474.4 MB, free: 17.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.5645, allocations: 19.69 kB / 474.4 MB, free: 17.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.5666, allocations: 1.304 MB / 475.8 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.5666, allocations: 0 / 475.8 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/0.57, allocations: 0.7837 MB / 476.5 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000714/0.5707, allocations: 190.3 kB / 476.7 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/0.571, allocations: 10.44 kB / 476.7 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.572, allocations: 24.42 kB / 476.8 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.5722, allocations: 32.59 kB / 476.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.5723, allocations: 21.31 kB / 476.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001282/0.5736, allocations: 438.6 kB / 477.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.5737, allocations: 0 / 477.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002613/0.5763, allocations: 277.2 kB / 477.5 MB, free: 15.76 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005008/0.5814, allocations: 1.571 MB / 479.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002552/0.584, allocations: 0.5126 MB / 479.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.5841, allocations: 1.438 kB / 479.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.5853, allocations: 225.5 kB / 479.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003659/0.589, allocations: 293.1 kB / 480.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.6055, allocations: 4.219 MB / 484.3 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008131/0.6063, allocations: 0.9455 MB / 485.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002019/0.6084, allocations: 206.1 kB / 485.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008751/0.6093, allocations: 229.3 kB / 485.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6094, allocations: 0 / 485.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0805/0.6899, allocations: 20.6 MB / 0.4944 GB, free: 11.8 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003722/0.6903, allocations: 286.2 kB / 0.4947 GB, free: 11.45 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.585/4.275, allocations: 3.906 kB / 0.4947 GB, free: 11.44 MB / 346.7 MB