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.0008971/0.0008971, 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.001045/0.001045, allocations: 177 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.078/1.078, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.08318/0.08318, allocations: 17.39 MB / 277.6 MB, free: 11.52 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.523e-06/1.523e-06, allocations: 0.6094 kB / 300.6 MB, free: 1.887 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.7e-05, allocations: 4.344 kB / 300.6 MB, free: 1.883 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.03546/0.03548, allocations: 37.5 MB / 338.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009109/0.04459, allocations: 8.746 MB / 346.8 MB, free: 6.355 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.04572, allocations: 23.88 kB / 346.9 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.04764, allocations: 0.8542 MB / 347.7 MB, free: 5.473 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.04958, allocations: 0.8145 MB / 348.5 MB, free: 4.652 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.05171, allocations: 0.9367 MB / 349.5 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002289/0.054, allocations: 1.968 MB / 351.4 MB, free: 1.734 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003545/0.05435, allocations: 232.8 kB / 351.7 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.05544, allocations: 0.9041 MB / 352.6 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007107/0.05615, allocations: 0.5374 MB / 353.1 MB, free: 28 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.0564, allocations: 140 kB / 353.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.05858, allocations: 1.01 MB / 354.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.05888, allocations: 474.2 kB / 354.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004946/0.05938, allocations: 0.5374 MB / 355.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.06227, allocations: 2.542 MB / 357.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.06227, allocations: 0 / 357.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.06227, allocations: 4 kB / 357.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.227e-05/0.0623, allocations: 4 kB / 357.8 MB, free: 11.32 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.002186/0.06449, allocations: 2.096 MB / 359.9 MB, free: 9.184 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.06452, allocations: 8.031 kB / 359.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009329/0.06545, allocations: 0.8016 MB / 360.7 MB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.06616, allocations: 0.5902 MB / 361.3 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.06637, allocations: 330.2 kB / 361.6 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.06649, allocations: 152.3 kB / 361.8 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.06804, allocations: 1.883 MB / 363.6 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.06807, allocations: 192 / 363.6 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.06813, allocations: 64.11 kB / 363.7 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001939/0.06832, allocations: 279.5 kB / 364 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.07048, allocations: 2.62 MB / 366.6 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008937/0.07942, allocations: 7.773 MB / 374.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.08048, allocations: 0.5763 MB / 374.9 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005375/0.08102, allocations: 276.3 kB / 375.2 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008008/0.08182, allocations: 0.6464 MB / 375.9 MB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.08185, allocations: 39.56 kB / 375.9 MB, free: 8.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.086e-06/0.08185, allocations: 0 / 375.9 MB, free: 8.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=146): time 0.05021/0.1321, allocations: 10.98 MB / 386.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05093/0.183, allocations: 13.99 MB / 400.9 MB, free: 15.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.1836, allocations: 0.7118 MB / 401.6 MB, free: 14.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004149/0.184, allocations: 49.64 kB / 401.6 MB, free: 14.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/0.1844, allocations: 0.6978 MB / 402.3 MB, free: 14.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006517/0.185, allocations: 0.515 MB / 402.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008382/0.1859, allocations: 387.2 kB / 403.2 MB, free: 13.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.186, allocations: 305.1 kB / 403.5 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.1874, allocations: 0.6627 MB / 404.2 MB, free: 12.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.1889, allocations: 0.9196 MB / 405.1 MB, free: 11.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00272/0.1916, allocations: 1.78 MB / 406.9 MB, free: 9.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.1916, allocations: 0 / 406.9 MB, free: 9.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.009547/0.2012, allocations: 2.883 MB / 409.8 MB, free: 6.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.2012, allocations: 8 kB / 409.8 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.2012, allocations: 8 kB / 409.8 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0129/0.2141, allocations: 5.587 MB / 415.4 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.2161, allocations: 0.4914 MB / 415.9 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.2282, allocations: 6.491 MB / 422.4 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.2297, allocations: 67.89 kB / 422.4 MB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003465/0.23, allocations: 335.8 kB / 422.7 MB, free: 9.395 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.0007516/0.2308, allocations: 184.4 kB / 422.9 MB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004797/0.2313, allocations: 123.9 kB / 423 MB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008894/0.2401, allocations: 3.336 MB / 426.4 MB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006744/0.2469, allocations: 2.012 MB / 428.4 MB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2469, allocations: 4 kB / 428.4 MB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.2469, allocations: 7.969 kB / 428.4 MB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.2592, allocations: 5.321 MB / 433.7 MB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.2592, allocations: 4 kB / 433.7 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.2604, allocations: 283.5 kB / 434 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02747/0.2879, allocations: 5.018 MB / 439 MB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003754/0.2883, allocations: 71.91 kB / 439.1 MB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/0.2989, allocations: 4.247 MB / 443.3 MB, free: 4.449 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.02044/0.3194, allocations: 4.254 MB / 447.6 MB, free: 164 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1668/0.4862, allocations: 3.265 MB / 450.9 MB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/0.4866, allocations: 133.1 kB / 451 MB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/0.4869, allocations: 36.28 kB / 451 MB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009766/0.4879, allocations: 42.89 kB / 451.1 MB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004954/0.4884, allocations: 156.2 kB / 451.2 MB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002677/0.4886, allocations: 146.1 kB / 451.4 MB, free: 115.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005735/0.4892, allocations: 457.9 kB / 451.8 MB, free: 115.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4892, allocations: 1.125 kB / 451.8 MB, free: 115.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002529/0.4917, allocations: 0.9322 MB / 452.7 MB, free: 115.4 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.0007895/0.4925, allocations: 387.3 kB / 453.1 MB, free: 115.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004615/0.4972, allocations: 2 MB / 455.1 MB, free: 115.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-05/0.4972, allocations: 11.19 kB / 455.1 MB, free: 115.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002529/0.4997, allocations: 1.198 MB / 456.3 MB, free: 115 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.501, allocations: 400 kB / 456.7 MB, free: 115 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4068:9-4068:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:790:5-790: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.2556754550896585]