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.0007288/0.0007288, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001739, allocations: 440 kB / 10.41 MB, free: 284 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.0006998/0.0006998, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009887/0.001689, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.039/1.039, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08578/1.125, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.09282/0.09282, allocations: 17.38 MB / 261.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01149/0.1043, allocations: 6.928 MB / 268.4 MB, free: 6.406 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.673e-06/1.673e-06, allocations: 0 / 269.7 MB, free: 5.129 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.48e-05, allocations: 6.25 kB / 269.7 MB, free: 5.121 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.1439/0.1439, allocations: 8.112 MB / 277.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.154, allocations: 8.83 MB / 286.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005542/0.1545, allocations: 24.47 kB / 286.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.1563, allocations: 0.8655 MB / 287.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.1576, allocations: 0.7949 MB / 288.4 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.1592, allocations: 0.9199 MB / 289.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.1607, allocations: 1.947 MB / 291.2 MB, free: 10 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002957/0.161, allocations: 238.7 kB / 291.5 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009361/0.162, allocations: 1.001 MB / 292.5 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005737/0.1626, allocations: 0.5343 MB / 293 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.1627, allocations: 137.3 kB / 293.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.1642, allocations: 1.052 MB / 294.2 MB, free: 8.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.1644, allocations: 395.2 kB / 294.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003668/0.1648, allocations: 456.1 kB / 295 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.1667, allocations: 2.339 MB / 297.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.1667, allocations: 0 / 297.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1667, allocations: 0 / 297.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.1668, allocations: 0 / 297.4 MB, free: 6.898 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: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.001981/0.1687, allocations: 2.452 MB / 299.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1688, allocations: 8.031 kB / 299.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009292/0.1697, allocations: 0.8808 MB / 300.7 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006231/0.1703, allocations: 0.6058 MB / 301.3 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.1705, allocations: 315.4 kB / 301.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.1706, allocations: 148.3 kB / 301.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.1721, allocations: 1.889 MB / 303.6 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.1721, allocations: 192 / 303.6 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/0.1722, allocations: 60.11 kB / 303.7 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001813/0.1724, allocations: 267.5 kB / 304 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.1743, allocations: 2.629 MB / 306.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008177/0.1824, allocations: 7.788 MB / 314.4 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009959/0.1834, allocations: 0.5807 MB / 315 MB, free: 5.078 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.1839, allocations: 288.2 kB / 315.2 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/0.1847, allocations: 0.6386 MB / 315.9 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1847, allocations: 43.56 kB / 315.9 MB, free: 4.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=90): time 1.994e-06/0.1847, allocations: 0 / 315.9 MB, free: 4.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=126): time 0.03042/0.2152, allocations: 8.723 MB / 324.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03879/0.254, allocations: 13.14 MB / 337.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.2545, allocations: 0.7117 MB / 338.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.2548, allocations: 45.7 kB / 338.5 MB, free: 13.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.2551, allocations: 0.717 MB / 339.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/0.2555, allocations: 452 kB / 339.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005839/0.256, allocations: 334.6 kB / 340 MB, free: 11.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.2561, allocations: 361.8 kB / 340.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009375/0.2571, allocations: 473.3 kB / 340.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.2581, allocations: 0.6902 MB / 341.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.26, allocations: 1.323 MB / 342.8 MB, free: 8.648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.26, allocations: 4 kB / 342.9 MB, free: 8.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.008366/0.2684, allocations: 2.426 MB / 345.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2684, allocations: 8 kB / 345.3 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.2684, allocations: 8 kB / 345.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01281/0.2813, allocations: 5.854 MB / 351.1 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.2832, allocations: 0.631 MB / 351.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.2953, allocations: 6.536 MB / 358.3 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.2965, allocations: 59.95 kB / 358.4 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003303/0.2968, allocations: 315.8 kB / 358.7 MB, free: 8.629 MB / 346.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 (114): * Single equations (assignments): 109 * 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.0006289/0.2974, allocations: 180.4 kB / 358.9 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003719/0.2978, allocations: 111.8 kB / 359 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007681/0.3055, allocations: 2.789 MB / 361.8 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005844/0.3113, allocations: 1.614 MB / 363.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3113, allocations: 0 / 363.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.3113, allocations: 11.97 kB / 363.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009499/0.3208, allocations: 4.424 MB / 367.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.3209, allocations: 4 kB / 367.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.322, allocations: 396.6 kB / 368.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.3222, allocations: 119.1 kB / 368.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02919/0.3514, allocations: 5.468 MB / 373.8 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002798/0.3517, allocations: 63.92 kB / 373.8 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00851/0.3602, allocations: 4.28 MB / 378.1 MB, free: 4.867 MB / 362.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.01804/0.3782, allocations: 4.85 MB / 383 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00807/0.3863, allocations: 2.659 MB / 385.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/0.3866, allocations: 31.94 kB / 385.7 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000712/0.3873, allocations: 36.05 kB / 385.7 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003634/0.3876, allocations: 132.7 kB / 385.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/0.3878, allocations: 135.9 kB / 386 MB, free: 12.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004237/0.3882, allocations: 474.5 kB / 386.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3882, allocations: 0 / 386.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002011/0.3902, allocations: 0.8278 MB / 387.3 MB, free: 11.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (62): * Single equations (assignments): 60 * 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.0007034/0.3909, allocations: 379.9 kB / 387.6 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003284/0.3942, allocations: 1.588 MB / 389.2 MB, free: 9.613 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-05/0.3942, allocations: 16 kB / 389.2 MB, free: 9.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.3964, allocations: 1.151 MB / 390.4 MB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.3982, allocations: 2.22 MB / 392.6 MB, free: 5.848 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4633:9-4633:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:793:5-793: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.9519076431170106]