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.0013/0.0013, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001416/0.001416, allocations: 210.6 kB / 22.99 MB, free: 4.41 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.1656/0.1656, allocations: 23.94 MB / 337.1 MB, free: 10.94 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.002227/0.002227, allocations: 75.02 kB / 472.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3334, allocations: 59.87 MB / 0.5198 GB, free: 9.715 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.07655/0.41, allocations: 27.9 MB / 0.5471 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01597/0.4259, allocations: 7.844 MB / 0.5547 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.4282, allocations: 35.81 kB / 0.5548 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003197/0.4314, allocations: 0.7685 MB / 0.5555 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003435/0.4348, allocations: 0.8103 MB / 0.5563 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.4378, allocations: 0.9134 MB / 0.5572 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003779/0.4416, allocations: 1.885 MB / 0.559 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005118/0.4421, allocations: 229.7 kB / 0.5592 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.4432, allocations: 0.6228 MB / 0.5599 GB, free: 236 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.4449, allocations: 0.8779 MB / 0.5607 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.4452, allocations: 132 kB / 0.5608 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.4482, allocations: 0.9559 MB / 0.5618 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005513/0.4488, allocations: 435.6 kB / 0.5622 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009278/0.4497, allocations: 0.6511 MB / 0.5628 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006278/0.456, allocations: 3.033 MB / 0.5658 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.986e-06/0.456, allocations: 3.984 kB / 0.5658 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.456, allocations: 0 / 0.5658 GB, free: 10.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.089e-05/0.456, allocations: 0 / 0.5658 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.004102/0.4601, allocations: 2.091 MB / 0.5678 GB, free: 8.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4602, allocations: 8.031 kB / 0.5678 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008728/0.461, allocations: 359.3 kB / 0.5682 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.4624, allocations: 0.7418 MB / 0.5689 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.4626, allocations: 226.2 kB / 0.5691 GB, free: 7.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.4629, allocations: 156.2 kB / 0.5693 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007285/0.4701, allocations: 5.954 MB / 0.5751 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/0.4702, allocations: 4 kB / 0.5751 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.4703, allocations: 51.98 kB / 0.5751 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003113/0.4706, allocations: 259.5 kB / 0.5754 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.4836, allocations: 11.61 MB / 0.5867 GB, free: 5.172 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.01501/0.4986, allocations: 8.463 MB / 0.595 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.5002, allocations: 0.8287 MB / 0.5958 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008166/0.501, allocations: 0.527 MB / 0.5963 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007178/0.5082, allocations: 3.407 MB / 0.5996 GB, free: 7.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.5082, allocations: 43.22 kB / 0.5997 GB, free: 7.766 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.625e-06/0.5082, allocations: 0 / 0.5997 GB, free: 7.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03772/0.5459, allocations: 7.564 MB / 0.6071 GB, free: 92 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.007255/0.5532, allocations: 1.771 MB / 0.6088 GB, free: 14.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.555, allocations: 1.169 MB / 0.6099 GB, free: 13.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002578/0.5552, allocations: 41.7 kB / 0.61 GB, free: 13.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008613/0.5561, allocations: 1.045 MB / 0.611 GB, free: 11.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004455/0.5565, allocations: 360.9 kB / 0.6113 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007063/0.5572, allocations: 455.2 kB / 0.6118 GB, free: 11.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5574, allocations: 301.1 kB / 0.6121 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.5585, allocations: 0.6091 MB / 0.6127 GB, free: 10.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.5603, allocations: 1.341 MB / 0.614 GB, free: 8.586 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003521/0.5638, allocations: 2.159 MB / 0.6161 GB, free: 6.078 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/0.5638, allocations: 8 kB / 0.6161 GB, free: 6.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.01247/0.5763, allocations: 3.045 MB / 0.6191 GB, free: 3.008 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.066e-05/0.5763, allocations: 16 kB / 0.6191 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/0.5764, allocations: 24 kB / 0.6191 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007795/0.5842, allocations: 1.201 MB / 0.6203 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.5869, allocations: 0.5382 MB / 0.6208 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006822/0.5937, allocations: 3.645 MB / 0.6244 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.5954, allocations: 72.03 kB / 0.6244 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/0.5958, allocations: 259.9 kB / 0.6247 GB, free: 13.1 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.001174/0.597, allocations: 0.5322 MB / 0.6252 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/0.5974, allocations: 147 kB / 0.6253 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/0.609, allocations: 2.816 MB / 0.6281 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/0.609, allocations: 8 kB / 0.6281 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.609, allocations: 4 kB / 0.6281 GB, free: 9.566 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.052e-05/0.609, allocations: 11.95 kB / 0.6281 GB, free: 9.555 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.6119, allocations: 1.413 MB / 0.6295 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.6119, allocations: 3.938 kB / 0.6295 GB, free: 8.086 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/0.6137, allocations: 267.8 kB / 0.6297 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01116/0.6249, allocations: 1.774 MB / 0.6315 GB, free: 6.047 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002329/0.6251, allocations: 55.91 kB / 0.6315 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/0.6361, allocations: 4.59 MB / 0.636 GB, free: 1.281 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.007176/0.6433, allocations: 1.689 MB / 0.6377 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.6545, allocations: 2.831 MB / 0.6404 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/0.6549, allocations: 123.1 kB / 0.6405 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/0.6551, allocations: 19.94 kB / 0.6406 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008933/0.656, allocations: 35.92 kB / 0.6406 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/0.6563, allocations: 96.95 kB / 0.6407 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/0.6564, allocations: 95.91 kB / 0.6408 GB, free: 12.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001197/0.6576, allocations: 0.7742 MB / 0.6415 GB, free: 11.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6576, allocations: 4 kB / 0.6415 GB, free: 11.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001884/0.6595, allocations: 463.7 kB / 0.642 GB, free: 11.09 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.0007196/0.6602, allocations: 354.7 kB / 0.6423 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005151/0.6654, allocations: 1.786 MB / 0.6441 GB, free: 8.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6654, allocations: 4 kB / 0.6441 GB, free: 8.938 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003215/0.6686, allocations: 0.8972 MB / 0.6449 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.6702, allocations: 292.1 kB / 0.6452 GB, free: 7.754 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.2654800440068357] Failed to read output from testmodel.py, exit status != 0: 0.6801390229957178 0.6950604149999999 0.23565659300000003 Calling exit ...