Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",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.01017/0.01017, 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.993/1.993, 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.002743/0.002743, 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.4627/0.4627, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.000485, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 48.7 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.5112/0.6268, allocations: 138.5 MB / 0.5373 GB, free: 3.016 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02144/0.6483, allocations: 9.793 MB / 0.5469 GB, free: 9.203 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.6497, allocations: 35.69 kB / 0.5469 GB, free: 9.168 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.6512, allocations: 318 kB / 0.5472 GB, free: 8.855 MB / 394.7 MB [/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. [/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.005345/0.6566, allocations: 1.389 MB / 0.5486 GB, free: 7.461 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008724/0.6653, allocations: 2.103 MB / 0.5506 GB, free: 5.371 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005812/0.6712, allocations: 3.208 MB / 0.5538 GB, free: 2.156 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.6728, allocations: 0.6094 MB / 0.5544 GB, free: 1.539 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/0.6757, allocations: 0.8797 MB / 0.5552 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/0.6789, allocations: 1.098 MB / 0.5563 GB, free: 15.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003478/0.6793, allocations: 56 kB / 0.5563 GB, free: 15.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005497/0.6848, allocations: 1.786 MB / 0.5581 GB, free: 13.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006921/0.6855, allocations: 351 kB / 0.5584 GB, free: 13.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005011/0.6861, allocations: 213.2 kB / 0.5586 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00418/0.6903, allocations: 1.824 MB / 0.5604 GB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.6903, allocations: 4 kB / 0.5604 GB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6903, allocations: 0 / 0.5604 GB, free: 11.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.6903, allocations: 0 / 0.5604 GB, free: 11.32 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004946/0.6953, allocations: 1.371 MB / 0.5617 GB, free: 9.898 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.6954, allocations: 12.03 kB / 0.5618 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002805/0.6957, allocations: 123 kB / 0.5619 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005533/0.6962, allocations: 114.8 kB / 0.562 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.6981, allocations: 0.7102 MB / 0.5627 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.6983, allocations: 116.6 kB / 0.5628 GB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.6985, allocations: 71.92 kB / 0.5629 GB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003378/0.7019, allocations: 1.197 MB / 0.564 GB, free: 7.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.702, allocations: 4 kB / 0.564 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.7022, allocations: 31.98 kB / 0.5641 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001872/0.7024, allocations: 73.94 kB / 0.5641 GB, free: 7.363 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/0.7059, allocations: 1.198 MB / 0.5653 GB, free: 6.164 MB / 410.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.01483/0.7208, allocations: 4.952 MB / 0.5701 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.7229, allocations: 0.6559 MB / 0.5708 GB, free: 264 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.7241, allocations: 410.3 kB / 0.5712 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005635/0.7298, allocations: 2.53 MB / 0.5736 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.7299, allocations: 39 kB / 0.5737 GB, free: 13.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.046e-06/0.7299, allocations: 0 / 0.5737 GB, free: 13.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.01232/0.7422, allocations: 2.905 MB / 0.5765 GB, free: 10.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.7424, allocations: 166.8 kB / 0.5767 GB, free: 9.805 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.7442, allocations: 0.8837 MB / 0.5775 GB, free: 8.914 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.7444, allocations: 37.7 kB / 0.5776 GB, free: 8.871 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/0.745, allocations: 490.5 kB / 0.578 GB, free: 8.387 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.7453, allocations: 201.2 kB / 0.5782 GB, free: 8.188 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.7454, allocations: 16 kB / 0.5783 GB, free: 8.172 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002628/0.7457, allocations: 406.7 kB / 0.5786 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.747, allocations: 425.8 kB / 0.579 GB, free: 7.348 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.7486, allocations: 0.7512 MB / 0.5798 GB, free: 6.445 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.7501, allocations: 0.5067 MB / 0.5803 GB, free: 5.938 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.7501, allocations: 4 kB / 0.5803 GB, free: 5.934 MB / 426.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004354/0.7545, allocations: 1.519 MB / 0.5818 GB, free: 4.379 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003518/0.7549, allocations: 377.1 kB / 0.5821 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/0.7549, allocations: 11.95 kB / 0.5821 GB, free: 3.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002734/0.7576, allocations: 0.5099 MB / 0.5826 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.7592, allocations: 203.6 kB / 0.5828 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004137/0.7634, allocations: 2.912 MB / 0.5857 GB, free: 52 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2873/1.051, allocations: 54.45 kB / 0.5857 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003821/1.051, allocations: 46.16 kB / 0.5858 GB, free: 137.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/1.051, allocations: 6.625 kB / 0.5858 GB, free: 137.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004355/1.056, allocations: 1.317 MB / 0.5871 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.304e-05/1.056, allocations: 9.656 kB / 0.5871 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/1.057, allocations: 338.4 kB / 0.5874 GB, free: 137.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/1.059, allocations: 203.2 kB / 0.5876 GB, free: 137.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/1.062, allocations: 2.698 MB / 0.5902 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/1.063, allocations: 53.98 kB / 0.5903 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/1.064, allocations: 50.06 kB / 0.5903 GB, free: 135.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008296/1.064, allocations: 375.9 kB / 0.5907 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/1.065, allocations: 93.34 kB / 0.5908 GB, free: 134.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/1.069, allocations: 1.323 MB / 0.5921 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.342e-05/1.069, allocations: 8.312 kB / 0.5921 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/1.069, allocations: 0 / 0.5921 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/1.069, allocations: 6.562 kB / 0.5921 GB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007059/1.076, allocations: 2.278 MB / 0.5943 GB, free: 134.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/1.076, allocations: 0.9062 kB / 0.5943 GB, free: 134.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009222/1.077, allocations: 94.11 kB / 0.5944 GB, free: 134.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002529/1.08, allocations: 0.5062 MB / 0.5949 GB, free: 134.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/1.08, allocations: 20.81 kB / 0.5949 GB, free: 134.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003253/1.083, allocations: 2.898 MB / 0.5977 GB, free: 131.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/1.083, allocations: 3.328 kB / 0.5977 GB, free: 131.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004351/1.088, allocations: 1.726 MB / 0.5994 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008534/1.089, allocations: 283.9 kB / 0.5997 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/1.089, allocations: 21.84 kB / 0.5997 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.09, allocations: 40.2 kB / 0.5997 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/1.09, allocations: 58.33 kB / 0.5998 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.09, allocations: 22.77 kB / 0.5998 GB, free: 130.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00119/1.092, allocations: 0.5943 MB / 0.6004 GB, free: 130.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.092, allocations: 0 / 0.6004 GB, free: 130.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003329/1.095, allocations: 0.784 MB / 0.6012 GB, free: 130.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006894/1.102, allocations: 2.794 MB / 0.6039 GB, free: 128.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006138/1.108, allocations: 1.847 MB / 0.6057 GB, free: 128.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.108, allocations: 0 / 0.6057 GB, free: 128.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002296/1.11, allocations: 0.576 MB / 0.6063 GB, free: 127.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/1.114, allocations: 353.2 kB / 0.6066 GB, free: 127.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/1.132, allocations: 6.707 MB / 0.6132 GB, free: 124.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006783/1.132, allocations: 1.077 MB / 0.6142 GB, free: 123.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002345/1.135, allocations: 420.4 kB / 0.6146 GB, free: 123.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008166/1.136, allocations: 357.1 kB / 0.6149 GB, free: 123.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/1.136, allocations: 0 / 0.6149 GB, free: 123.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09817/1.234, allocations: 34.27 MB / 0.6484 GB, free: 104.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/1.234, allocations: 271.4 kB / 0.6487 GB, free: 104.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.404/5.638, allocations: 0 / 0.6487 GB, free: 104.2 MB / 426.7 MB