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.0007523/0.0007523, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008808/0.001633, allocations: 435.8 kB / 10.33 MB, free: 368 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.001629/0.001629, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001675/0.003305, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.042/1.042, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08935/1.131, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.1041/0.1041, allocations: 17.44 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03707/0.1412, allocations: 6.967 MB / 268.4 MB, free: 6.402 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 1.503e-06/1.503e-06, allocations: 0 / 269.6 MB, free: 5.137 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111e-05/1.261e-05, allocations: 2.312 kB / 269.6 MB, free: 5.133 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.1383/0.1383, allocations: 8.48 MB / 278.1 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01694/0.1553, allocations: 9.864 MB / 288 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008617/0.1561, allocations: 58.28 kB / 288 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.1581, allocations: 0.9166 MB / 289 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.1599, allocations: 1.011 MB / 290 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.162, allocations: 1.107 MB / 291.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002154/0.1641, allocations: 2.111 MB / 293.2 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.1644, allocations: 243.1 kB / 293.4 MB, free: 8.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.1655, allocations: 1.064 MB / 294.5 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008416/0.1664, allocations: 0.7626 MB / 295.3 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.1665, allocations: 140.2 kB / 295.4 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.1683, allocations: 1.254 MB / 296.6 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.1686, allocations: 414.8 kB / 297 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.169, allocations: 495 kB / 297.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.1711, allocations: 2.402 MB / 299.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.1711, allocations: 0 / 299.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1711, allocations: 0 / 299.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.341e-05/0.1711, allocations: 4 kB / 299.9 MB, free: 4.211 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.002134/0.1732, allocations: 2.533 MB / 302.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.1733, allocations: 8.031 kB / 302.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/0.1741, allocations: 0.8685 MB / 303.3 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008076/0.1749, allocations: 0.7854 MB / 304.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.175, allocations: 234.3 kB / 304.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.1751, allocations: 152.3 kB / 304.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.1766, allocations: 1.791 MB / 306.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.1766, allocations: 192 / 306.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-05/0.1767, allocations: 64.11 kB / 306.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/0.1769, allocations: 255.6 kB / 306.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.1789, allocations: 2.567 MB / 309.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005738/0.1847, allocations: 5.96 MB / 315.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.1853, allocations: 0.5 MB / 315.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.1857, allocations: 259.6 kB / 315.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003085/0.1888, allocations: 2.842 MB / 318.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.1889, allocations: 39.22 kB / 318.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 1.853e-06/0.1889, allocations: 0 / 318.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.0147/0.2036, allocations: 6.021 MB / 324.8 MB, free: 11.07 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.0009579/0.2045, allocations: 0.8018 MB / 325.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.2052, allocations: 0.9558 MB / 326.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/0.2053, allocations: 41.7 kB / 326.6 MB, free: 9.211 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.2057, allocations: 0.91 MB / 327.5 MB, free: 8.285 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.2059, allocations: 368.9 kB / 327.9 MB, free: 7.922 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.2063, allocations: 375.1 kB / 328.2 MB, free: 7.551 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.2064, allocations: 309.1 kB / 328.5 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.2068, allocations: 334.7 kB / 328.9 MB, free: 6.918 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.208, allocations: 1.044 MB / 329.9 MB, free: 5.531 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.2093, allocations: 1.57 MB / 331.5 MB, free: 3.613 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.2093, allocations: 4 kB / 331.5 MB, free: 3.609 MB / 314.7 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003979/0.2133, allocations: 2.027 MB / 333.5 MB, free: 1.566 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.2134, allocations: 16 kB / 333.5 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.2134, allocations: 24 kB / 333.5 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003585/0.217, allocations: 1.335 MB / 334.9 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/0.2188, allocations: 0.8308 MB / 335.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005873/0.2246, allocations: 4.754 MB / 340.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/0.2253, allocations: 75.98 kB / 340.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.2254, allocations: 175.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 (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.000422/0.2259, allocations: 247.8 kB / 340.9 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.2261, allocations: 127.9 kB / 341.1 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004539/0.2306, allocations: 2.028 MB / 343.1 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.2306, allocations: 12 kB / 343.1 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2306, allocations: 3.938 kB / 343.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.2306, allocations: 3.984 kB / 343.1 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005447/0.2361, allocations: 2.956 MB / 346.1 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2361, allocations: 4 kB / 346.1 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.2375, allocations: 0.5658 MB / 346.6 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.2376, allocations: 119 kB / 346.8 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00413/0.2418, allocations: 1.543 MB / 348.3 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.285e-05/0.2418, allocations: 43.91 kB / 348.3 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005897/0.2477, allocations: 4.793 MB / 353.1 MB, free: 13.39 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.000814/0.2485, allocations: 0.7273 MB / 353.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003943/0.2525, allocations: 1.911 MB / 355.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.2526, allocations: 23.94 kB / 355.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.253, allocations: 35.98 kB / 355.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.2531, allocations: 100.7 kB / 355.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.279e-05/0.2532, allocations: 71.97 kB / 356 MB, free: 10.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003269/0.2535, allocations: 443.5 kB / 356.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2535, allocations: 0 / 356.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001346/0.2549, allocations: 0.5153 MB / 357 MB, free: 9.496 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 (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.0004522/0.2553, allocations: 336 kB / 357.3 MB, free: 9.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.2574, allocations: 1.458 MB / 358.7 MB, free: 7.684 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.262e-05/0.2574, allocations: 33.78 kB / 358.8 MB, free: 7.648 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.2586, allocations: 0.8525 MB / 359.6 MB, free: 6.766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008424/0.2594, allocations: 481.4 kB / 360.1 MB, free: 6.324 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4143:9-4143:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:784:5-784: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.8652869686484337]