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.001292/0.001292, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001917/0.003209, allocations: 435.8 kB / 10.33 MB, free: 368 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.001303/0.001303, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001633/0.002936, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9387/0.9387, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08405/1.023, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.09034/0.09034, allocations: 17.37 MB / 261.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01057/0.1009, allocations: 6.929 MB / 268.3 MB, free: 6.5 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.222e-06/1.222e-06, allocations: 0 / 269.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.844e-05, allocations: 5.547 kB / 269.5 MB, free: 5.238 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.1304/0.1305, allocations: 8.103 MB / 277.6 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.1422, allocations: 8.829 MB / 286.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.1435, allocations: 24.31 kB / 286.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.1461, allocations: 0.8541 MB / 287.3 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.1485, allocations: 0.8028 MB / 288.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.1511, allocations: 0.9259 MB / 289.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002608/0.1537, allocations: 1.937 MB / 291 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.1541, allocations: 246.7 kB / 291.2 MB, free: 9.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.1554, allocations: 1.003 MB / 292.2 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008036/0.1562, allocations: 0.5353 MB / 292.8 MB, free: 9.266 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002366/0.1565, allocations: 139.1 kB / 292.9 MB, free: 9.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.1594, allocations: 1.042 MB / 294 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.1596, allocations: 393.3 kB / 294.3 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005407/0.1602, allocations: 460.3 kB / 294.8 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003454/0.1636, allocations: 2.345 MB / 297.1 MB, free: 7.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.905e-05/0.1637, allocations: 4 kB / 297.1 MB, free: 7.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1637, allocations: 0 / 297.1 MB, free: 7.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.681e-05/0.1637, allocations: 0 / 297.1 MB, free: 7.043 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.003016/0.1667, allocations: 2.456 MB / 299.6 MB, free: 4.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1668, allocations: 12.03 kB / 299.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.1681, allocations: 0.873 MB / 300.5 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.1692, allocations: 0.5981 MB / 301.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/0.1695, allocations: 322.2 kB / 301.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.1696, allocations: 152.2 kB / 301.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.1717, allocations: 1.881 MB / 303.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.1718, allocations: 192 / 303.4 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.1719, allocations: 64.11 kB / 303.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002618/0.1721, allocations: 283.5 kB / 303.8 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002796/0.1749, allocations: 2.621 MB / 306.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.1862, allocations: 7.793 MB / 314.2 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.1873, allocations: 0.5863 MB / 314.8 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005143/0.1878, allocations: 280.2 kB / 315 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008294/0.1886, allocations: 0.6386 MB / 315.7 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1886, allocations: 39.56 kB / 315.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=90): time 3.877e-06/0.1887, allocations: 0 / 315.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=146): time 0.04136/0.23, allocations: 11 MB / 326.7 MB, free: 9.176 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0437/0.2737, allocations: 14.07 MB / 340.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.2743, allocations: 0.7041 MB / 341.5 MB, free: 10.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003795/0.2747, allocations: 45.7 kB / 341.5 MB, free: 10.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.275, allocations: 0.7132 MB / 342.2 MB, free: 9.359 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005072/0.2755, allocations: 0.5112 MB / 342.8 MB, free: 8.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007619/0.2763, allocations: 387.1 kB / 343.1 MB, free: 8.457 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.2763, allocations: 301.1 kB / 343.4 MB, free: 8.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.2776, allocations: 0.6666 MB / 344.1 MB, free: 7.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.279, allocations: 0.9156 MB / 345 MB, free: 6.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003096/0.2821, allocations: 1.784 MB / 346.8 MB, free: 4.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.2821, allocations: 4 kB / 346.8 MB, free: 4.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.009206/0.2913, allocations: 2.879 MB / 349.7 MB, free: 1.707 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.2914, allocations: 12.03 kB / 349.7 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.2914, allocations: 12 kB / 349.7 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01329/0.3047, allocations: 5.57 MB / 355.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/0.3076, allocations: 0.7838 MB / 356.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/0.3198, allocations: 6.543 MB / 362.6 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.3213, allocations: 67.89 kB / 362.7 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000381/0.3217, allocations: 327.8 kB / 363 MB, free: 4.23 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 (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.0007718/0.3225, allocations: 188.4 kB / 363.2 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004689/0.323, allocations: 123.9 kB / 363.3 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008332/0.3313, allocations: 3.343 MB / 366.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006813/0.3381, allocations: 2.012 MB / 368.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.3381, allocations: 4 kB / 368.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.3381, allocations: 11.91 kB / 368.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.3502, allocations: 5.32 MB / 374 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.3502, allocations: 8 kB / 374 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/0.3521, allocations: 493.8 kB / 374.5 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.3524, allocations: 135.1 kB / 374.6 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02174/0.3741, allocations: 5.05 MB / 379.7 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003842/0.3745, allocations: 75.89 kB / 379.7 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.3853, allocations: 4.252 MB / 384 MB, free: 14.89 MB / 378.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.02148/0.4067, allocations: 4.261 MB / 388.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.4184, allocations: 3.279 MB / 391.5 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/0.4188, allocations: 39.89 kB / 391.6 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.42, allocations: 39.98 kB / 391.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003951/0.4204, allocations: 168.7 kB / 391.8 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/0.4206, allocations: 143.9 kB / 391.9 MB, free: 6.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004361/0.421, allocations: 454.6 kB / 392.3 MB, free: 6.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.421, allocations: 0 / 392.3 MB, free: 6.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0023/0.4233, allocations: 0.9333 MB / 393.3 MB, free: 5.41 MB / 378.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.0007077/0.424, allocations: 395.8 kB / 393.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004317/0.4284, allocations: 2.014 MB / 395.7 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-05/0.4284, allocations: 16 kB / 395.7 MB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.4307, allocations: 1.205 MB / 396.9 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.432, allocations: 0.5498 MB / 397.5 MB, free: 1.227 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4143:9-4143:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:784:5-784: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.8928799536079168]