Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfAlcohol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 78.33 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 158.6 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.366/1.366, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1257/0.1257, allocations: 17.36 MB / 277.1 MB, free: 15.25 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 66.88 kB / 412.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1035, allocations: 59.85 MB / 472.3 MB, free: 9.754 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.4419/0.5454, allocations: 27.99 MB / 0.4885 GB, free: 38.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008833/0.5543, allocations: 7.831 MB / 0.4962 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008403/0.5551, allocations: 27.66 kB / 0.4962 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002224/0.5573, allocations: 0.8275 MB / 0.497 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.559, allocations: 0.7687 MB / 0.4978 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.5612, allocations: 0.9064 MB / 0.4986 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00214/0.5634, allocations: 1.888 MB / 0.5005 GB, free: 33.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003285/0.5637, allocations: 213.3 kB / 0.5007 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005768/0.5643, allocations: 0.6156 MB / 0.5013 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006241/0.5649, allocations: 0.6224 MB / 0.5019 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.5651, allocations: 139.2 kB / 0.502 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.5676, allocations: 1.009 MB / 0.503 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.5679, allocations: 467.2 kB / 0.5035 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000517/0.5684, allocations: 0.6772 MB / 0.5041 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003557/0.5719, allocations: 3.173 MB / 0.5072 GB, free: 30.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5719, allocations: 0 / 0.5072 GB, free: 30.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5719, allocations: 3.938 kB / 0.5072 GB, free: 30.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.572, allocations: 0 / 0.5072 GB, free: 30.66 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.002891/0.5748, allocations: 2.141 MB / 0.5093 GB, free: 29.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.5749, allocations: 10.03 kB / 0.5093 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.5758, allocations: 390.5 kB / 0.5097 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.5769, allocations: 0.8324 MB / 0.5105 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/0.5772, allocations: 325.5 kB / 0.5108 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.5774, allocations: 146.2 kB / 0.511 GB, free: 28.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006406/0.5838, allocations: 7.394 MB / 0.5182 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.436e-05/0.5838, allocations: 0 / 0.5182 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.561e-05/0.5839, allocations: 59.98 kB / 0.5182 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002615/0.5841, allocations: 281.4 kB / 0.5185 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009608/0.5938, allocations: 13.39 MB / 0.5316 GB, free: 17.83 MB / 446.1 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.01904/0.6128, allocations: 16.9 MB / 0.5481 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/0.6169, allocations: 3.533 MB / 0.5515 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003827/0.6207, allocations: 2.752 MB / 0.5542 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00196/0.6227, allocations: 0.639 MB / 0.5549 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.6227, allocations: 40.12 kB / 0.5549 GB, free: 12.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.576e-06/0.6227, allocations: 4 kB / 0.5549 GB, free: 12.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1145/0.7372, allocations: 30.94 MB / 0.5851 GB, free: 436 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1358/0.8731, allocations: 40.6 MB / 0.6248 GB, free: 7.551 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.8746, allocations: 0.9562 MB / 0.6257 GB, free: 6.57 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005237/0.8752, allocations: 49.7 kB / 0.6257 GB, free: 6.516 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007144/0.8759, allocations: 0.8443 MB / 0.6266 GB, free: 5.66 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009566/0.8768, allocations: 0.5113 MB / 0.6271 GB, free: 5.145 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001779/0.8786, allocations: 0.5188 MB / 0.6276 GB, free: 4.617 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8787, allocations: 305.1 kB / 0.6279 GB, free: 4.316 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006898/0.8856, allocations: 4.9 MB / 0.6326 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007115/0.8927, allocations: 5.152 MB / 0.6377 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/0.9035, allocations: 6.776 MB / 0.6443 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.9035, allocations: 4 kB / 0.6443 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03368/0.9372, allocations: 13.6 MB / 0.6576 GB, free: 5.684 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.9372, allocations: 8 kB / 0.6576 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.9372, allocations: 8 kB / 0.6576 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.028/0.9652, allocations: 6.988 MB / 0.6644 GB, free: 14.67 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00441/0.9696, allocations: 0.6319 MB / 0.665 GB, free: 14.04 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04785/1.017, allocations: 26.4 MB / 0.6908 GB, free: 3.469 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/1.021, allocations: 175.8 kB / 0.691 GB, free: 3.297 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009641/1.022, allocations: 355.8 kB / 0.6913 GB, free: 2.949 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 129 * Array equations: 2 * 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 {(5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001713/1.024, allocations: 0.5057 MB / 0.6918 GB, free: 2.434 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008143/1.025, allocations: 131.2 kB / 0.6919 GB, free: 2.305 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2291/1.254, allocations: 8.892 MB / 0.7006 GB, free: 182.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01969/1.273, allocations: 7.388 MB / 0.7078 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/1.273, allocations: 3.188 kB / 0.7078 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/1.273, allocations: 9.688 kB / 0.7078 GB, free: 179.8 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03044/1.304, allocations: 14.34 MB / 0.7219 GB, free: 173.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/1.304, allocations: 5.062 kB / 0.7219 GB, free: 173.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002815/1.307, allocations: 355 kB / 0.7222 GB, free: 173.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04995/1.357, allocations: 7.101 MB / 0.7291 GB, free: 172 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004359/1.357, allocations: 93.11 kB / 0.7292 GB, free: 172 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02433/1.381, allocations: 11.5 MB / 0.7404 GB, free: 165.9 MB / 0.5763 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04214/1.423, allocations: 5.732 MB / 0.746 GB, free: 164.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02828/1.452, allocations: 11.54 MB / 0.7573 GB, free: 158.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/1.452, allocations: 152.3 kB / 0.7575 GB, free: 158.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005947/1.453, allocations: 43.69 kB / 0.7575 GB, free: 158.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/1.456, allocations: 121.1 kB / 0.7576 GB, free: 158.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006725/1.456, allocations: 191.9 kB / 0.7578 GB, free: 158.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003622/1.457, allocations: 163.5 kB / 0.758 GB, free: 158.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.001225/1.458, allocations: 1.178 MB / 0.7591 GB, free: 156.9 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/1.458, allocations: 0 / 0.7591 GB, free: 156.9 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.002614/1.46, allocations: 0.9346 MB / 0.76 GB, free: 156 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 2 ($cse34,$cse27) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008234/1.461, allocations: 377 kB / 0.7604 GB, free: 155.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.009863/1.471, allocations: 7.458 MB / 0.7677 GB, free: 148.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.471, allocations: 0 / 0.7677 GB, free: 148.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005611/1.477, allocations: 2.902 MB / 0.7705 GB, free: 145.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/1.479, allocations: 316.6 kB / 0.7708 GB, free: 145.1 MB / 0.5763 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.7680832039332017] Failed to read output from testmodel.py, exit status != 0: 1.4873684000922367 1.4964461949999999 0.922288702 Calling exit ...