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.001038/0.001038, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001066/0.001066, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.027/1.027, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.0889/0.0889, 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.513e-06/1.513e-06, allocations: 0 / 353.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.182e-05, allocations: 5.406 kB / 353.9 MB, free: 10.76 MB / 330.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.02675/0.02677, allocations: 31.69 MB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008791/0.03557, allocations: 8.544 MB / 394.1 MB, free: 2.574 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008911/0.03646, allocations: 23.88 kB / 394.1 MB, free: 2.551 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.03829, allocations: 0.8309 MB / 395 MB, free: 1.715 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.03982, allocations: 0.8144 MB / 395.8 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.04161, allocations: 0.9174 MB / 396.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.04372, allocations: 1.964 MB / 398.7 MB, free: 14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.04402, allocations: 218 kB / 398.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000721/0.04474, allocations: 0.9041 MB / 399.8 MB, free: 12.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004771/0.04522, allocations: 0.5296 MB / 400.3 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.04534, allocations: 144 kB / 400.5 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.04709, allocations: 1.01 MB / 401.5 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.04734, allocations: 482.2 kB / 401.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003902/0.04773, allocations: 0.5374 MB / 402.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003217/0.05095, allocations: 2.535 MB / 405 MB, free: 7.621 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.05095, allocations: 0 / 405 MB, free: 7.621 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.05095, allocations: 0 / 405 MB, free: 7.621 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.569e-05/0.05099, allocations: 0 / 405 MB, free: 7.621 MB / 378.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.002696/0.05368, allocations: 2.352 MB / 407.4 MB, free: 5.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.05373, allocations: 8.031 kB / 407.4 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.05499, allocations: 0.8662 MB / 408.2 MB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009402/0.05593, allocations: 0.7919 MB / 409 MB, free: 3.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.05618, allocations: 322.1 kB / 409.3 MB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.05634, allocations: 148.3 kB / 409.5 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.05833, allocations: 1.793 MB / 411.3 MB, free: 1.227 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.05836, allocations: 192 / 411.3 MB, free: 1.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.1e-05/0.05845, allocations: 60.11 kB / 411.3 MB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002492/0.0587, allocations: 279.5 kB / 411.6 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.06155, allocations: 2.729 MB / 414.3 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.07399, allocations: 9.231 MB / 423.6 MB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.07541, allocations: 0.6379 MB / 424.2 MB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/0.07616, allocations: 351 kB / 424.5 MB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.07724, allocations: 0.6618 MB / 425.2 MB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.07728, allocations: 54.39 kB / 425.3 MB, free: 3.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=90): time 3.897e-06/0.07728, allocations: 0 / 425.3 MB, free: 3.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.04582/0.1231, allocations: 11.17 MB / 436.4 MB, free: 7.875 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.188/0.3111, allocations: 16.5 MB / 452.9 MB, free: 101.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008063/0.3119, allocations: 0.9195 MB / 453.9 MB, free: 101.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003868/0.3123, allocations: 46.64 kB / 453.9 MB, free: 101.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004553/0.3128, allocations: 0.9534 MB / 454.9 MB, free: 100.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004872/0.3132, allocations: 0.513 MB / 455.4 MB, free: 100.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.3143, allocations: 490.6 kB / 455.8 MB, free: 100.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.96e-05/0.3143, allocations: 484.6 kB / 456.3 MB, free: 100.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.3159, allocations: 0.7771 MB / 457.1 MB, free: 100.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.3173, allocations: 1.115 MB / 458.2 MB, free: 99.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.3198, allocations: 1.994 MB / 460.2 MB, free: 99.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.3198, allocations: 5.781 kB / 460.2 MB, free: 99.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.0104/0.3302, allocations: 3.595 MB / 463.8 MB, free: 99.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3303, allocations: 6.531 kB / 463.8 MB, free: 99.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3303, allocations: 6.594 kB / 463.8 MB, free: 99.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01305/0.3433, allocations: 5.639 MB / 469.5 MB, free: 98.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.3454, allocations: 0.5988 MB / 470.1 MB, free: 98.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/0.3601, allocations: 10.17 MB / 480.2 MB, free: 91.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.3617, allocations: 62.06 kB / 480.3 MB, free: 91.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003715/0.362, allocations: 344.8 kB / 480.6 MB, free: 91.64 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,13), (6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007767/0.3628, allocations: 228.2 kB / 480.8 MB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005231/0.3633, allocations: 183 kB / 481 MB, free: 91.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009603/0.3729, allocations: 3.93 MB / 485 MB, free: 90.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007718/0.3807, allocations: 2.501 MB / 487.5 MB, free: 90.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3807, allocations: 2.875 kB / 487.5 MB, free: 90.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.3807, allocations: 7.266 kB / 487.5 MB, free: 90.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.3942, allocations: 7.334 MB / 494.8 MB, free: 87.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.3942, allocations: 6.406 kB / 494.8 MB, free: 87.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.3955, allocations: 324.3 kB / 495.1 MB, free: 87.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02176/0.4172, allocations: 4.935 MB / 0.4883 GB, free: 85.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003474/0.4176, allocations: 96.56 kB / 0.4884 GB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008808/0.4264, allocations: 5.547 MB / 0.4938 GB, free: 80.66 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.01643/0.4428, allocations: 4.404 MB / 0.4981 GB, free: 76.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009908/0.4527, allocations: 3.821 MB / 0.5019 GB, free: 72.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.4531, allocations: 156.1 kB / 0.502 GB, free: 72.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.4533, allocations: 34.67 kB / 0.5021 GB, free: 72.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.4543, allocations: 35.98 kB / 0.5021 GB, free: 72.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004141/0.4547, allocations: 183.3 kB / 0.5023 GB, free: 72.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/0.4549, allocations: 155.9 kB / 0.5024 GB, free: 71.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004678/0.4554, allocations: 0.6501 MB / 0.503 GB, free: 71.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4554, allocations: 0 / 0.503 GB, free: 71.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002043/0.4574, allocations: 0.853 MB / 0.5039 GB, free: 70.47 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.0006527/0.4581, allocations: 406.6 kB / 0.5043 GB, free: 70.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003834/0.4619, allocations: 2.083 MB / 0.5063 GB, free: 68.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4619, allocations: 0 / 0.5063 GB, free: 68.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002529/0.4645, allocations: 1.398 MB / 0.5077 GB, free: 66.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.4658, allocations: 436.9 kB / 0.5081 GB, free: 66.4 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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: 2.2429913887754083]