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.0009026/0.0009026, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009206/0.0009206, allocations: 173 kB / 23.49 MB, free: 1.055 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.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.09594/0.09594, allocations: 17.38 MB / 277.7 MB, free: 11.72 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.233e-06/1.233e-06, allocations: 0 / 353.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.23e-05, allocations: 10.25 kB / 353.4 MB, free: 10.32 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.02805/0.02807, allocations: 31.69 MB / 385.1 MB, free: 10.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009142/0.03721, allocations: 8.611 MB / 393.7 MB, free: 2.117 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008968/0.03811, allocations: 23.88 kB / 393.8 MB, free: 2.094 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.03995, allocations: 0.8348 MB / 394.6 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.04148, allocations: 0.795 MB / 395.4 MB, free: 464 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.04338, allocations: 0.929 MB / 396.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002008/0.04539, allocations: 1.952 MB / 398.3 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004575/0.04585, allocations: 214.2 kB / 398.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.0473, allocations: 0.8963 MB / 399.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006974/0.04799, allocations: 0.5413 MB / 399.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.04818, allocations: 144 kB / 400.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002662/0.05084, allocations: 1.014 MB / 401.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003649/0.05121, allocations: 470.2 kB / 401.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006839/0.05189, allocations: 0.5413 MB / 402.1 MB, free: 9.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004868/0.05676, allocations: 2.546 MB / 404.6 MB, free: 7.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.05677, allocations: 0 / 404.6 MB, free: 7.168 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.05677, allocations: 0 / 404.6 MB, free: 7.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.108e-05/0.05683, allocations: 4 kB / 404.6 MB, free: 7.164 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.004551/0.06138, allocations: 2.329 MB / 407 MB, free: 4.785 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.06144, allocations: 12.03 kB / 407 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.06322, allocations: 0.8701 MB / 407.8 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.06465, allocations: 0.788 MB / 408.6 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/0.06497, allocations: 322.2 kB / 408.9 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.06517, allocations: 152.3 kB / 409.1 MB, free: 2.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003326/0.0685, allocations: 2.234 MB / 411.3 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.06852, allocations: 4.188 kB / 411.3 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.0686, allocations: 60.11 kB / 411.4 MB, free: 284 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/0.0688, allocations: 279.5 kB / 411.7 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1495/0.2183, allocations: 3.452 MB / 415.1 MB, free: 63.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/0.2338, allocations: 9.364 MB / 424.5 MB, free: 59.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.2357, allocations: 0.7006 MB / 425.2 MB, free: 58.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.2368, allocations: 405 kB / 425.6 MB, free: 58.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.2379, allocations: 0.6482 MB / 426.2 MB, free: 57.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2379, allocations: 46.39 kB / 426.3 MB, free: 57.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 4.608e-06/0.238, allocations: 3.938 kB / 426.3 MB, free: 57.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=146): time 0.0551/0.2931, allocations: 13.07 MB / 439.3 MB, free: 44.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05387/0.3469, allocations: 18.17 MB / 457.5 MB, free: 26.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008183/0.3477, allocations: 0.939 MB / 458.4 MB, free: 25.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005044/0.3482, allocations: 52.39 kB / 458.5 MB, free: 25.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.3486, allocations: 0.9362 MB / 459.4 MB, free: 24.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004497/0.349, allocations: 0.5025 MB / 459.9 MB, free: 24.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007937/0.3498, allocations: 485 kB / 460.4 MB, free: 23.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.3499, allocations: 484.7 kB / 460.9 MB, free: 23.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.3516, allocations: 0.8421 MB / 461.7 MB, free: 22.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.3534, allocations: 1.185 MB / 462.9 MB, free: 21.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003289/0.3567, allocations: 2.134 MB / 465 MB, free: 18.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.3567, allocations: 0 / 465 MB, free: 18.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01237/0.3691, allocations: 3.982 MB / 469 MB, free: 15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.3691, allocations: 8 kB / 469 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.3691, allocations: 4 kB / 469 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01455/0.3837, allocations: 6.004 MB / 475 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/0.3859, allocations: 0.619 MB / 475.7 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/0.4016, allocations: 8.939 MB / 484.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.4036, allocations: 171.7 kB / 484.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004269/0.404, allocations: 351.8 kB / 485.1 MB, free: 14.83 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.0009711/0.405, allocations: 230.9 kB / 485.3 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006397/0.4056, allocations: 191.1 kB / 485.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.4176, allocations: 4.462 MB / 490 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009872/0.4275, allocations: 3.064 MB / 493 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.4275, allocations: 4 kB / 493.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/0.4275, allocations: 10.59 kB / 493.1 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/0.4448, allocations: 8.305 MB / 0.4896 GB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.4448, allocations: 4 kB / 0.4896 GB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.4464, allocations: 354.1 kB / 0.49 GB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02577/0.4722, allocations: 5.902 MB / 0.4957 GB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000381/0.4725, allocations: 91.91 kB / 0.4958 GB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/0.4849, allocations: 5.907 MB / 0.5016 GB, free: 1.969 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.02135/0.5062, allocations: 5.157 MB / 0.5066 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.5194, allocations: 4.517 MB / 0.511 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.5198, allocations: 147.1 kB / 0.5112 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000339/0.5201, allocations: 35.94 kB / 0.5112 GB, free: 8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.5214, allocations: 127.8 kB / 0.5113 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005262/0.5219, allocations: 180.8 kB / 0.5115 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/0.5221, allocations: 166.6 kB / 0.5117 GB, free: 7.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007826/0.5229, allocations: 0.7467 MB / 0.5124 GB, free: 6.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5229, allocations: 0 / 0.5124 GB, free: 6.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002241/0.5252, allocations: 0.9371 MB / 0.5133 GB, free: 5.844 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.0006819/0.5258, allocations: 379.4 kB / 0.5137 GB, free: 5.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00535/0.5312, allocations: 2.556 MB / 0.5162 GB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5312, allocations: 0 / 0.5162 GB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003407/0.5346, allocations: 1.55 MB / 0.5177 GB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.536, allocations: 424.4 kB / 0.5181 GB, free: 1.012 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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.371430948143825]