Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 241.6 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 114.2 kB / 291.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3609/0.3609, allocations: 44.13 MB / 386.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 51.91 kB / 457.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3027, allocations: 60.82 MB / 0.5064 GB, free: 38.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.1437/0.4465, allocations: 150.7 MB / 0.6535 GB, free: 8.973 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.4599, allocations: 10.89 MB / 0.6642 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009101/0.4608, allocations: 39.69 kB / 0.6642 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009989/0.4619, allocations: 358.1 kB / 0.6645 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003002/0.4649, allocations: 1.354 MB / 0.6659 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005757/0.4707, allocations: 2.308 MB / 0.6681 GB, free: 10.01 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004036/0.4747, allocations: 3.914 MB / 0.6719 GB, free: 6.09 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.4759, allocations: 0.6566 MB / 0.6726 GB, free: 5.418 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.4775, allocations: 0.8952 MB / 0.6735 GB, free: 4.52 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.4793, allocations: 1.129 MB / 0.6746 GB, free: 3.387 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.4795, allocations: 56 kB / 0.6746 GB, free: 3.332 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00366/0.4832, allocations: 1.992 MB / 0.6766 GB, free: 1.336 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005445/0.4838, allocations: 362.9 kB / 0.6769 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008559/0.4846, allocations: 0.5287 MB / 0.6774 GB, free: 460 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2628/0.7475, allocations: 2.536 MB / 0.6799 GB, free: 8.547 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7475, allocations: 0 / 0.6799 GB, free: 8.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.7475, allocations: 2.219 kB / 0.6799 GB, free: 8.547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.102e-05/0.7476, allocations: 0 / 0.6799 GB, free: 8.547 MB / 490.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.003605/0.7512, allocations: 1.572 MB / 0.6814 GB, free: 7.742 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.7512, allocations: 9.906 kB / 0.6814 GB, free: 7.742 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004097/0.7516, allocations: 123.9 kB / 0.6816 GB, free: 7.688 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.7527, allocations: 0.7189 MB / 0.6823 GB, free: 7.383 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.7529, allocations: 122.9 kB / 0.6824 GB, free: 7.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.753, allocations: 61.19 kB / 0.6824 GB, free: 7.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.7549, allocations: 1.209 MB / 0.6836 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.7549, allocations: 0.75 kB / 0.6836 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.551e-05/0.755, allocations: 29.02 kB / 0.6836 GB, free: 7.195 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.229e-05/0.7551, allocations: 77.78 kB / 0.6837 GB, free: 7.188 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.7569, allocations: 1.21 MB / 0.6849 GB, free: 7.184 MB / 490.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.007332/0.7642, allocations: 4.884 MB / 0.6897 GB, free: 5.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.7654, allocations: 0.6795 MB / 0.6903 GB, free: 5.152 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/0.766, allocations: 433 kB / 0.6907 GB, free: 5.141 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003213/0.7692, allocations: 2.436 MB / 0.6931 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.7693, allocations: 42.03 kB / 0.6932 GB, free: 19.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=52): time 2.114e-06/0.7693, allocations: 0 / 0.6932 GB, free: 19.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.006659/0.7759, allocations: 3.012 MB / 0.6961 GB, free: 19.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.776, allocations: 166.3 kB / 0.6963 GB, free: 18.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.7772, allocations: 0.957 MB / 0.6972 GB, free: 18.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.7773, allocations: 45.7 kB / 0.6972 GB, free: 18.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.7776, allocations: 473.7 kB / 0.6977 GB, free: 18.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.7777, allocations: 198.5 kB / 0.6979 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/0.7781, allocations: 196.9 kB / 0.6981 GB, free: 18.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7782, allocations: 343.8 kB / 0.6984 GB, free: 18.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006793/0.7789, allocations: 468.4 kB / 0.6988 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008098/0.7797, allocations: 0.7111 MB / 0.6995 GB, free: 17.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.7812, allocations: 1.082 MB / 0.7006 GB, free: 17.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.7812, allocations: 2.938 kB / 0.7006 GB, free: 17.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002605/0.7838, allocations: 1.562 MB / 0.7021 GB, free: 17.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.7838, allocations: 8.531 kB / 0.7021 GB, free: 17.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.7839, allocations: 10.59 kB / 0.7021 GB, free: 17.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.7856, allocations: 0.5349 MB / 0.7027 GB, free: 17.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/0.7864, allocations: 185.4 kB / 0.7028 GB, free: 17.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.7892, allocations: 2.932 MB / 0.7057 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.7906, allocations: 54.64 kB / 0.7058 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.7907, allocations: 48.17 kB / 0.7058 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00139/0.7921, allocations: 0.6526 MB / 0.7064 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001193/0.7933, allocations: 0.6934 MB / 0.7071 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001856/0.7952, allocations: 1.043 MB / 0.7081 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.241e-05/0.7952, allocations: 3.516 kB / 0.7081 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.003537/0.7988, allocations: 1.521 MB / 0.7096 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.7988, allocations: 8.422 kB / 0.7096 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.7988, allocations: 6.906 kB / 0.7096 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.8001, allocations: 421.3 kB / 0.71 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008445/0.8009, allocations: 191.1 kB / 0.7102 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.8034, allocations: 2.827 MB / 0.713 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.8047, allocations: 50.41 kB / 0.713 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.8049, allocations: 46.91 kB / 0.7131 GB, free: 11.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 4 (vol1.regularFlow[1],vol1.regularFlow[2],vol1.inFlow[2],vol1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000452/0.8053, allocations: 241.6 kB / 0.7133 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.8057, allocations: 100.3 kB / 0.7134 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003157/0.8088, allocations: 1.398 MB / 0.7148 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.8089, allocations: 12.94 kB / 0.7148 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.8089, allocations: 3.938 kB / 0.7148 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.8089, allocations: 3.516 kB / 0.7148 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/0.8134, allocations: 2.336 MB / 0.7171 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.8135, allocations: 6.281 kB / 0.7171 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.814, allocations: 93.88 kB / 0.7172 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/0.8155, allocations: 0.5135 MB / 0.7177 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.081e-05/0.8156, allocations: 19.97 kB / 0.7177 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00251/0.8181, allocations: 2.917 MB / 0.7205 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8182, allocations: 0 / 0.7205 GB, free: 8.398 MB / 0.4948 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2595/1.078, allocations: 28.76 MB / 0.7486 GB, free: 11.37 MB / 0.5105 GB Error: post-optimization module symbolicJacobian (simulation) failed.