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.0008297/0.0008297, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 13.93 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.0007513/0.0007513, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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 0.9531/0.9531, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 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.09611/0.09611, allocations: 17.38 MB / 277.4 MB, free: 11.88 MB / 266.7 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.0009109/0.0009109, allocations: 63.89 kB / 412.8 MB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3769, allocations: 59.83 MB / 472.6 MB, free: 29.83 MB / 410.7 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.03838/0.4153, allocations: 28.19 MB / 0.4891 GB, free: 18.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009699/0.425, allocations: 7.822 MB / 0.4967 GB, free: 11.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007906/0.4258, allocations: 27.88 kB / 0.4968 GB, free: 11.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002034/0.4278, allocations: 0.8288 MB / 0.4976 GB, free: 11.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.4293, allocations: 0.7731 MB / 0.4983 GB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.4314, allocations: 0.91 MB / 0.4992 GB, free: 9.941 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.4332, allocations: 1.889 MB / 0.5011 GB, free: 8.254 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.4335, allocations: 210.3 kB / 0.5013 GB, free: 8.047 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008738/0.4344, allocations: 0.9491 MB / 0.5022 GB, free: 7.266 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006782/0.4351, allocations: 0.6228 MB / 0.5028 GB, free: 6.762 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.4352, allocations: 136 kB / 0.5029 GB, free: 6.629 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.4372, allocations: 1.022 MB / 0.5039 GB, free: 5.738 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.4375, allocations: 463.6 kB / 0.5044 GB, free: 5.359 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004317/0.438, allocations: 0.6821 MB / 0.505 GB, free: 4.727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.4415, allocations: 3.18 MB / 0.5081 GB, free: 2.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4415, allocations: 0 / 0.5081 GB, free: 2.305 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4415, allocations: 0 / 0.5081 GB, free: 2.305 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.218e-05/0.4416, allocations: 0 / 0.5081 GB, free: 2.305 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: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.002669/0.4442, allocations: 2.131 MB / 0.5102 GB, free: 368 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.4443, allocations: 11.97 kB / 0.5102 GB, free: 356 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000758/0.445, allocations: 400.8 kB / 0.5106 GB, free: 0 / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.4462, allocations: 0.8298 MB / 0.5114 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/0.4465, allocations: 326.5 kB / 0.5117 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.4467, allocations: 149.7 kB / 0.5119 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007044/0.4537, allocations: 7.383 MB / 0.5191 GB, free: 7.945 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.4538, allocations: 4 kB / 0.5191 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.403e-05/0.4539, allocations: 59.98 kB / 0.5191 GB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002791/0.4541, allocations: 278.6 kB / 0.5194 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/0.4649, allocations: 13.39 MB / 0.5325 GB, free: 10.63 MB / 442.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.01718/0.4821, allocations: 16.92 MB / 0.549 GB, free: 9.633 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/0.4854, allocations: 3.526 MB / 0.5524 GB, free: 6.098 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/0.4878, allocations: 2.745 MB / 0.5551 GB, free: 3.348 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/0.4894, allocations: 0.6503 MB / 0.5558 GB, free: 2.695 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4894, allocations: 43.56 kB / 0.5558 GB, free: 2.645 MB / 458.7 MB Notification: Performance of pre-optimization done (n=90): time 4.038e-06/0.4894, allocations: 0 / 0.5558 GB, free: 2.645 MB / 458.7 MB Notification: Performance of matching and sorting (n=146): time 0.06052/0.5499, allocations: 30.94 MB / 0.586 GB, free: 3.641 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07074/0.6207, allocations: 40.6 MB / 0.6257 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.6218, allocations: 0.9522 MB / 0.6266 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005365/0.6223, allocations: 53.69 kB / 0.6266 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/0.6229, allocations: 0.8443 MB / 0.6275 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005496/0.6234, allocations: 0.5112 MB / 0.628 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008894/0.6243, allocations: 0.511 MB / 0.6285 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.638e-05/0.6244, allocations: 305.1 kB / 0.6288 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005017/0.6294, allocations: 4.896 MB / 0.6335 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3056/0.935, allocations: 5.156 MB / 0.6386 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007979/0.943, allocations: 6.773 MB / 0.6452 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.943, allocations: 3.031 kB / 0.6452 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.02036/0.9634, allocations: 13.6 MB / 0.6585 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.9634, allocations: 10.16 kB / 0.6585 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.9634, allocations: 10.34 kB / 0.6585 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01666/0.9801, allocations: 6.99 MB / 0.6653 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/0.9828, allocations: 0.6212 MB / 0.6659 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02761/1.01, allocations: 26.39 MB / 0.6917 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/1.013, allocations: 176.9 kB / 0.6919 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003926/1.013, allocations: 355.8 kB / 0.6922 GB, free: 115.4 MB / 0.5261 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.00148/1.014, allocations: 0.5101 MB / 0.6927 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003685/1.015, allocations: 133.8 kB / 0.6928 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/1.029, allocations: 8.898 MB / 0.7015 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01204/1.041, allocations: 7.385 MB / 0.7087 GB, free: 98.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.041, allocations: 7.984 kB / 0.7087 GB, free: 98.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/1.041, allocations: 8.688 kB / 0.7087 GB, free: 98.51 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/1.061, allocations: 14.34 MB / 0.7227 GB, free: 83.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.061, allocations: 6.719 kB / 0.7228 GB, free: 83.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.062, allocations: 355.2 kB / 0.7231 GB, free: 83.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02536/1.088, allocations: 7.108 MB / 0.73 GB, free: 76.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/1.088, allocations: 95.89 kB / 0.7301 GB, free: 76.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/1.103, allocations: 11.49 MB / 0.7414 GB, free: 64.93 MB / 0.5261 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.02011/1.123, allocations: 5.725 MB / 0.7469 GB, free: 59.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/1.139, allocations: 11.54 MB / 0.7582 GB, free: 47.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/1.139, allocations: 156.5 kB / 0.7584 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/1.139, allocations: 46.45 kB / 0.7584 GB, free: 47.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.141, allocations: 119.8 kB / 0.7585 GB, free: 47.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005081/1.141, allocations: 192.9 kB / 0.7587 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001986/1.141, allocations: 163.9 kB / 0.7589 GB, free: 46.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009564/1.142, allocations: 1.176 MB / 0.76 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/1.142, allocations: 2.688 kB / 0.76 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002761/1.145, allocations: 0.9307 MB / 0.7609 GB, free: 44.85 MB / 0.5261 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.0007414/1.146, allocations: 374.8 kB / 0.7613 GB, free: 44.56 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007443/1.153, allocations: 7.46 MB / 0.7686 GB, free: 37.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.153, allocations: 0 / 0.7686 GB, free: 37.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003562/1.157, allocations: 2.899 MB / 0.7714 GB, free: 34.22 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/1.158, allocations: 327.8 kB / 0.7717 GB, free: 33.93 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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.047798723098822] Failed to read output from testmodel.py, exit status != 0: 1.164738052058965 1.170928422 0.7278796030000001 Calling exit ...