Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0008992/0.0008992, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001151/0.001151, allocations: 177 kB / 23.36 MB, free: 1.129 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.9697/0.9697, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1016/0.1016, allocations: 17.46 MB / 277.7 MB, free: 11.46 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 300.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.39e-05, allocations: 3.156 kB / 300.7 MB, free: 1.781 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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 master/Boundaries.mo:1361:7-1361: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.03503/0.03505, allocations: 37.86 MB / 338.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.04733, allocations: 9.766 MB / 348.3 MB, free: 4.758 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000828/0.04816, allocations: 59.5 kB / 348.4 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.05021, allocations: 0.9125 MB / 349.3 MB, free: 3.781 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.05203, allocations: 1.021 MB / 350.3 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.05471, allocations: 1.131 MB / 351.5 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002484/0.0572, allocations: 2.123 MB / 353.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.05757, allocations: 242.3 kB / 353.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.05861, allocations: 0.9976 MB / 354.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009386/0.05954, allocations: 0.7675 MB / 355.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.05973, allocations: 136 kB / 355.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.06208, allocations: 1.224 MB / 356.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.06238, allocations: 494.2 kB / 357.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000493/0.06287, allocations: 0.5647 MB / 358 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.06601, allocations: 2.608 MB / 360.6 MB, free: 8.414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.06601, allocations: 0 / 360.6 MB, free: 8.414 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.06601, allocations: 0 / 360.6 MB, free: 8.414 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.196e-05/0.06605, allocations: 0 / 360.6 MB, free: 8.414 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.002336/0.06839, allocations: 2.143 MB / 362.7 MB, free: 6.234 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.06843, allocations: 12.03 kB / 362.8 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000853/0.06928, allocations: 0.7822 MB / 363.5 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009264/0.07021, allocations: 0.797 MB / 364.3 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.07036, allocations: 234.3 kB / 364.6 MB, free: 4.352 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.07048, allocations: 156.3 kB / 364.7 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.07203, allocations: 1.785 MB / 366.5 MB, free: 2.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.07206, allocations: 192 / 366.5 MB, free: 2.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.496e-05/0.07212, allocations: 64.11 kB / 366.6 MB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/0.0723, allocations: 255.6 kB / 366.8 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.07431, allocations: 2.578 MB / 369.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00717/0.08148, allocations: 5.929 MB / 375.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.08234, allocations: 0.5 MB / 375.8 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.08273, allocations: 247.8 kB / 376.1 MB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00501/0.08774, allocations: 2.854 MB / 378.9 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.08777, allocations: 39.22 kB / 379 MB, free: 5.812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.855e-06/0.08777, allocations: 0 / 379 MB, free: 5.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.01488/0.1027, allocations: 6.352 MB / 385.3 MB, free: 15.34 MB / 362.7 MB 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 inlineWhenForInitialization (initialization): time 0.0008905/0.1035, allocations: 0.7936 MB / 386.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006438/0.1042, allocations: 0.9519 MB / 387.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/0.1043, allocations: 41.7 kB / 387.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.1046, allocations: 0.91 MB / 388 MB, free: 12.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.1048, allocations: 372.9 kB / 388.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.1052, allocations: 375.1 kB / 388.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.1053, allocations: 309.1 kB / 389 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/0.1057, allocations: 334.7 kB / 389.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007451/0.1065, allocations: 1.055 MB / 390.4 MB, free: 9.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.1079, allocations: 1.664 MB / 392.1 MB, free: 7.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.1079, allocations: 4 kB / 392.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004052/0.1119, allocations: 2.066 MB / 394.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1119, allocations: 20.03 kB / 394.2 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.112, allocations: 24 kB / 394.2 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003613/0.1156, allocations: 1.362 MB / 395.6 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.1168, allocations: 0.5656 MB / 396.1 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005989/0.1228, allocations: 4.955 MB / 401.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.1242, allocations: 71.98 kB / 401.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/0.1244, allocations: 199.9 kB / 401.3 MB, free: 14.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,Ethanol.substanceDefinitionVar.SelfClustering,Ethanol.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * 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 {(4,14,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006344/0.1251, allocations: 239.9 kB / 401.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/0.1254, allocations: 127.9 kB / 401.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005984/0.1314, allocations: 2.134 MB / 403.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.1314, allocations: 8 kB / 403.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1314, allocations: 4 kB / 403.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.1314, allocations: 7.969 kB / 403.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007464/0.1389, allocations: 2.964 MB / 406.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.1389, allocations: 4 kB / 406.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.1403, allocations: 355.8 kB / 407.2 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005724/0.146, allocations: 1.536 MB / 408.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.1461, allocations: 35.97 kB / 408.7 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007769/0.1539, allocations: 4.717 MB / 413.5 MB, free: 1.816 MB / 378.7 MB 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.001101/0.155, allocations: 0.7303 MB / 414.2 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006223/0.1612, allocations: 1.895 MB / 416.1 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.1616, allocations: 119 kB / 416.2 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.1617, allocations: 31.86 kB / 416.2 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.1623, allocations: 36 kB / 416.3 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002912/0.1626, allocations: 104.7 kB / 416.4 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.1627, allocations: 79.95 kB / 416.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005659/0.1633, allocations: 443.9 kB / 416.9 MB, free: 14.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1633, allocations: 0 / 416.9 MB, free: 14.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001965/0.1652, allocations: 0.5269 MB / 417.4 MB, free: 13.79 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 ($STATESET1.x,Ethanol.logm,liquidWater.logm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * 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 {(4,14,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006319/0.1659, allocations: 381.2 kB / 417.8 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002865/0.1687, allocations: 1.469 MB / 419.2 MB, free: 11.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.714e-05/0.1688, allocations: 21.81 kB / 419.3 MB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.1704, allocations: 0.8526 MB / 420.1 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.1715, allocations: 336.4 kB / 420.4 MB, free: 10.69 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4068:9-4068:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:790:5-790:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8866699882782996]