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: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002531/0.002536, allocations: 352.3 kB / 15.95 MB, free: 6.215 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 3.44/3.44, allocations: 341.5 MB / 358.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003599/0.003599, allocations: 229.2 kB / 397.9 MB, free: 4.902 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4626/0.4626, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007355/0.0007358, allocations: 16 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1247, allocations: 48.7 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.5043/0.6292, allocations: 138.5 MB / 0.742 GB, free: 6.215 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02069/0.6499, allocations: 9.789 MB / 0.7516 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.6513, allocations: 39.62 kB / 0.7516 GB, free: 12.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.6531, allocations: 322 kB / 0.7519 GB, free: 12.08 MB / 410.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.005438/0.6586, allocations: 1.388 MB / 0.7533 GB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008629/0.6673, allocations: 2.096 MB / 0.7553 GB, free: 8.605 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005464/0.6727, allocations: 3.212 MB / 0.7585 GB, free: 5.387 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.6745, allocations: 0.6146 MB / 0.7591 GB, free: 4.777 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.677, allocations: 0.8757 MB / 0.7599 GB, free: 3.898 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003005/0.6801, allocations: 1.098 MB / 0.761 GB, free: 2.797 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004095/0.6806, allocations: 55.94 kB / 0.761 GB, free: 2.742 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3328/1.013, allocations: 1.782 MB / 0.7628 GB, free: 7.352 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001193/1.015, allocations: 351.5 kB / 0.7631 GB, free: 7.352 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009443/1.016, allocations: 214.3 kB / 0.7633 GB, free: 7.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005438/1.021, allocations: 1.814 MB / 0.7651 GB, free: 7.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/1.021, allocations: 0.8125 kB / 0.7651 GB, free: 7.262 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.028e-06/1.021, allocations: 0 / 0.7651 GB, free: 7.262 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.949e-05/1.021, allocations: 3.156 kB / 0.7651 GB, free: 7.262 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.006249/1.028, allocations: 1.374 MB / 0.7664 GB, free: 6.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/1.028, allocations: 8.875 kB / 0.7664 GB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/1.029, allocations: 122.7 kB / 0.7666 GB, free: 6.406 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/1.031, allocations: 0.7042 MB / 0.7672 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/1.031, allocations: 118.1 kB / 0.7674 GB, free: 6.074 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004026/1.032, allocations: 68.95 kB / 0.7674 GB, free: 6.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003856/1.036, allocations: 1.196 MB / 0.7686 GB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/1.036, allocations: 1.281 kB / 0.7686 GB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/1.036, allocations: 34.78 kB / 0.7686 GB, free: 5.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002159/1.036, allocations: 75.12 kB / 0.7687 GB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003868/1.04, allocations: 1.197 MB / 0.7699 GB, free: 5.941 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.01579/1.056, allocations: 4.965 MB / 0.7747 GB, free: 3.859 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/1.058, allocations: 0.6577 MB / 0.7754 GB, free: 3.824 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/1.06, allocations: 407.7 kB / 0.7757 GB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006456/1.066, allocations: 2.533 MB / 0.7782 GB, free: 18.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/1.066, allocations: 40.67 kB / 0.7783 GB, free: 18.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.837e-06/1.066, allocations: 0 / 0.7783 GB, free: 18.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.01379/1.08, allocations: 2.906 MB / 0.7811 GB, free: 17.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.08, allocations: 161.2 kB / 0.7812 GB, free: 17.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/1.082, allocations: 0.8878 MB / 0.7821 GB, free: 17.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002971/1.083, allocations: 37.08 kB / 0.7821 GB, free: 17.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/1.083, allocations: 486.1 kB / 0.7826 GB, free: 16.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000298/1.083, allocations: 202.4 kB / 0.7828 GB, free: 16.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/1.083, allocations: 16.53 kB / 0.7828 GB, free: 16.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002442/1.084, allocations: 400.1 kB / 0.7832 GB, free: 16.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/1.085, allocations: 432.3 kB / 0.7836 GB, free: 16.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/1.086, allocations: 0.7475 MB / 0.7843 GB, free: 16.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/1.088, allocations: 0.5073 MB / 0.7848 GB, free: 16.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/1.088, allocations: 1.812 kB / 0.7848 GB, free: 16.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005164/1.093, allocations: 1.515 MB / 0.7863 GB, free: 15.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003656/1.094, allocations: 385.7 kB / 0.7867 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/1.094, allocations: 11.31 kB / 0.7867 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003321/1.097, allocations: 0.514 MB / 0.7872 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/1.099, allocations: 202.5 kB / 0.7874 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005547/1.105, allocations: 2.908 MB / 0.7902 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/1.107, allocations: 59.8 kB / 0.7903 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/1.108, allocations: 50.03 kB / 0.7903 GB, free: 13.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.108, allocations: 4.031 kB / 0.7903 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005516/1.113, allocations: 1.315 MB / 0.7916 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.855e-05/1.113, allocations: 10.25 kB / 0.7916 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002076/1.115, allocations: 338 kB / 0.792 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/1.118, allocations: 199.8 kB / 0.7922 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003998/1.122, allocations: 2.698 MB / 0.7948 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/1.124, allocations: 56.25 kB / 0.7948 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/1.124, allocations: 47.47 kB / 0.7949 GB, free: 10.63 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.001207/1.125, allocations: 384.3 kB / 0.7953 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/1.126, allocations: 96.56 kB / 0.7953 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/1.131, allocations: 1.309 MB / 0.7966 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/1.131, allocations: 4.922 kB / 0.7966 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/1.131, allocations: 1.406 kB / 0.7966 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.132, allocations: 288.2 kB / 0.7969 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003956/1.133, allocations: 12.06 kB / 0.7969 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/1.134, allocations: 36.44 kB / 0.7969 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/1.134, allocations: 55.41 kB / 0.797 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006278/1.141, allocations: 1.17 MB / 0.7981 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004712/1.145, allocations: 1.469 MB / 0.7996 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001277/1.147, allocations: 400.2 kB / 0.8 GB, free: 9.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001664/1.148, allocations: 0.5929 MB / 0.8005 GB, free: 9.48 MB / 426.7 MB Notification: Performance of Backend: time 1.112e-06/1.148, allocations: 0 / 0.8005 GB, free: 9.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01137/1.16, allocations: 2.165 MB / 0.8027 GB, free: 9.047 MB / 426.7 MB Notification: Performance of SimCode: time 0.007737/1.168, allocations: 2.741 MB / 0.8053 GB, free: 7.59 MB / 426.7 MB Notification: Performance of Templates: time 0.07759/1.245, allocations: 28.03 MB / 0.8327 GB, free: 4.688 MB / 442.7 MB