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.0006392/0.0006392, allocations: 73.17 kB / 9.984 MB, free: 0.6953 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008605/0.0015, allocations: 455.9 kB / 10.43 MB, free: 256 kB / 10.45 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.0006654/0.0006654, allocations: 161.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008551/0.00152, allocations: 475.6 kB / 11.8 MB, free: 2.359 MB / 13.93 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.9912/0.9912, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08283/1.074, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.09036/0.09036, allocations: 17.44 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01178/0.1021, allocations: 6.974 MB / 268.6 MB, free: 6.277 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 9.01e-07/9.01e-07, allocations: 0 / 269.9 MB, free: 4.992 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.408e-06/1.031e-05, allocations: 6.25 kB / 269.9 MB, free: 4.984 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1501/0.1501, allocations: 8.48 MB / 278.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01615/0.1662, allocations: 9.881 MB / 288.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009327/0.1672, allocations: 54.72 kB / 288.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.1692, allocations: 0.9161 MB / 289.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.171, allocations: 1.003 MB / 290.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.1732, allocations: 1.12 MB / 291.3 MB, free: 9.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002004/0.1752, allocations: 2.099 MB / 293.4 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.1755, allocations: 250 kB / 293.7 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.1766, allocations: 1.063 MB / 294.7 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008887/0.1775, allocations: 0.7772 MB / 295.5 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.1776, allocations: 136.4 kB / 295.6 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.1797, allocations: 1.273 MB / 296.9 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.18, allocations: 419.6 kB / 297.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004741/0.1805, allocations: 491.6 kB / 297.8 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.1828, allocations: 2.383 MB / 300.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.1828, allocations: 7.984 kB / 300.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1828, allocations: 3.938 kB / 300.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.527e-05/0.1828, allocations: 0 / 300.2 MB, free: 3.969 MB / 282.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.00228/0.1851, allocations: 2.522 MB / 302.7 MB, free: 1.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.1851, allocations: 8.031 kB / 302.7 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000824/0.186, allocations: 0.8657 MB / 303.6 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008617/0.1868, allocations: 0.7893 MB / 304.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.1869, allocations: 234.3 kB / 304.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.1871, allocations: 152.3 kB / 304.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.1885, allocations: 1.786 MB / 306.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.1885, allocations: 8.125 kB / 306.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.1886, allocations: 67.02 kB / 306.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/0.1888, allocations: 243.6 kB / 306.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.1908, allocations: 2.57 MB / 309.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006022/0.1968, allocations: 5.953 MB / 315.4 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.1974, allocations: 0.501 MB / 315.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.1976, allocations: 255.8 kB / 316.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003396/0.201, allocations: 2.85 MB / 319 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.2011, allocations: 39.22 kB / 319 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 1.512e-06/0.2011, allocations: 0 / 319 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of matching and sorting (n=86): time 0.01497/0.216, allocations: 5.862 MB / 324.9 MB, free: 11 MB / 314.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.0009267/0.217, allocations: 0.8232 MB / 325.7 MB, free: 10.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005819/0.2175, allocations: 0.9558 MB / 326.7 MB, free: 9.172 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.2176, allocations: 41.7 kB / 326.7 MB, free: 9.125 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.218, allocations: 0.9137 MB / 327.6 MB, free: 8.195 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.2182, allocations: 333.2 kB / 327.9 MB, free: 7.867 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003808/0.2186, allocations: 343.2 kB / 328.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.2186, allocations: 301.1 kB / 328.6 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.2191, allocations: 294.7 kB / 328.8 MB, free: 6.941 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008432/0.2199, allocations: 1.001 MB / 329.8 MB, free: 5.598 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.2212, allocations: 1.551 MB / 331.4 MB, free: 3.699 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/0.2213, allocations: 8 kB / 331.4 MB, free: 3.691 MB / 314.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005161/0.2264, allocations: 2.042 MB / 333.4 MB, free: 1.633 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2264, allocations: 16 kB / 333.5 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.2265, allocations: 24 kB / 333.5 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004246/0.2307, allocations: 1.41 MB / 334.9 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.2323, allocations: 0.7723 MB / 335.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006585/0.2389, allocations: 4.806 MB / 340.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/0.2396, allocations: 75.98 kB / 340.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.2398, allocations: 171.9 kB / 340.7 MB, free: 10.16 MB / 330.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 (173): * Single equations (assignments): 170 * 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.0004688/0.2402, allocations: 224.8 kB / 340.9 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.2404, allocations: 123.9 kB / 341.1 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0056/0.246, allocations: 2.172 MB / 343.2 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.246, allocations: 8 kB / 343.2 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.246, allocations: 4 kB / 343.2 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2461, allocations: 3.984 kB / 343.2 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006297/0.2524, allocations: 2.979 MB / 346.2 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.2524, allocations: 3.938 kB / 346.2 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.2536, allocations: 0.519 MB / 346.7 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.2537, allocations: 115 kB / 346.9 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005789/0.2595, allocations: 2.001 MB / 348.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-05/0.2596, allocations: 43.95 kB / 348.9 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006544/0.2661, allocations: 4.988 MB / 353.9 MB, free: 12.64 MB / 346.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.001174/0.2673, allocations: 0.7391 MB / 354.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005072/0.2724, allocations: 1.973 MB / 356.6 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.2725, allocations: 23.95 kB / 356.6 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.2728, allocations: 27.98 kB / 356.7 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.273, allocations: 100.8 kB / 356.8 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.951e-05/0.2731, allocations: 71.97 kB / 356.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003295/0.2734, allocations: 451.5 kB / 357.3 MB, free: 9.191 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2734, allocations: 4 kB / 357.3 MB, free: 9.188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001265/0.2747, allocations: 0.4958 MB / 357.8 MB, free: 8.691 MB / 346.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 (63): * Single equations (assignments): 60 * 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.0004317/0.2751, allocations: 340.1 kB / 358.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002936/0.278, allocations: 1.454 MB / 359.6 MB, free: 6.883 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.159e-05/0.2781, allocations: 25.81 kB / 359.6 MB, free: 6.859 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.2801, allocations: 0.9452 MB / 360.5 MB, free: 5.891 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.2816, allocations: 2.17 MB / 362.7 MB, free: 3.375 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4647:9-4647:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:793:5-793: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.7971037235110998]