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.001503/0.001503, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001665/0.001665, allocations: 213 kB / 22.99 MB, free: 4.957 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1291/0.1291, allocations: 23.93 MB / 337.1 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] 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.001968/0.001968, allocations: 63.91 kB / 472.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2713, allocations: 59.88 MB / 0.5198 GB, free: 9.789 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.06817/0.3395, allocations: 27.84 MB / 0.547 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.3521, allocations: 7.839 MB / 0.5547 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009845/0.3531, allocations: 39.75 kB / 0.5547 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.3553, allocations: 0.7694 MB / 0.5555 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.3574, allocations: 0.818 MB / 0.5563 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.3595, allocations: 0.9013 MB / 0.5571 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.3619, allocations: 1.885 MB / 0.559 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.3622, allocations: 230.4 kB / 0.5592 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006867/0.3629, allocations: 0.6307 MB / 0.5598 GB, free: 228 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.3641, allocations: 0.8653 MB / 0.5607 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.3642, allocations: 136 kB / 0.5608 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.3664, allocations: 0.9604 MB / 0.5617 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003826/0.3668, allocations: 431.8 kB / 0.5621 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006064/0.3674, allocations: 0.6498 MB / 0.5628 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003579/0.3709, allocations: 3.039 MB / 0.5657 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3709, allocations: 0 / 0.5657 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3709, allocations: 0 / 0.5657 GB, free: 10.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.371, allocations: 4 kB / 0.5657 GB, free: 10.73 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.003399/0.3744, allocations: 2.091 MB / 0.5678 GB, free: 8.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3744, allocations: 8.031 kB / 0.5678 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000794/0.3752, allocations: 363.3 kB / 0.5681 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.3763, allocations: 0.734 MB / 0.5689 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.3766, allocations: 230.2 kB / 0.5691 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.3768, allocations: 152.3 kB / 0.5692 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/0.3831, allocations: 5.954 MB / 0.575 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.3831, allocations: 0 / 0.575 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.3832, allocations: 59.98 kB / 0.5751 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002696/0.3835, allocations: 251.5 kB / 0.5753 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.3949, allocations: 11.61 MB / 0.5867 GB, free: 5.184 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.01304/0.408, allocations: 8.475 MB / 0.5949 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.4095, allocations: 0.8248 MB / 0.5957 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/0.4103, allocations: 0.527 MB / 0.5963 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006399/0.4167, allocations: 3.407 MB / 0.5996 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.4167, allocations: 39.22 kB / 0.5996 GB, free: 7.773 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.614e-06/0.4167, allocations: 3.938 kB / 0.5996 GB, free: 7.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03555/0.4523, allocations: 7.548 MB / 0.607 GB, free: 112 kB / 446.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.007078/0.4593, allocations: 1.797 MB / 0.6088 GB, free: 14.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.4608, allocations: 1.169 MB / 0.6099 GB, free: 13.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.4609, allocations: 41.7 kB / 0.6099 GB, free: 13.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007577/0.4617, allocations: 1.041 MB / 0.611 GB, free: 11.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003736/0.4621, allocations: 361 kB / 0.6113 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006521/0.4627, allocations: 439.3 kB / 0.6117 GB, free: 11.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4628, allocations: 309.1 kB / 0.612 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.4639, allocations: 0.6091 MB / 0.6126 GB, free: 10.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.4656, allocations: 1.345 MB / 0.6139 GB, free: 8.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/0.4688, allocations: 2.159 MB / 0.616 GB, free: 6.082 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.4688, allocations: 4 kB / 0.616 GB, free: 6.078 MB / 462.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.01226/0.4811, allocations: 3.045 MB / 0.619 GB, free: 3.016 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.4811, allocations: 16 kB / 0.619 GB, free: 3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.4811, allocations: 24 kB / 0.619 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007359/0.4885, allocations: 1.199 MB / 0.6202 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002456/0.491, allocations: 0.5304 MB / 0.6207 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006123/0.4971, allocations: 3.663 MB / 0.6243 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.4985, allocations: 67.98 kB / 0.6244 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000337/0.4989, allocations: 255.9 kB / 0.6246 GB, free: 13.11 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.0009453/0.4998, allocations: 0.539 MB / 0.6251 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.5001, allocations: 139 kB / 0.6253 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.511, allocations: 2.82 MB / 0.628 GB, free: 9.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.5111, allocations: 8 kB / 0.628 GB, free: 9.582 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.5111, allocations: 11.92 kB / 0.6281 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.5111, allocations: 3.984 kB / 0.6281 GB, free: 9.566 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/0.5134, allocations: 1.417 MB / 0.6294 GB, free: 8.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.5134, allocations: 4 kB / 0.6294 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.5151, allocations: 263.8 kB / 0.6297 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/0.5259, allocations: 1.769 MB / 0.6314 GB, free: 6.059 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/0.5261, allocations: 55.91 kB / 0.6315 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009972/0.5361, allocations: 4.594 MB / 0.636 GB, free: 1.289 MB / 478.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.006539/0.5427, allocations: 1.685 MB / 0.6376 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/0.5529, allocations: 2.843 MB / 0.6404 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.5532, allocations: 119.1 kB / 0.6405 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.5534, allocations: 31.97 kB / 0.6405 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008255/0.5542, allocations: 20 kB / 0.6405 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.5545, allocations: 104.8 kB / 0.6406 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.5546, allocations: 87.91 kB / 0.6407 GB, free: 12.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001048/0.5557, allocations: 0.7781 MB / 0.6415 GB, free: 11.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5557, allocations: 0 / 0.6415 GB, free: 11.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001687/0.5573, allocations: 455.7 kB / 0.6419 GB, free: 11.11 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.0006605/0.558, allocations: 370.6 kB / 0.6423 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004586/0.5626, allocations: 1.785 MB / 0.644 GB, free: 8.945 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5626, allocations: 0.6875 kB / 0.644 GB, free: 8.945 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00308/0.5657, allocations: 0.8972 MB / 0.6449 GB, free: 8.039 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.567, allocations: 289.2 kB / 0.6452 GB, free: 7.762 MB / 494.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.822416435999912] Failed to read output from testmodel.py, exit status != 0: 0.5757390149956336 0.58987692 0.21607246800000002 Calling exit ...