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.001315/0.001315, 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.001483/0.001483, allocations: 213.1 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1394/0.1394, 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.002011/0.002011, allocations: 66.88 kB / 472.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3838, allocations: 59.87 MB / 0.5198 GB, free: 9.762 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.07556/0.4594, allocations: 27.85 MB / 0.547 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0138/0.4732, allocations: 7.839 MB / 0.5547 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.4748, allocations: 35.75 kB / 0.5547 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.4775, allocations: 0.7732 MB / 0.5555 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003684/0.4812, allocations: 0.8178 MB / 0.5563 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00317/0.4844, allocations: 0.8943 MB / 0.5571 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003294/0.4877, allocations: 1.892 MB / 0.559 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.4882, allocations: 227 kB / 0.5592 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009901/0.4892, allocations: 0.6297 MB / 0.5598 GB, free: 260 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.4905, allocations: 0.8695 MB / 0.5607 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.4907, allocations: 136 kB / 0.5608 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.4933, allocations: 0.9603 MB / 0.5617 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003938/0.4937, allocations: 431.8 kB / 0.5621 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006488/0.4943, allocations: 0.6498 MB / 0.5628 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004339/0.4987, allocations: 3.039 MB / 0.5657 GB, free: 10.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4987, allocations: 0 / 0.5657 GB, free: 10.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4987, allocations: 0 / 0.5657 GB, free: 10.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.501e-05/0.4987, allocations: 4 kB / 0.5657 GB, free: 10.74 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.003566/0.5023, allocations: 2.087 MB / 0.5678 GB, free: 8.609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.5023, allocations: 12.03 kB / 0.5678 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008776/0.5032, allocations: 367.3 kB / 0.5681 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.5044, allocations: 0.734 MB / 0.5689 GB, free: 7.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.5046, allocations: 234.2 kB / 0.5691 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.5048, allocations: 152.3 kB / 0.5692 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00678/0.5116, allocations: 5.95 MB / 0.575 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.5116, allocations: 0 / 0.575 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.5118, allocations: 59.98 kB / 0.5751 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002949/0.5121, allocations: 251.5 kB / 0.5753 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01255/0.5246, allocations: 11.62 MB / 0.5867 GB, free: 5.18 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.01356/0.5382, allocations: 8.463 MB / 0.5949 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.5398, allocations: 0.8326 MB / 0.5958 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008168/0.5406, allocations: 0.5309 MB / 0.5963 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006896/0.5475, allocations: 3.403 MB / 0.5996 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.5475, allocations: 43.22 kB / 0.5996 GB, free: 7.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.575e-06/0.5475, allocations: 3.938 kB / 0.5996 GB, free: 7.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03634/0.5839, allocations: 7.537 MB / 0.607 GB, free: 120 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.006897/0.5908, allocations: 1.789 MB / 0.6087 GB, free: 14.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.5924, allocations: 1.173 MB / 0.6099 GB, free: 13.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.5926, allocations: 41.7 kB / 0.6099 GB, free: 13.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007995/0.5934, allocations: 1.049 MB / 0.611 GB, free: 11.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003943/0.5938, allocations: 357 kB / 0.6113 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006635/0.5944, allocations: 443.2 kB / 0.6117 GB, free: 11.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5946, allocations: 305.1 kB / 0.612 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.5956, allocations: 0.6091 MB / 0.6126 GB, free: 10.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.5973, allocations: 1.345 MB / 0.6139 GB, free: 8.598 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003093/0.6004, allocations: 2.156 MB / 0.616 GB, free: 6.094 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.6004, allocations: 8 kB / 0.616 GB, free: 6.086 MB / 462.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.01156/0.612, allocations: 3.049 MB / 0.619 GB, free: 3.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.612, allocations: 16 kB / 0.619 GB, free: 3.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.612, allocations: 24 kB / 0.619 GB, free: 2.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007156/0.6192, allocations: 1.203 MB / 0.6202 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/0.6216, allocations: 0.5304 MB / 0.6207 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/0.6279, allocations: 3.649 MB / 0.6243 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.6294, allocations: 72.03 kB / 0.6244 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/0.6297, allocations: 259.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.00118/0.6309, allocations: 0.5351 MB / 0.6251 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.6313, allocations: 147 kB / 0.6253 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.6423, allocations: 2.816 MB / 0.628 GB, free: 9.594 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/0.6423, allocations: 8 kB / 0.628 GB, free: 9.586 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.6423, allocations: 7.938 kB / 0.6281 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/0.6423, allocations: 3.984 kB / 0.6281 GB, free: 9.574 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.6451, allocations: 1.417 MB / 0.6294 GB, free: 8.105 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.6451, allocations: 3.984 kB / 0.6294 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.6468, allocations: 267.8 kB / 0.6297 GB, free: 7.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0104/0.6572, allocations: 1.769 MB / 0.6314 GB, free: 6.062 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002532/0.6574, allocations: 51.91 kB / 0.6315 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.6679, allocations: 4.604 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.006801/0.6747, allocations: 1.685 MB / 0.6376 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.6853, allocations: 2.835 MB / 0.6404 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.6856, allocations: 119.1 kB / 0.6405 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.6859, allocations: 27.94 kB / 0.6405 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008627/0.6867, allocations: 27.98 kB / 0.6406 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.687, allocations: 96.83 kB / 0.6406 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.6871, allocations: 91.91 kB / 0.6407 GB, free: 12.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.6883, allocations: 0.7781 MB / 0.6415 GB, free: 11.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6883, allocations: 0 / 0.6415 GB, free: 11.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001838/0.6901, allocations: 459.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.0007296/0.6908, allocations: 366.6 kB / 0.6423 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004903/0.6957, allocations: 1.785 MB / 0.644 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6957, allocations: 0.6875 kB / 0.644 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003107/0.6988, allocations: 0.905 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.001637/0.7005, allocations: 286.9 kB / 0.6452 GB, free: 7.766 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.267875360994367] Failed to read output from testmodel.py, exit status != 0: 0.7111313740024343 0.7265197489999999 0.22453351400000002 Calling exit ...