Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",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.01345/0.01346, allocations: 177.4 kB / 15.13 MB, free: 5.953 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.01/2.01, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.001789/0.001789, allocations: 124.1 kB / 255.6 MB, free: 10.22 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.2561/0.2561, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004625, allocations: 12.39 kB / 406.3 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1138, allocations: 54.88 MB / 461.2 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.03344/0.1473, allocations: 19.01 MB / 480.2 MB, free: 124 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01245/0.1598, allocations: 4.144 MB / 484.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.1612, allocations: 27.69 kB / 484.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.1628, allocations: 258.4 kB / 484.6 MB, free: 11.69 MB / 330.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.004743/0.1676, allocations: 0.8277 MB / 485.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004201/0.1718, allocations: 0.6887 MB / 486.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004893/0.1767, allocations: 2.191 MB / 488.3 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.1782, allocations: 377.2 kB / 488.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.1807, allocations: 0.7314 MB / 489.4 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.1823, allocations: 0.615 MB / 490 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.1825, allocations: 32 kB / 490 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.1835, allocations: 211.8 kB / 490.2 MB, free: 6.012 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003935/0.1839, allocations: 231.2 kB / 490.5 MB, free: 5.785 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.1842, allocations: 157.4 kB / 490.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.1856, allocations: 0.7714 MB / 491.4 MB, free: 4.852 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1856, allocations: 0 / 491.4 MB, free: 4.852 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1856, allocations: 0 / 491.4 MB, free: 4.852 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1857, allocations: 0 / 491.4 MB, free: 4.852 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003023/0.1887, allocations: 0.9231 MB / 492.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.1888, allocations: 8.031 kB / 492.3 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002212/0.189, allocations: 94.52 kB / 492.4 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004792/0.1895, allocations: 83.16 kB / 492.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.1908, allocations: 0.4966 MB / 493 MB, free: 3.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.191, allocations: 100.4 kB / 493.1 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.1911, allocations: 59.92 kB / 493.2 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.1932, allocations: 0.8143 MB / 494 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.1932, allocations: 4 kB / 494 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.1933, allocations: 24 kB / 494 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.88e-05/0.1934, allocations: 44.92 kB / 494 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.1953, allocations: 0.64 MB / 494.7 MB, free: 1.379 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.007754/0.2031, allocations: 4.205 MB / 498.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.2045, allocations: 408 kB / 499.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000544/0.2051, allocations: 205.4 kB / 499.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006906/0.2058, allocations: 0.499 MB / 500 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.2058, allocations: 42.83 kB / 0.4883 GB, free: 11.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 3.577e-06/0.2059, allocations: 0 / 0.4883 GB, free: 11.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.005213/0.2111, allocations: 1.505 MB / 0.4898 GB, free: 10.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/0.2112, allocations: 136.5 kB / 0.4899 GB, free: 9.887 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.2123, allocations: 0.5497 MB / 0.4904 GB, free: 9.328 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.2124, allocations: 33.7 kB / 0.4905 GB, free: 9.289 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.2128, allocations: 367.4 kB / 0.4908 GB, free: 8.922 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.213, allocations: 173.6 kB / 0.491 GB, free: 8.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.2131, allocations: 12 kB / 0.491 GB, free: 8.738 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.2133, allocations: 374.8 kB / 0.4914 GB, free: 8.363 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006633/0.214, allocations: 221.9 kB / 0.4916 GB, free: 8.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009672/0.215, allocations: 0.5411 MB / 0.4921 GB, free: 7.453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008457/0.2158, allocations: 324.6 kB / 0.4924 GB, free: 7.137 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.2158, allocations: 7.938 kB / 0.4924 GB, free: 7.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003262/0.2191, allocations: 0.9686 MB / 0.4934 GB, free: 6.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.2192, allocations: 12.22 kB / 0.4934 GB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.2192, allocations: 12 kB / 0.4934 GB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.221, allocations: 271.9 kB / 0.4936 GB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/0.2219, allocations: 131.8 kB / 0.4938 GB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.2233, allocations: 0.8542 MB / 0.4946 GB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009142/0.2243, allocations: 47.89 kB / 0.4947 GB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.351e-05/0.2244, allocations: 39.98 kB / 0.4947 GB, free: 4.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005074/0.2249, allocations: 252.9 kB / 0.4949 GB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.2251, allocations: 63.25 kB / 0.495 GB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.2272, allocations: 0.7045 MB / 0.4957 GB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.2273, allocations: 11.98 kB / 0.4957 GB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.2273, allocations: 0 / 0.4957 GB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.2273, allocations: 0 / 0.4957 GB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003436/0.2307, allocations: 1.375 MB / 0.497 GB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.2308, allocations: 4 kB / 0.497 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/0.2327, allocations: 192 kB / 0.4972 GB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000575/0.2333, allocations: 68.75 kB / 0.4973 GB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/0.2334, allocations: 15.95 kB / 0.4973 GB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003492/0.2369, allocations: 2.789 MB / 0.5 GB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.2369, allocations: 4.031 kB / 0.5 GB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.2395, allocations: 0.9915 MB / 0.501 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/0.2401, allocations: 196.2 kB / 0.5012 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.2402, allocations: 16 kB / 0.5012 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007035/0.241, allocations: 27.98 kB / 0.5012 GB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.2411, allocations: 35.89 kB / 0.5013 GB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/0.2412, allocations: 23.98 kB / 0.5013 GB, free: 13.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007267/0.2419, allocations: 386.8 kB / 0.5017 GB, free: 13.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.2419, allocations: 0 / 0.5017 GB, free: 13.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001177/0.2431, allocations: 207.9 kB / 0.5019 GB, free: 13.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003351/0.2465, allocations: 1.651 MB / 0.5035 GB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001933/0.2485, allocations: 0.6049 MB / 0.5041 GB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.2485, allocations: 0 / 0.5041 GB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.2505, allocations: 479.8 kB / 0.5045 GB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.2533, allocations: 323.8 kB / 0.5048 GB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.2639, allocations: 4.31 MB / 0.509 GB, free: 5.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/0.2647, allocations: 0.9464 MB / 0.51 GB, free: 4.422 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001314/0.266, allocations: 201.5 kB / 0.5101 GB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000533/0.2666, allocations: 235.4 kB / 0.5104 GB, free: 4 MB / 362.7 MB Notification: Performance of SimCode: time 1.382e-06/0.2666, allocations: 0 / 0.5104 GB, free: 4 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0702/0.3368, allocations: 19.46 MB / 0.5294 GB, free: 0.582 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003456/0.3372, allocations: 294.5 kB / 0.5297 GB, free: 228 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.46/3.797, allocations: 0 / 0.5297 GB, free: 228 kB / 378.7 MB