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.001665/0.001665, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.002458/0.002458, allocations: 214.7 kB / 22.3 MB, free: 5.281 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.653/1.653, allocations: 230.6 MB / 256.1 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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.1985/0.1985, allocations: 23.88 MB / 336.4 MB, free: 10.91 MB / 270.1 MB " [Timeout remaining time 179] 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.00249/0.00249, allocations: 67.91 kB / 471.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3815, allocations: 59.86 MB / 0.5191 GB, free: 9.824 MB / 382.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.08062/0.4621, allocations: 27.98 MB / 0.5464 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01512/0.4773, allocations: 7.823 MB / 0.5541 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.479, allocations: 23.88 kB / 0.5541 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003031/0.482, allocations: 0.8245 MB / 0.5549 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.4848, allocations: 0.7853 MB / 0.5557 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.4878, allocations: 0.8982 MB / 0.5565 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003312/0.4911, allocations: 1.896 MB / 0.5584 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004561/0.4915, allocations: 226.1 kB / 0.5586 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.4926, allocations: 0.6089 MB / 0.5592 GB, free: 136 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.4936, allocations: 0.6191 MB / 0.5598 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.4938, allocations: 140 kB / 0.5599 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.4975, allocations: 1.01 MB / 0.5609 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006076/0.4981, allocations: 463.8 kB / 0.5614 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008711/0.4989, allocations: 0.6852 MB / 0.562 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005617/0.5046, allocations: 3.162 MB / 0.5651 GB, free: 10.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.5046, allocations: 0 / 0.5651 GB, free: 10.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.848e-06/0.5046, allocations: 4 kB / 0.5651 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.5046, allocations: 3.938 kB / 0.5651 GB, free: 10.62 MB / 414.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.003885/0.5085, allocations: 2.134 MB / 0.5672 GB, free: 8.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5085, allocations: 12.03 kB / 0.5672 GB, free: 8.434 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.5096, allocations: 395.3 kB / 0.5676 GB, free: 8.047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.5109, allocations: 0.829 MB / 0.5684 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/0.5113, allocations: 330.1 kB / 0.5687 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.5115, allocations: 148.3 kB / 0.5689 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008426/0.5199, allocations: 7.391 MB / 0.5761 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.5199, allocations: 0 / 0.5761 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.5201, allocations: 63.98 kB / 0.5762 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003307/0.5204, allocations: 275.5 kB / 0.5764 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01463/0.535, allocations: 13.38 MB / 0.5895 GB, free: 1.566 MB / 430.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.02625/0.5613, allocations: 16.92 MB / 0.606 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005321/0.5666, allocations: 3.534 MB / 0.6095 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003931/0.5705, allocations: 2.745 MB / 0.6121 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001879/0.5724, allocations: 0.6425 MB / 0.6128 GB, free: 9.613 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.5725, allocations: 43.56 kB / 0.6128 GB, free: 9.562 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.807e-06/0.5725, allocations: 4 kB / 0.6128 GB, free: 9.559 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1188/0.6913, allocations: 30.94 MB / 0.643 GB, free: 10.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1428/0.8341, allocations: 40.6 MB / 0.6827 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.8358, allocations: 0.9562 MB / 0.6836 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005303/0.8363, allocations: 45.7 kB / 0.6837 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007419/0.837, allocations: 0.8482 MB / 0.6845 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009925/0.838, allocations: 0.5151 MB / 0.685 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001696/0.8397, allocations: 0.5071 MB / 0.6855 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.8399, allocations: 309.1 kB / 0.6858 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007185/0.847, allocations: 4.904 MB / 0.6906 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007617/0.8547, allocations: 5.152 MB / 0.6956 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.8659, allocations: 6.776 MB / 0.7022 GB, free: 13.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.8659, allocations: 0 / 0.7022 GB, free: 13.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03568/0.9016, allocations: 13.6 MB / 0.7155 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.9016, allocations: 10.81 kB / 0.7155 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.9016, allocations: 4 kB / 0.7155 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0298/0.9314, allocations: 6.989 MB / 0.7223 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004481/0.9359, allocations: 0.628 MB / 0.723 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3493/1.285, allocations: 26.37 MB / 0.7487 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003818/1.289, allocations: 176.1 kB / 0.7489 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/1.29, allocations: 355.9 kB / 0.7492 GB, free: 175.7 MB / 0.5606 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.002183/1.292, allocations: 0.5032 MB / 0.7497 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000952/1.293, allocations: 131.7 kB / 0.7498 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02753/1.321, allocations: 8.897 MB / 0.7585 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02834/1.349, allocations: 7.399 MB / 0.7657 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.325e-05/1.349, allocations: 13.67 kB / 0.7658 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-05/1.349, allocations: 7.969 kB / 0.7658 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04412/1.393, allocations: 14.32 MB / 0.7798 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/1.393, allocations: 4 kB / 0.7798 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002936/1.396, allocations: 358.1 kB / 0.7801 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0505/1.447, allocations: 7.107 MB / 0.787 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005335/1.447, allocations: 91.91 kB / 0.7871 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02402/1.471, allocations: 11.5 MB / 0.7984 GB, free: 138.1 MB / 0.5606 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.04193/1.513, allocations: 5.723 MB / 0.8039 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02805/1.541, allocations: 11.55 MB / 0.8152 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005627/1.542, allocations: 147.2 kB / 0.8154 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008693/1.543, allocations: 32 kB / 0.8154 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003018/1.546, allocations: 119.8 kB / 0.8155 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009014/1.547, allocations: 200.9 kB / 0.8157 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004934/1.547, allocations: 163.8 kB / 0.8159 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001623/1.549, allocations: 1.175 MB / 0.817 GB, free: 119 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.549, allocations: 4 kB / 0.817 GB, free: 119 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00419/1.553, allocations: 0.9317 MB / 0.8179 GB, free: 118.1 MB / 0.5606 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.001154/1.554, allocations: 394.4 kB / 0.8183 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01236/1.567, allocations: 7.443 MB / 0.8256 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/1.567, allocations: 4 kB / 0.8256 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006696/1.573, allocations: 2.908 MB / 0.8284 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/1.576, allocations: 315.6 kB / 0.8287 GB, free: 107.2 MB / 0.5606 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 658] [Calling sys.exit(0), Time elapsed: 4.512587109580636] Failed to read output from testmodel.py, exit status != 0: 1.5872576963156462 1.596965968 1.090000983 Calling exit ...