Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0008612/0.0008612, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001043/0.001043, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.105/0.105, allocations: 17.38 MB / 277.6 MB, free: 11.51 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 300.6 MB, free: 1.848 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.389e-05, allocations: 6.312 kB / 300.6 MB, free: 1.84 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343: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.0/Boundaries.mo:1343:7-1343: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.04068/0.04071, allocations: 37.53 MB / 338.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.05242, allocations: 8.75 MB / 346.9 MB, free: 6.262 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.05397, allocations: 23.88 kB / 346.9 MB, free: 6.238 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002728/0.0567, allocations: 0.8736 MB / 347.8 MB, free: 5.359 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.059, allocations: 0.7949 MB / 348.6 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.06135, allocations: 0.925 MB / 349.5 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002763/0.06411, allocations: 1.959 MB / 351.5 MB, free: 1.664 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004431/0.06456, allocations: 240.2 kB / 351.7 MB, free: 1.395 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.06588, allocations: 0.9041 MB / 352.6 MB, free: 500 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009102/0.06679, allocations: 0.5296 MB / 353.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005103/0.0673, allocations: 144 kB / 353.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.06995, allocations: 1.042 MB / 354.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003912/0.07035, allocations: 474.2 kB / 354.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007029/0.07105, allocations: 0.5414 MB / 355.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.07508, allocations: 2.546 MB / 357.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.07508, allocations: 0 / 357.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.07508, allocations: 0 / 357.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.781e-05/0.07513, allocations: 4 kB / 357.9 MB, free: 11.21 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: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.002906/0.07804, allocations: 2.085 MB / 360 MB, free: 9.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.07808, allocations: 8.031 kB / 360 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.07967, allocations: 0.8016 MB / 360.8 MB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/0.08061, allocations: 0.598 MB / 361.4 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/0.08088, allocations: 326.2 kB / 361.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.08104, allocations: 148.3 kB / 361.9 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.08318, allocations: 1.887 MB / 363.7 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.08321, allocations: 192 / 363.7 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.08328, allocations: 60.11 kB / 363.8 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002613/0.08354, allocations: 283.5 kB / 364.1 MB, free: 4.914 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.08634, allocations: 2.624 MB / 366.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.09876, allocations: 7.777 MB / 374.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.1004, allocations: 0.5685 MB / 375.1 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000695/0.1011, allocations: 276.3 kB / 375.3 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000969/0.102, allocations: 0.6425 MB / 376 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1021, allocations: 43.56 kB / 376 MB, free: 8.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.036e-06/0.1021, allocations: 0 / 376 MB, free: 8.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=146): time 0.04824/0.1503, allocations: 10.98 MB / 387 MB, free: 13.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04643/0.1968, allocations: 14.01 MB / 401 MB, free: 15.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.1973, allocations: 0.7118 MB / 401.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000394/0.1977, allocations: 45.7 kB / 401.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.198, allocations: 0.7056 MB / 402.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000507/0.1985, allocations: 0.5151 MB / 403 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008214/0.1993, allocations: 379.2 kB / 403.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.748e-05/0.1994, allocations: 305.1 kB / 403.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.2011, allocations: 0.6705 MB / 404.3 MB, free: 12.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.2026, allocations: 0.9117 MB / 405.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/0.2055, allocations: 1.788 MB / 407 MB, free: 9.324 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.2055, allocations: 0 / 407 MB, free: 9.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01238/0.2179, allocations: 2.875 MB / 409.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.2179, allocations: 11.94 kB / 409.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.2179, allocations: 8 kB / 409.9 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02064/0.2386, allocations: 5.587 MB / 415.5 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006484/0.245, allocations: 0.6854 MB / 416.2 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01896/0.264, allocations: 6.521 MB / 422.7 MB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.2658, allocations: 59.95 kB / 422.8 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005306/0.2664, allocations: 331.8 kB / 423.1 MB, free: 9.062 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 129 * Array equations: 2 * 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 {(5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007593/0.2671, allocations: 184.4 kB / 423.3 MB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006098/0.2677, allocations: 127.9 kB / 423.4 MB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/0.2781, allocations: 3.34 MB / 426.7 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008673/0.2867, allocations: 2.005 MB / 428.7 MB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.2867, allocations: 8 kB / 428.7 MB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.951e-05/0.2868, allocations: 11.91 kB / 428.7 MB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.3003, allocations: 5.313 MB / 434.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.3003, allocations: 4 kB / 434.1 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/0.3023, allocations: 440.6 kB / 434.5 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02267/0.325, allocations: 5.037 MB / 439.5 MB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003224/0.3253, allocations: 71.84 kB / 439.6 MB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009066/0.3343, allocations: 4.246 MB / 443.8 MB, free: 3.941 MB / 410.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.1602/0.4945, allocations: 4.237 MB / 448.1 MB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.5052, allocations: 3.272 MB / 451.4 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.5057, allocations: 129 kB / 451.5 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/0.506, allocations: 38.09 kB / 451.5 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.507, allocations: 43.3 kB / 451.6 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005475/0.5076, allocations: 164.6 kB / 451.7 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/0.5079, allocations: 146.5 kB / 451.9 MB, free: 115 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005888/0.5084, allocations: 459 kB / 452.3 MB, free: 115 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5084, allocations: 0 / 452.3 MB, free: 115 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002385/0.5108, allocations: 0.9341 MB / 453.2 MB, free: 115 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 2 ($cse34,$cse27) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008068/0.5116, allocations: 383.2 kB / 453.6 MB, free: 114.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004609/0.5162, allocations: 2.005 MB / 455.6 MB, free: 114.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.444e-05/0.5163, allocations: 13.88 kB / 455.6 MB, free: 114.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00295/0.5192, allocations: 1.192 MB / 456.8 MB, free: 114.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.5206, allocations: 392.6 kB / 457.2 MB, free: 114.5 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4069:9-4069:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:791:5-791:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.3543990119360387]