Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001362, allocations: 115.1 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3634/0.3634, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3042, allocations: 62.03 MB / 0.5152 GB, free: 37.72 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.1438/0.448, allocations: 150.7 MB / 0.6623 GB, free: 2.41 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.4623, allocations: 10.91 MB / 0.673 GB, free: 7.477 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.4635, allocations: 39.69 kB / 0.673 GB, free: 7.438 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.4649, allocations: 358.1 kB / 0.6734 GB, free: 7.086 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003325/0.4682, allocations: 1.362 MB / 0.6747 GB, free: 5.719 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005414/0.4737, allocations: 2.297 MB / 0.6769 GB, free: 3.438 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.2608/0.7345, allocations: 3.914 MB / 0.6808 GB, free: 3.711 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.7359, allocations: 0.6564 MB / 0.6814 GB, free: 3.664 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.7376, allocations: 0.8998 MB / 0.6823 GB, free: 3.664 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.7393, allocations: 1.139 MB / 0.6834 GB, free: 3.656 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.7395, allocations: 56.91 kB / 0.6834 GB, free: 3.656 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/0.743, allocations: 2 MB / 0.6854 GB, free: 3.652 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004287/0.7435, allocations: 363.5 kB / 0.6857 GB, free: 3.652 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006707/0.7441, allocations: 0.5268 MB / 0.6863 GB, free: 3.652 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003676/0.7478, allocations: 2.552 MB / 0.6888 GB, free: 3.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7479, allocations: 0 / 0.6888 GB, free: 3.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7479, allocations: 0 / 0.6888 GB, free: 3.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.7479, allocations: 0 / 0.6888 GB, free: 3.57 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.003632/0.7515, allocations: 1.583 MB / 0.6903 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.7516, allocations: 7.469 kB / 0.6903 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004124/0.752, allocations: 119.7 kB / 0.6904 GB, free: 18.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.7532, allocations: 0.7258 MB / 0.6911 GB, free: 18.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.7533, allocations: 115.4 kB / 0.6912 GB, free: 18.31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.7535, allocations: 64.17 kB / 0.6913 GB, free: 18.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.7554, allocations: 1.208 MB / 0.6925 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.7554, allocations: 5.281 kB / 0.6925 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.54e-05/0.7555, allocations: 26.25 kB / 0.6925 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-05/0.7556, allocations: 78.77 kB / 0.6926 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.7574, allocations: 1.208 MB / 0.6938 GB, free: 18.17 MB / 0.4948 GB 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.008663/0.7661, allocations: 4.883 MB / 0.6985 GB, free: 16.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.7674, allocations: 0.6853 MB / 0.6992 GB, free: 16.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006162/0.768, allocations: 424.4 kB / 0.6996 GB, free: 16.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0033/0.7713, allocations: 2.446 MB / 0.702 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.7714, allocations: 38.12 kB / 0.702 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=52): time 2.284e-06/0.7714, allocations: 0 / 0.702 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.007148/0.7785, allocations: 3.021 MB / 0.705 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.7786, allocations: 164.7 kB / 0.7051 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.7799, allocations: 0.9557 MB / 0.7061 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.433e-05/0.78, allocations: 41.25 kB / 0.7061 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.7803, allocations: 469.8 kB / 0.7066 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.7804, allocations: 207.7 kB / 0.7068 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/0.7808, allocations: 196.7 kB / 0.7069 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7809, allocations: 341.4 kB / 0.7073 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007547/0.7817, allocations: 472.6 kB / 0.7077 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009023/0.7826, allocations: 0.7061 MB / 0.7084 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.784, allocations: 1.087 MB / 0.7095 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.7841, allocations: 3.156 kB / 0.7095 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002433/0.7865, allocations: 1.557 MB / 0.711 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.7865, allocations: 9.281 kB / 0.711 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.7866, allocations: 13.53 kB / 0.711 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.7881, allocations: 0.536 MB / 0.7115 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/0.7888, allocations: 185 kB / 0.7117 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.7912, allocations: 2.939 MB / 0.7146 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000996/0.7922, allocations: 51.17 kB / 0.7146 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.955e-05/0.7923, allocations: 47.45 kB / 0.7147 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009769/0.7933, allocations: 0.6531 MB / 0.7153 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007772/0.7941, allocations: 0.6898 MB / 0.716 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001276/0.7954, allocations: 1.042 MB / 0.717 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.729e-06/0.7954, allocations: 2.406 kB / 0.717 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.002541/0.7979, allocations: 1.528 MB / 0.7185 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.798, allocations: 7.375 kB / 0.7185 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.798, allocations: 5.938 kB / 0.7185 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.799, allocations: 421.5 kB / 0.7189 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.7997, allocations: 188.3 kB / 0.7191 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.802, allocations: 2.827 MB / 0.7219 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.8031, allocations: 53.39 kB / 0.7219 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/0.8032, allocations: 46.97 kB / 0.722 GB, free: 6.641 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.0004466/0.8036, allocations: 245.4 kB / 0.7222 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.8039, allocations: 99.52 kB / 0.7223 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.8063, allocations: 1.387 MB / 0.7236 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.8064, allocations: 15.69 kB / 0.7237 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8064, allocations: 4 kB / 0.7237 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.8064, allocations: 2.062 kB / 0.7237 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/0.81, allocations: 2.342 MB / 0.7259 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.8101, allocations: 4.062 kB / 0.726 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.8105, allocations: 89.94 kB / 0.726 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/0.8121, allocations: 0.5129 MB / 0.7265 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-05/0.8122, allocations: 21.34 kB / 0.7266 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/0.8148, allocations: 2.916 MB / 0.7294 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8148, allocations: 0 / 0.7294 GB, free: 3.336 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.2922/1.107, allocations: 28.99 MB / 0.7577 GB, free: 1.414 MB / 0.5105 GB Error: post-optimization module symbolicJacobian (simulation) failed.