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.001767/0.001767, allocations: 88.72 kB / 19.44 MB, free: 360 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.002478/0.002478, allocations: 161.7 kB / 22.76 MB, free: 1.684 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.534/1.534, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.1474/0.1474, allocations: 17.37 MB / 276.9 MB, free: 11.68 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.834e-06/1.834e-06, allocations: 0 / 352.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.151e-05, allocations: 6.312 kB / 352.7 MB, free: 10.34 MB / 282.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.04547/0.0455, allocations: 28.49 MB / 381.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0146/0.06011, allocations: 7.824 MB / 389 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.06146, allocations: 31.81 kB / 389 MB, free: 6.098 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003424/0.06489, allocations: 0.8387 MB / 389.9 MB, free: 5.254 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.068, allocations: 0.8028 MB / 390.7 MB, free: 4.445 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.07108, allocations: 0.9135 MB / 391.6 MB, free: 3.527 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004133/0.07521, allocations: 1.951 MB / 393.5 MB, free: 1.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006323/0.07584, allocations: 218.2 kB / 393.8 MB, free: 1.332 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.07785, allocations: 0.9002 MB / 394.7 MB, free: 440 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.0793, allocations: 0.5218 MB / 395.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004546/0.07976, allocations: 140 kB / 395.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003553/0.08331, allocations: 1.022 MB / 396.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007097/0.08402, allocations: 470.2 kB / 396.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.08561, allocations: 0.5336 MB / 397.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006325/0.09194, allocations: 3.174 MB / 400.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.09194, allocations: 0 / 400.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09194, allocations: 0 / 400.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.716e-05/0.09204, allocations: 0 / 400.5 MB, free: 10.57 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.005289/0.09733, allocations: 2.122 MB / 402.6 MB, free: 8.402 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.09737, allocations: 8.031 kB / 402.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.09945, allocations: 0.8818 MB / 403.5 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.1014, allocations: 0.8361 MB / 404.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004563/0.1019, allocations: 330.1 kB / 404.7 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.1022, allocations: 152.3 kB / 404.8 MB, free: 6.148 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1517/0.2539, allocations: 7.38 MB / 412.2 MB, free: 63.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.606e-05/0.254, allocations: 192 / 412.2 MB, free: 63.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.2542, allocations: 60.73 kB / 412.3 MB, free: 63.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003468/0.2546, allocations: 277.9 kB / 412.5 MB, free: 63.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/0.2679, allocations: 13.4 MB / 425.9 MB, free: 56.78 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/0.286, allocations: 16.96 MB / 442.9 MB, free: 40.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.2895, allocations: 3.528 MB / 446.4 MB, free: 37.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002468/0.292, allocations: 2.752 MB / 449.2 MB, free: 34.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/0.2935, allocations: 0.6607 MB / 449.8 MB, free: 33.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.2936, allocations: 43.5 kB / 449.9 MB, free: 33.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 2.394e-06/0.2936, allocations: 3.719 kB / 449.9 MB, free: 33.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=146): time 0.09609/0.3897, allocations: 30.97 MB / 480.8 MB, free: 2.977 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1428/0.5324, allocations: 40.71 MB / 0.5093 GB, free: 10.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.5342, allocations: 0.9562 MB / 0.5103 GB, free: 9.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005926/0.5348, allocations: 49.7 kB / 0.5103 GB, free: 9.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008716/0.5357, allocations: 0.848 MB / 0.5111 GB, free: 8.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.5369, allocations: 0.4982 MB / 0.5116 GB, free: 7.797 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002154/0.539, allocations: 0.511 MB / 0.5121 GB, free: 7.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.5392, allocations: 301.1 kB / 0.5124 GB, free: 6.984 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008163/0.5474, allocations: 4.91 MB / 0.5172 GB, free: 2.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008325/0.5557, allocations: 5.145 MB / 0.5222 GB, free: 12.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/0.5679, allocations: 6.783 MB / 0.5288 GB, free: 5.992 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.5679, allocations: 0 / 0.5288 GB, free: 5.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03697/0.6049, allocations: 13.76 MB / 0.5423 GB, free: 8.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.605, allocations: 6.5 kB / 0.5423 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.605, allocations: 15.88 kB / 0.5423 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2432/0.8482, allocations: 9.609 MB / 0.5517 GB, free: 135.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004732/0.8529, allocations: 0.6209 MB / 0.5523 GB, free: 135.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04245/0.8954, allocations: 26.4 MB / 0.5781 GB, free: 121.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/0.8988, allocations: 179.1 kB / 0.5782 GB, free: 121.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008326/0.8997, allocations: 358.7 kB / 0.5786 GB, free: 120.9 MB / 410.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.001569/0.9012, allocations: 0.4998 MB / 0.5791 GB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/0.9024, allocations: 176.5 kB / 0.5792 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02419/0.9266, allocations: 8.896 MB / 0.5879 GB, free: 111.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02106/0.9477, allocations: 7.398 MB / 0.5952 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/0.9477, allocations: 10.59 kB / 0.5952 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-05/0.9477, allocations: 7.969 kB / 0.5952 GB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03266/0.9804, allocations: 14.39 MB / 0.6092 GB, free: 89.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-05/0.9804, allocations: 4 kB / 0.6092 GB, free: 89.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002901/0.9833, allocations: 355.4 kB / 0.6096 GB, free: 89.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0491/1.032, allocations: 7.44 MB / 0.6168 GB, free: 82.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004458/1.033, allocations: 95.91 kB / 0.6169 GB, free: 81.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02293/1.056, allocations: 11.53 MB / 0.6282 GB, free: 70.35 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.03868/1.094, allocations: 5.724 MB / 0.6338 GB, free: 64.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02646/1.121, allocations: 11.59 MB / 0.6451 GB, free: 52.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/1.121, allocations: 147.2 kB / 0.6452 GB, free: 52.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005997/1.122, allocations: 42.47 kB / 0.6453 GB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/1.125, allocations: 119.8 kB / 0.6454 GB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007918/1.125, allocations: 195.2 kB / 0.6456 GB, free: 52.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003656/1.126, allocations: 167.8 kB / 0.6457 GB, free: 52.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001256/1.127, allocations: 1.176 MB / 0.6469 GB, free: 51.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/1.127, allocations: 0 / 0.6469 GB, free: 51.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002879/1.13, allocations: 0.9309 MB / 0.6478 GB, free: 50.23 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.0009062/1.131, allocations: 393.3 kB / 0.6482 GB, free: 49.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01094/1.142, allocations: 7.454 MB / 0.6555 GB, free: 42.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.142, allocations: 3.828 kB / 0.6555 GB, free: 42.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006156/1.148, allocations: 2.902 MB / 0.6583 GB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/1.15, allocations: 425.3 kB / 0.6587 GB, free: 39.21 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4696:9-4696:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:846:5-846: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: 3.51447598694358]