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.001108/0.001108, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001247/0.001247, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.123/1.123, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.08895/0.08895, allocations: 17.37 MB / 278.4 MB, free: 11.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.643e-06/1.643e-06, allocations: 0 / 354.6 MB, free: 9.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.844e-05, allocations: 2.312 kB / 354.6 MB, free: 9.719 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.03375/0.03377, allocations: 31.67 MB / 386.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00993/0.0437, allocations: 8.533 MB / 394.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008322/0.04453, allocations: 23.88 kB / 394.9 MB, free: 1.574 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.04631, allocations: 0.8386 MB / 395.7 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.04809, allocations: 0.8067 MB / 396.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.04966, allocations: 0.9251 MB / 397.4 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.05128, allocations: 1.961 MB / 399.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.05157, allocations: 214.2 kB / 399.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007199/0.05229, allocations: 0.9003 MB / 400.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005385/0.05283, allocations: 0.5374 MB / 401.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.05297, allocations: 140 kB / 401.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.0545, allocations: 1.01 MB / 402.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.05475, allocations: 478.2 kB / 402.7 MB, free: 9.727 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006634/0.05542, allocations: 0.5414 MB / 403.2 MB, free: 9.184 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.05751, allocations: 2.546 MB / 405.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.05752, allocations: 0 / 405.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.05752, allocations: 0 / 405.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.05753, allocations: 0 / 405.8 MB, free: 6.629 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.002091/0.05962, allocations: 2.352 MB / 408.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.05965, allocations: 8.031 kB / 408.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009339/0.06059, allocations: 0.874 MB / 409 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.06131, allocations: 0.7841 MB / 409.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.06153, allocations: 326.2 kB / 410.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.06167, allocations: 148.3 kB / 410.2 MB, free: 2.039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.06341, allocations: 1.785 MB / 412 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.06343, allocations: 192 / 412 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.348e-05/0.06351, allocations: 60.11 kB / 412.1 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1358/0.1993, allocations: 280.5 kB / 412.4 MB, free: 49.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003438/0.2028, allocations: 2.724 MB / 415.1 MB, free: 49.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.2138, allocations: 9.228 MB / 424.3 MB, free: 46.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.2149, allocations: 0.6428 MB / 425 MB, free: 46.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/0.2155, allocations: 346.8 kB / 425.3 MB, free: 46.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008025/0.2163, allocations: 0.6416 MB / 425.9 MB, free: 46.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.2163, allocations: 45.92 kB / 426 MB, free: 46.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 2.835e-06/0.2163, allocations: 1.688 kB / 426 MB, free: 46.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=146): time 0.03972/0.2561, allocations: 11.16 MB / 437.1 MB, free: 39.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06061/0.3167, allocations: 16.49 MB / 453.6 MB, free: 22.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/0.3174, allocations: 0.9113 MB / 454.5 MB, free: 22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006612/0.3181, allocations: 45.7 kB / 454.6 MB, free: 21.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000413/0.3185, allocations: 0.957 MB / 455.5 MB, free: 21.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005392/0.319, allocations: 0.5079 MB / 456 MB, free: 20.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008432/0.3199, allocations: 489.8 kB / 456.5 MB, free: 20.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.097e-05/0.3199, allocations: 476.8 kB / 457 MB, free: 19.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.3213, allocations: 0.7781 MB / 457.8 MB, free: 18.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.3226, allocations: 1.119 MB / 458.9 MB, free: 17.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00257/0.3252, allocations: 1.994 MB / 460.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3252, allocations: 2.688 kB / 460.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01077/0.336, allocations: 3.579 MB / 464.5 MB, free: 12.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.336, allocations: 8 kB / 464.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.336, allocations: 10.69 kB / 464.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01421/0.3502, allocations: 5.631 MB / 470.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.3526, allocations: 0.5958 MB / 470.7 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/0.3663, allocations: 8.547 MB / 479.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.3681, allocations: 68.02 kB / 479.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009244/0.3691, allocations: 343.8 kB / 479.7 MB, free: 13.17 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.001008/0.3701, allocations: 234.2 kB / 479.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006318/0.3707, allocations: 179.2 kB / 480.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/0.3811, allocations: 3.923 MB / 484 MB, free: 8.926 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008574/0.3897, allocations: 2.496 MB / 486.5 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.3897, allocations: 4 kB / 486.5 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-05/0.3897, allocations: 10.62 kB / 486.5 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.4062, allocations: 7.338 MB / 493.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/0.4062, allocations: 8 kB / 493.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/0.4078, allocations: 332.4 kB / 494.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02381/0.4316, allocations: 4.949 MB / 499.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005581/0.4322, allocations: 91.91 kB / 499.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.4436, allocations: 5.531 MB / 0.4929 GB, free: 4.195 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.01905/0.4626, allocations: 4.408 MB / 0.4972 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.4743, allocations: 3.817 MB / 0.5009 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/0.4748, allocations: 145 kB / 0.5011 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003865/0.4752, allocations: 34.66 kB / 0.5011 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.4764, allocations: 43.97 kB / 0.5012 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005691/0.477, allocations: 178 kB / 0.5013 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002633/0.4772, allocations: 155.9 kB / 0.5015 GB, free: 11.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007218/0.4779, allocations: 0.6468 MB / 0.5021 GB, free: 10.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4779, allocations: 0 / 0.5021 GB, free: 10.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002791/0.4807, allocations: 0.9371 MB / 0.503 GB, free: 9.871 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.0009245/0.4817, allocations: 416 kB / 0.5034 GB, free: 9.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005465/0.4871, allocations: 2.352 MB / 0.5057 GB, free: 7.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.4871, allocations: 2.953 kB / 0.5057 GB, free: 7.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003043/0.4902, allocations: 1.394 MB / 0.5071 GB, free: 5.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.4918, allocations: 426.4 kB / 0.5075 GB, free: 5.484 MB / 378.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 659] [Calling sys.exit(0), Time elapsed: 2.458264918997884]