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.001262/0.001262, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.00142/0.00142, allocations: 156.8 kB / 23 MB, free: 4.949 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.366/1.366, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] 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.1276/0.1276, allocations: 17.44 MB / 277.2 MB, free: 15.16 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.00204/0.00204, allocations: 63.91 kB / 412.6 MB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1177, allocations: 59.88 MB / 472.4 MB, free: 9.562 MB / 446.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.4767/0.5944, allocations: 28.12 MB / 0.4888 GB, free: 38.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.6047, allocations: 8.106 MB / 0.4967 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007915/0.6055, allocations: 32.84 kB / 0.4968 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.6076, allocations: 0.7776 MB / 0.4975 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.6092, allocations: 0.8246 MB / 0.4983 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.6114, allocations: 0.9708 MB / 0.4993 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.6136, allocations: 1.921 MB / 0.5012 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003427/0.6139, allocations: 223.6 kB / 0.5014 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006645/0.6146, allocations: 0.6459 MB / 0.502 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009981/0.6156, allocations: 0.8268 MB / 0.5028 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.6157, allocations: 136.5 kB / 0.503 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002597/0.6183, allocations: 0.9917 MB / 0.5039 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.6187, allocations: 451.6 kB / 0.5044 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005396/0.6192, allocations: 0.6659 MB / 0.505 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.6227, allocations: 3.118 MB / 0.508 GB, free: 30.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6227, allocations: 1.281 kB / 0.508 GB, free: 30.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6227, allocations: 0 / 0.508 GB, free: 30.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.578e-05/0.6227, allocations: 0 / 0.508 GB, free: 30.37 MB / 446.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.002906/0.6256, allocations: 2.134 MB / 0.5101 GB, free: 29.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.6256, allocations: 9.062 kB / 0.5101 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007006/0.6263, allocations: 360.2 kB / 0.5105 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009873/0.6273, allocations: 0.7497 MB / 0.5112 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.6275, allocations: 238.3 kB / 0.5114 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.6277, allocations: 149.8 kB / 0.5116 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00557/0.6332, allocations: 6.221 MB / 0.5177 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.6333, allocations: 1.25 kB / 0.5177 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/0.6334, allocations: 60.23 kB / 0.5177 GB, free: 25.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002366/0.6336, allocations: 253.9 kB / 0.518 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009424/0.643, allocations: 12.36 MB / 0.53 GB, free: 19.17 MB / 446.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.01133/0.6543, allocations: 8.818 MB / 0.5386 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.6555, allocations: 0.8457 MB / 0.5395 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007335/0.6563, allocations: 0.5534 MB / 0.54 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006664/0.6629, allocations: 3.598 MB / 0.5435 GB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.663, allocations: 43.22 kB / 0.5436 GB, free: 6.844 MB / 446.1 MB Notification: Performance of pre-optimization done (n=67): time 2.655e-06/0.663, allocations: 0 / 0.5436 GB, free: 6.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.03052/0.6935, allocations: 7.794 MB / 0.5512 GB, free: 204 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.002162/0.6956, allocations: 0.8119 MB / 0.552 GB, free: 15.42 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.6977, allocations: 1.17 MB / 0.5531 GB, free: 14.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002193/0.6979, allocations: 45.7 kB / 0.5532 GB, free: 14.37 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009261/0.6988, allocations: 1.046 MB / 0.5542 GB, free: 13.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005238/0.6994, allocations: 374.5 kB / 0.5545 GB, free: 13.08 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009881/0.7004, allocations: 454.8 kB / 0.555 GB, free: 12.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7005, allocations: 301.1 kB / 0.5553 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.7018, allocations: 0.6236 MB / 0.5559 GB, free: 11.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/0.7038, allocations: 1.369 MB / 0.5572 GB, free: 10.22 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003526/0.7074, allocations: 2.189 MB / 0.5593 GB, free: 7.762 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.7074, allocations: 12 kB / 0.5593 GB, free: 7.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008802/0.7162, allocations: 2.798 MB / 0.5621 GB, free: 5.293 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.7162, allocations: 16 kB / 0.5621 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.546e-05/0.7163, allocations: 28.91 kB / 0.5621 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006781/0.7231, allocations: 1.204 MB / 0.5633 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/0.7267, allocations: 0.7452 MB / 0.564 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006585/0.7333, allocations: 3.647 MB / 0.5676 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.735, allocations: 86.3 kB / 0.5677 GB, free: 28 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005973/0.7356, allocations: 270.3 kB / 0.5679 GB, free: 15.78 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.001485/0.7371, allocations: 0.5383 MB / 0.5685 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005312/0.7376, allocations: 139.8 kB / 0.5686 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/0.7508, allocations: 3.064 MB / 0.5716 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/0.7508, allocations: 16 kB / 0.5716 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/0.7508, allocations: 4 kB / 0.5716 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.389e-05/0.7509, allocations: 9 kB / 0.5716 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.7661, allocations: 4.23 MB / 0.5757 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.7662, allocations: 4 kB / 0.5757 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/0.769, allocations: 495.6 kB / 0.5762 GB, free: 8.289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007009/0.776, allocations: 1.167 MB / 0.5774 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/0.7763, allocations: 55.97 kB / 0.5774 GB, free: 7.059 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/0.792, allocations: 6.985 MB / 0.5842 GB, free: 15.84 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.002183/0.7942, allocations: 0.7228 MB / 0.5849 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.8066, allocations: 3.149 MB / 0.588 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/0.807, allocations: 123 kB / 0.5881 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003892/0.8074, allocations: 23.95 kB / 0.5881 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.8084, allocations: 51.91 kB / 0.5882 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/0.8088, allocations: 112.8 kB / 0.5883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/0.809, allocations: 91.97 kB / 0.5884 GB, free: 11.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00141/0.8104, allocations: 0.7822 MB / 0.5892 GB, free: 10.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8104, allocations: 0 / 0.5892 GB, free: 10.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002284/0.8127, allocations: 495.6 kB / 0.5896 GB, free: 10.24 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.0008747/0.8136, allocations: 366.6 kB / 0.59 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00531/0.8189, allocations: 1.899 MB / 0.5918 GB, free: 7.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8189, allocations: 0 / 0.5918 GB, free: 7.957 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003398/0.8223, allocations: 1.1 MB / 0.5929 GB, free: 6.832 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.824, allocations: 291.1 kB / 0.5932 GB, free: 6.555 MB / 494.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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.1149638700298965] Failed to read output from testmodel.py, exit status != 0: 0.8333382279379293 0.848199437 0.222545756 Calling exit ...