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.001002/0.001002, allocations: 93.06 kB / 19.65 MB, free: 280 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.001297/0.001297, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.014/1.014, allocations: 177.2 MB / 203.4 MB, free: 5.637 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.1059/0.1059, allocations: 17.46 MB / 277.4 MB, free: 11.56 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.292e-06/1.292e-06, allocations: 7.875 kB / 353.5 MB, free: 9.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.526e-05, allocations: 2.312 kB / 353.5 MB, free: 9.863 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.03216/0.03219, allocations: 32.16 MB / 385.7 MB, free: 9.816 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.04317, allocations: 9.679 MB / 395.4 MB, free: 100 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.04439, allocations: 55.56 kB / 395.4 MB, free: 44 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.04648, allocations: 0.8853 MB / 396.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.04861, allocations: 1.024 MB / 397.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.051, allocations: 1.115 MB / 398.5 MB, free: 13 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002879/0.05388, allocations: 2.119 MB / 400.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003858/0.05426, allocations: 224.3 kB / 400.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.05537, allocations: 0.9977 MB / 401.8 MB, free: 9.625 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.0564, allocations: 0.7986 MB / 402.6 MB, free: 8.824 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.05661, allocations: 136 kB / 402.7 MB, free: 8.691 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.05945, allocations: 1.24 MB / 404 MB, free: 7.449 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003463/0.0598, allocations: 498.1 kB / 404.5 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006156/0.06041, allocations: 0.5609 MB / 405 MB, free: 6.398 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.06479, allocations: 2.601 MB / 407.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.06479, allocations: 0 / 407.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.0648, allocations: 0 / 407.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.607e-05/0.06485, allocations: 0 / 407.6 MB, free: 3.789 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.002888/0.06774, allocations: 2.38 MB / 410 MB, free: 1.359 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.06779, allocations: 8.031 kB / 410 MB, free: 1.352 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009848/0.06877, allocations: 0.8623 MB / 410.9 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1556/0.2244, allocations: 1.139 MB / 412 MB, free: 47.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.2247, allocations: 230.9 kB / 412.2 MB, free: 47.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.2248, allocations: 151.2 kB / 412.4 MB, free: 47.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/0.2276, allocations: 2.092 MB / 414.5 MB, free: 47.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.2277, allocations: 192 / 414.5 MB, free: 47.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.167e-05/0.2278, allocations: 69.94 kB / 414.5 MB, free: 47.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002644/0.228, allocations: 255.2 kB / 414.8 MB, free: 47.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004792/0.2328, allocations: 3.386 MB / 418.2 MB, free: 47.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007993/0.2408, allocations: 7.025 MB / 425.2 MB, free: 44.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008629/0.2417, allocations: 0.6714 MB / 425.9 MB, free: 44.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.2421, allocations: 378.4 kB / 426.2 MB, free: 44.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003696/0.2458, allocations: 3.421 MB / 429.7 MB, free: 43.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.2458, allocations: 46.92 kB / 429.7 MB, free: 43.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 2.655e-06/0.2458, allocations: 0 / 429.7 MB, free: 43.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.01491/0.2607, allocations: 6.626 MB / 436.3 MB, free: 37.59 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.0009828/0.2617, allocations: 1.011 MB / 437.3 MB, free: 36.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009849/0.2627, allocations: 1.241 MB / 438.6 MB, free: 35.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.016e-05/0.2628, allocations: 41.7 kB / 438.6 MB, free: 35.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004215/0.2632, allocations: 1.165 MB / 439.8 MB, free: 34.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.2634, allocations: 366 kB / 440.1 MB, free: 33.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003583/0.2638, allocations: 453 kB / 440.6 MB, free: 33.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.844e-05/0.2638, allocations: 478.6 kB / 441.1 MB, free: 32.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.2643, allocations: 415.7 kB / 441.5 MB, free: 32.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007389/0.265, allocations: 1.454 MB / 442.9 MB, free: 30.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.2666, allocations: 2.091 MB / 445 MB, free: 28.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.2666, allocations: 10.66 kB / 445 MB, free: 28.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.0039/0.2705, allocations: 2.365 MB / 447.4 MB, free: 25.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.2706, allocations: 16 kB / 447.4 MB, free: 25.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.2706, allocations: 26.62 kB / 447.4 MB, free: 25.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003093/0.2737, allocations: 1.113 MB / 448.5 MB, free: 24.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.2751, allocations: 0.6483 MB / 449.2 MB, free: 24.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.2781, allocations: 4.05 MB / 453.2 MB, free: 20.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.2794, allocations: 82.62 kB / 453.3 MB, free: 19.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.2796, allocations: 239.9 kB / 453.6 MB, free: 19.7 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): 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.0006809/0.2803, allocations: 277.4 kB / 453.8 MB, free: 19.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.2805, allocations: 191 kB / 454 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005337/0.2859, allocations: 2.583 MB / 456.6 MB, free: 16.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.2859, allocations: 8 kB / 456.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.2859, allocations: 4 kB / 456.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.2859, allocations: 7.969 kB / 456.6 MB, free: 16.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007091/0.293, allocations: 3.995 MB / 460.6 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.293, allocations: 0 / 460.6 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.2942, allocations: 412.2 kB / 461 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004604/0.2988, allocations: 1.486 MB / 462.5 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.2989, allocations: 51.97 kB / 462.5 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006635/0.3055, allocations: 6.601 MB / 469.1 MB, free: 4.172 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.0009075/0.3064, allocations: 0.9256 MB / 470.1 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005337/0.3118, allocations: 2.469 MB / 472.5 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/0.3121, allocations: 119 kB / 472.7 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.3123, allocations: 27.95 kB / 472.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.3127, allocations: 34.39 kB / 472.7 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.313, allocations: 120.7 kB / 472.8 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.3131, allocations: 98.66 kB / 472.9 MB, free: 372 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006799/0.3137, allocations: 0.6529 MB / 473.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3137, allocations: 0 / 473.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001863/0.3156, allocations: 0.5074 MB / 474.1 MB, free: 15.2 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.0007117/0.3163, allocations: 390.2 kB / 474.5 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002977/0.3193, allocations: 1.61 MB / 476.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3193, allocations: 0 / 476.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.3214, allocations: 1.11 MB / 477.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.3224, allocations: 363.2 kB / 477.5 MB, free: 11.92 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4759:9-4759:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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.2056437921710312]