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.001722/0.001722, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001528/0.001528, allocations: 212.1 kB / 22.99 MB, free: 4.941 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.503/1.503, 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.1564/0.1564, allocations: 23.98 MB / 337.2 MB, free: 10.85 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.001935/0.001935, allocations: 67.91 kB / 472.5 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3496, allocations: 59.89 MB / 0.5199 GB, free: 9.688 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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:1361:7-1361: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.0751/0.4247, allocations: 28.18 MB / 0.5475 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.44, allocations: 8.08 MB / 0.5553 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.4417, allocations: 35.81 kB / 0.5554 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.4445, allocations: 0.7825 MB / 0.5561 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.4474, allocations: 0.8282 MB / 0.557 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.4505, allocations: 0.965 MB / 0.5579 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003483/0.454, allocations: 1.924 MB / 0.5598 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004692/0.4545, allocations: 228.8 kB / 0.56 GB, free: 76 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.4555, allocations: 0.6362 MB / 0.5606 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.457, allocations: 0.8338 MB / 0.5614 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.4572, allocations: 136 kB / 0.5616 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.4603, allocations: 0.9864 MB / 0.5625 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004702/0.4608, allocations: 441.9 kB / 0.5629 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007547/0.4615, allocations: 0.6675 MB / 0.5636 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.4669, allocations: 3.12 MB / 0.5666 GB, free: 9.816 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4669, allocations: 3.938 kB / 0.5666 GB, free: 9.812 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4669, allocations: 0 / 0.5666 GB, free: 9.812 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.176e-05/0.467, allocations: 0 / 0.5666 GB, free: 9.812 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004192/0.4712, allocations: 2.134 MB / 0.5687 GB, free: 7.637 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4712, allocations: 8.031 kB / 0.5687 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009062/0.4721, allocations: 363.3 kB / 0.5691 GB, free: 7.273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.4735, allocations: 0.7535 MB / 0.5698 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002709/0.4738, allocations: 230.3 kB / 0.57 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.474, allocations: 148.3 kB / 0.5702 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007523/0.4815, allocations: 6.225 MB / 0.5763 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.4816, allocations: 3.938 kB / 0.5763 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.4817, allocations: 67.92 kB / 0.5763 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002983/0.482, allocations: 247.6 kB / 0.5766 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.4955, allocations: 12.36 MB / 0.5886 GB, free: 3.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.01469/0.5102, allocations: 8.826 MB / 0.5973 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.5117, allocations: 0.8317 MB / 0.5981 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008738/0.5126, allocations: 0.5544 MB / 0.5986 GB, free: 8.875 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007307/0.5199, allocations: 3.595 MB / 0.6021 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.52, allocations: 39.22 kB / 0.6022 GB, free: 5.207 MB / 446.1 MB Notification: Performance of pre-optimization done (n=67): time 2.475e-06/0.52, allocations: 4 kB / 0.6022 GB, free: 5.203 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.03221/0.5522, allocations: 7.758 MB / 0.6097 GB, free: 13.32 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.002223/0.5544, allocations: 0.8128 MB / 0.6105 GB, free: 12.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.5561, allocations: 1.17 MB / 0.6117 GB, free: 11.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002275/0.5564, allocations: 45.7 kB / 0.6117 GB, free: 11.24 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008879/0.5573, allocations: 1.049 MB / 0.6127 GB, free: 10.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004338/0.5577, allocations: 380.8 kB / 0.6131 GB, free: 9.801 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006971/0.5584, allocations: 455.2 kB / 0.6135 GB, free: 9.352 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5585, allocations: 301.1 kB / 0.6138 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.5597, allocations: 0.6208 MB / 0.6144 GB, free: 8.434 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/0.5615, allocations: 1.357 MB / 0.6158 GB, free: 6.727 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003459/0.565, allocations: 2.202 MB / 0.6179 GB, free: 4.176 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.565, allocations: 8 kB / 0.6179 GB, free: 4.168 MB / 462.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00853/0.5735, allocations: 2.803 MB / 0.6206 GB, free: 1.348 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.5735, allocations: 16 kB / 0.6207 GB, free: 1.332 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.295e-05/0.5736, allocations: 28 kB / 0.6207 GB, free: 1.305 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006404/0.58, allocations: 1.2 MB / 0.6219 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003482/0.5835, allocations: 0.7452 MB / 0.6226 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006086/0.5895, allocations: 3.641 MB / 0.6261 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.5911, allocations: 88.08 kB / 0.6262 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004323/0.5915, allocations: 263.9 kB / 0.6265 GB, free: 11.21 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 (187): * Single equations (assignments): 184 * 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.001127/0.5927, allocations: 0.5362 MB / 0.627 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.593, allocations: 143 kB / 0.6271 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.6049, allocations: 3.071 MB / 0.6301 GB, free: 7.426 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.6049, allocations: 11.94 kB / 0.6302 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.605, allocations: 4 kB / 0.6302 GB, free: 7.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.605, allocations: 7.922 kB / 0.6302 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.6188, allocations: 4.215 MB / 0.6343 GB, free: 3.113 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.6188, allocations: 192 / 0.6343 GB, free: 3.113 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002806/0.6216, allocations: 0.4995 MB / 0.6348 GB, free: 2.613 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006878/0.6285, allocations: 1.157 MB / 0.6359 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002294/0.6287, allocations: 59.91 kB / 0.636 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/0.6439, allocations: 6.989 MB / 0.6428 GB, free: 10.16 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.002062/0.6459, allocations: 0.7189 MB / 0.6435 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.6582, allocations: 3.137 MB / 0.6465 GB, free: 6.238 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.6586, allocations: 123.1 kB / 0.6467 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.6589, allocations: 23.95 kB / 0.6467 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008305/0.6598, allocations: 47.92 kB / 0.6467 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/0.6601, allocations: 116.8 kB / 0.6468 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/0.6603, allocations: 95.97 kB / 0.6469 GB, free: 5.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001243/0.6615, allocations: 0.7782 MB / 0.6477 GB, free: 5.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6615, allocations: 3.938 kB / 0.6477 GB, free: 5.055 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002099/0.6636, allocations: 495.6 kB / 0.6482 GB, free: 4.57 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 (77): * Single equations (assignments): 74 * 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): 1 system {(4,14,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007797/0.6644, allocations: 374.8 kB / 0.6485 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005228/0.6696, allocations: 1.887 MB / 0.6504 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.006e-06/0.6696, allocations: 4 kB / 0.6504 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003367/0.673, allocations: 1.104 MB / 0.6515 GB, free: 1.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.6746, allocations: 308 kB / 0.6517 GB, free: 0.8711 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: 3.217218492180109] Failed to read output from testmodel.py, exit status != 0: 0.6840761499479413 0.699300415 0.228887158 Calling exit ...