Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001487/0.001487, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001815/0.001815, allocations: 217.5 kB / 22.26 MB, free: 5.082 MB / 14.72 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1797/0.1797, allocations: 23.89 MB / 336.3 MB, free: 11.3 MB / 270.1 MB " [Timeout remaining time 179] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfAlcohol") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 59.91 kB / 471.7 MB, free: 7.207 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4419, allocations: 59.88 MB / 0.5191 GB, free: 9.809 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350: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 master/Boundaries.mo:1350:7-1350: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.04689/0.4888, allocations: 29.02 MB / 0.5475 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02127/0.5101, allocations: 9.012 MB / 0.5563 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/0.5125, allocations: 31.81 kB / 0.5563 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004112/0.5166, allocations: 0.8414 MB / 0.5571 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004763/0.5214, allocations: 0.8103 MB / 0.5579 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004627/0.526, allocations: 0.9059 MB / 0.5588 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005875/0.5319, allocations: 1.89 MB / 0.5606 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008024/0.5327, allocations: 234.3 kB / 0.5608 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.5344, allocations: 0.6223 MB / 0.5615 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/0.5367, allocations: 0.8771 MB / 0.5623 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000296/0.537, allocations: 136 kB / 0.5624 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00687/0.5439, allocations: 1.515 MB / 0.5639 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008285/0.5447, allocations: 431.3 kB / 0.5643 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.5464, allocations: 0.8719 MB / 0.5652 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009652/0.5561, allocations: 3.211 MB / 0.5683 GB, free: 7.695 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.5561, allocations: 3.984 kB / 0.5683 GB, free: 7.691 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5561, allocations: 0 / 0.5683 GB, free: 7.691 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.798e-05/0.5562, allocations: 0 / 0.5683 GB, free: 7.691 MB / 414.1 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.005864/0.5621, allocations: 2.087 MB / 0.5704 GB, free: 5.562 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.5621, allocations: 8.031 kB / 0.5704 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.5636, allocations: 363.3 kB / 0.5707 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.5656, allocations: 0.7534 MB / 0.5715 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.5659, allocations: 226.2 kB / 0.5717 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.5661, allocations: 144.3 kB / 0.5718 GB, free: 4.031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007536/0.5736, allocations: 5.958 MB / 0.5776 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.5737, allocations: 0 / 0.5776 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.5738, allocations: 59.98 kB / 0.5777 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002954/0.5741, allocations: 255.5 kB / 0.5779 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.5876, allocations: 11.62 MB / 0.5893 GB, free: 2.117 MB / 430.1 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.01747/0.605, allocations: 9.519 MB / 0.5986 GB, free: 8.418 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.6068, allocations: 0.8404 MB / 0.5994 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009166/0.6077, allocations: 0.527 MB / 0.5999 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007423/0.6151, allocations: 3.529 MB / 0.6034 GB, free: 3.484 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.6152, allocations: 39.22 kB / 0.6034 GB, free: 3.434 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.434e-06/0.6152, allocations: 4 kB / 0.6034 GB, free: 3.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03593/0.6511, allocations: 7.548 MB / 0.6108 GB, free: 11.77 MB / 462.1 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 inlineWhenForInitialization (initialization): time 0.006863/0.658, allocations: 1.796 MB / 0.6125 GB, free: 9.938 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.66, allocations: 1.131 MB / 0.6136 GB, free: 8.797 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002542/0.6603, allocations: 45.64 kB / 0.6137 GB, free: 8.746 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009632/0.6613, allocations: 1.041 MB / 0.6147 GB, free: 7.691 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005323/0.6618, allocations: 361 kB / 0.615 GB, free: 7.336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008103/0.6626, allocations: 439.3 kB / 0.6154 GB, free: 6.898 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6627, allocations: 305.1 kB / 0.6157 GB, free: 6.598 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.664, allocations: 0.6091 MB / 0.6163 GB, free: 5.988 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.6659, allocations: 1.349 MB / 0.6177 GB, free: 4.293 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003613/0.6695, allocations: 2.159 MB / 0.6198 GB, free: 1.785 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-05/0.6696, allocations: 8 kB / 0.6198 GB, free: 1.777 MB / 462.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.01172/0.6813, allocations: 3.041 MB / 0.6227 GB, free: 14.72 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/0.6813, allocations: 16 kB / 0.6228 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.686e-05/0.6814, allocations: 32.03 kB / 0.6228 GB, free: 14.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007098/0.6885, allocations: 1.203 MB / 0.624 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/0.6911, allocations: 0.5343 MB / 0.6245 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007049/0.6982, allocations: 3.695 MB / 0.6281 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.6999, allocations: 72.03 kB / 0.6282 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005733/0.7004, allocations: 259.9 kB / 0.6284 GB, free: 8.742 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 4 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,Ethanol.substanceDefinitionVar.SelfClustering,Ethanol.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 181 * Array equations: 0 * 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 {(4,14), (1,6), (3,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001386/0.7018, allocations: 0.5362 MB / 0.6289 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/0.7023, allocations: 139.1 kB / 0.6291 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/0.7136, allocations: 2.82 MB / 0.6318 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/0.7137, allocations: 12 kB / 0.6318 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/0.7137, allocations: 8 kB / 0.6318 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/0.7137, allocations: 3.984 kB / 0.6318 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/0.7179, allocations: 1.871 MB / 0.6337 GB, free: 3.262 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.7179, allocations: 4 kB / 0.6337 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/0.7197, allocations: 259.9 kB / 0.6339 GB, free: 3.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01025/0.73, allocations: 1.772 MB / 0.6356 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003145/0.7303, allocations: 47.97 kB / 0.6357 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.7417, allocations: 4.696 MB / 0.6403 GB, free: 12.35 MB / 494.1 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.006798/0.7485, allocations: 1.7 MB / 0.6419 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/0.7598, allocations: 2.831 MB / 0.6447 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/0.7602, allocations: 119.1 kB / 0.6448 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/0.7606, allocations: 27.94 kB / 0.6448 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.7616, allocations: 27.98 kB / 0.6449 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/0.762, allocations: 104.8 kB / 0.645 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/0.7621, allocations: 87.91 kB / 0.6451 GB, free: 7.383 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001719/0.7639, allocations: 0.786 MB / 0.6458 GB, free: 6.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7639, allocations: 0 / 0.6458 GB, free: 6.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002485/0.7663, allocations: 455.7 kB / 0.6463 GB, free: 6.148 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 ($STATESET1.x,Ethanol.logm,liquidWater.logm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * 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 {(4,14,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008646/0.7672, allocations: 362.7 kB / 0.6466 GB, free: 5.785 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005206/0.7724, allocations: 1.782 MB / 0.6483 GB, free: 3.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7724, allocations: 4 kB / 0.6483 GB, free: 3.992 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003239/0.7757, allocations: 0.8973 MB / 0.6492 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.7774, allocations: 303.6 kB / 0.6495 GB, free: 2.805 MB / 494.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.5970352543517947] Failed to read output from testmodel.py, exit status != 0: 0.7887318548746407 0.8048217679999999 0.24520759199999995 Calling exit ...