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.002418/0.002418, allocations: 93.47 kB / 19.44 MB, free: 336 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.003048/0.003048, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.646/1.646, allocations: 177.1 MB / 203.1 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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.1468/0.1468, allocations: 17.45 MB / 277 MB, free: 11.62 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 2.154e-06/2.154e-06, allocations: 0 / 352.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.645e-05/3.86e-05, allocations: 6.25 kB / 352.8 MB, free: 10.21 MB / 282.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.04665/0.04669, allocations: 29.8 MB / 382.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01764/0.06432, allocations: 9.624 MB / 392.2 MB, free: 2.883 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.06571, allocations: 51.56 kB / 392.3 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003197/0.06891, allocations: 0.8931 MB / 393.2 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003326/0.07224, allocations: 1.02 MB / 394.2 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.07574, allocations: 1.108 MB / 395.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003674/0.07942, allocations: 2.115 MB / 397.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.07992, allocations: 228.2 kB / 397.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/0.08143, allocations: 0.9937 MB / 398.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.08287, allocations: 0.7909 MB / 399.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.08309, allocations: 136 kB / 399.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003439/0.08653, allocations: 1.24 MB / 400.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000518/0.08705, allocations: 494.1 kB / 401.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007789/0.08783, allocations: 0.5648 MB / 401.8 MB, free: 9.203 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005412/0.09324, allocations: 3.236 MB / 405.1 MB, free: 5.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.09325, allocations: 0 / 405.1 MB, free: 5.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09325, allocations: 0 / 405.1 MB, free: 5.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.618e-05/0.09327, allocations: 0 / 405.1 MB, free: 5.957 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.004424/0.0977, allocations: 2.505 MB / 407.6 MB, free: 3.402 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.09774, allocations: 8.031 kB / 407.6 MB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.09928, allocations: 0.8584 MB / 408.5 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.1013, allocations: 1.155 MB / 409.6 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.1016, allocations: 234.3 kB / 409.8 MB, free: 1.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.1018, allocations: 152.3 kB / 410 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1371/0.2389, allocations: 2.24 MB / 412.2 MB, free: 62.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.602e-05/0.2389, allocations: 192 / 412.2 MB, free: 62.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.239, allocations: 61.84 kB / 412.3 MB, free: 62.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002656/0.2393, allocations: 253.8 kB / 412.5 MB, free: 62.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007001/0.2463, allocations: 5.523 MB / 418.1 MB, free: 62.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.2613, allocations: 9.057 MB / 427.1 MB, free: 55.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.2624, allocations: 0.7893 MB / 427.9 MB, free: 54.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/0.2631, allocations: 0.4994 MB / 428.4 MB, free: 53.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006059/0.2692, allocations: 3.723 MB / 432.1 MB, free: 50.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.2692, allocations: 48.64 kB / 432.2 MB, free: 50.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 2.825e-06/0.2692, allocations: 4 kB / 432.2 MB, free: 50.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.02822/0.2974, allocations: 7.421 MB / 439.6 MB, free: 43.11 MB / 330.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.002048/0.2995, allocations: 1.048 MB / 440.6 MB, free: 42.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.301, allocations: 1.511 MB / 442.2 MB, free: 40.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.3011, allocations: 37.7 kB / 442.2 MB, free: 40.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005944/0.3017, allocations: 1.222 MB / 443.4 MB, free: 39.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.302, allocations: 392.1 kB / 443.8 MB, free: 38.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005719/0.3026, allocations: 0.4931 MB / 444.3 MB, free: 38.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.451e-05/0.3026, allocations: 476.8 kB / 444.8 MB, free: 37.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008309/0.3035, allocations: 0.5817 MB / 445.3 MB, free: 37.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.3047, allocations: 1.681 MB / 447 MB, free: 35.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/0.3071, allocations: 2.521 MB / 449.5 MB, free: 32.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.3071, allocations: 8 kB / 449.6 MB, free: 32.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007706/0.3148, allocations: 2.81 MB / 452.4 MB, free: 29.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.3148, allocations: 16 kB / 452.4 MB, free: 29.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.3148, allocations: 27.94 kB / 452.4 MB, free: 29.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006805/0.3216, allocations: 1.256 MB / 453.7 MB, free: 28.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002975/0.3246, allocations: 0.6463 MB / 454.3 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.33, allocations: 4.726 MB / 459 MB, free: 22.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.3316, allocations: 78.55 kB / 459.1 MB, free: 22.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/0.3319, allocations: 243.9 kB / 459.3 MB, free: 22.35 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (187): * Single equations (assignments): 184 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,14), (1,6), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007639/0.3326, allocations: 398.5 kB / 459.7 MB, free: 21.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/0.333, allocations: 189.7 kB / 459.9 MB, free: 21.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/0.3447, allocations: 3.003 MB / 462.9 MB, free: 18.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.3447, allocations: 12 kB / 462.9 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3447, allocations: 3.938 kB / 462.9 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.3447, allocations: 3.984 kB / 462.9 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.3582, allocations: 4.833 MB / 467.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.3582, allocations: 4 kB / 467.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/0.3605, allocations: 406.3 kB / 468.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01033/0.3709, allocations: 1.636 MB / 469.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/0.3711, allocations: 51.97 kB / 469.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/0.3843, allocations: 8.435 MB / 478.3 MB, free: 3.355 MB / 330.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.001973/0.3863, allocations: 0.9767 MB / 479.3 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/0.3979, allocations: 3.254 MB / 482.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/0.3984, allocations: 121.7 kB / 482.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.3987, allocations: 27.94 kB / 482.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008205/0.3995, allocations: 31.98 kB / 482.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/0.3999, allocations: 120.7 kB / 482.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/0.4001, allocations: 99.95 kB / 482.9 MB, free: 14.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001307/0.4014, allocations: 0.7805 MB / 483.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4014, allocations: 0 / 483.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002174/0.4036, allocations: 0.5035 MB / 484.2 MB, free: 13.38 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.0008109/0.4044, allocations: 377.7 kB / 484.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00543/0.4098, allocations: 2.012 MB / 486.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4098, allocations: 0 / 486.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003802/0.4136, allocations: 1.307 MB / 487.9 MB, free: 9.727 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.4152, allocations: 374.3 kB / 488.3 MB, free: 9.387 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4687:9-4687:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:848:5-848: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: 2.940153378993273]