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.001371/0.001371, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002175/0.002175, allocations: 218 kB / 23.01 MB, free: 4.605 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.1514/0.1514, allocations: 23.89 MB / 337.1 MB, free: 11.18 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.002064/0.002064, allocations: 71.83 kB / 472.5 MB, free: 7.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.439, allocations: 59.88 MB / 0.5199 GB, free: 9.855 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.04969/0.4887, allocations: 29.05 MB / 0.5482 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01699/0.5057, allocations: 9.016 MB / 0.557 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.5083, allocations: 35.81 kB / 0.5571 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0033/0.5116, allocations: 0.8416 MB / 0.5579 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003838/0.5155, allocations: 0.8101 MB / 0.5587 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.519, allocations: 0.906 MB / 0.5596 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004002/0.523, allocations: 1.891 MB / 0.5614 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.5234, allocations: 226.5 kB / 0.5616 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.5245, allocations: 0.6257 MB / 0.5622 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.5259, allocations: 0.877 MB / 0.5631 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.526, allocations: 132 kB / 0.5632 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00449/0.5305, allocations: 1.527 MB / 0.5647 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005083/0.531, allocations: 431.4 kB / 0.5651 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.5321, allocations: 0.88 MB / 0.566 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006955/0.5391, allocations: 3.194 MB / 0.5691 GB, free: 7.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.5391, allocations: 0 / 0.5691 GB, free: 7.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5391, allocations: 0 / 0.5691 GB, free: 7.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.108e-05/0.5391, allocations: 4 kB / 0.5691 GB, free: 7.594 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.004511/0.5436, allocations: 2.102 MB / 0.5712 GB, free: 5.449 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.5437, allocations: 8.031 kB / 0.5712 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009534/0.5446, allocations: 355.3 kB / 0.5715 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.546, allocations: 0.7379 MB / 0.5722 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002723/0.5463, allocations: 234.2 kB / 0.5725 GB, free: 4.074 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.5466, allocations: 148.3 kB / 0.5726 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008404/0.555, allocations: 5.954 MB / 0.5784 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.555, allocations: 3.984 kB / 0.5784 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.5551, allocations: 59.98 kB / 0.5785 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003586/0.5555, allocations: 259.5 kB / 0.5787 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.5704, allocations: 11.62 MB / 0.5901 GB, free: 2.012 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.01687/0.5873, allocations: 9.527 MB / 0.5994 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.589, allocations: 0.8365 MB / 0.6002 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008306/0.5898, allocations: 0.5231 MB / 0.6007 GB, free: 6.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007215/0.597, allocations: 3.529 MB / 0.6042 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.5971, allocations: 43.22 kB / 0.6042 GB, free: 3.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 3.577e-06/0.5971, allocations: 3.938 kB / 0.6042 GB, free: 3.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03408/0.6311, allocations: 7.552 MB / 0.6116 GB, free: 11.65 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.006583/0.6377, allocations: 1.788 MB / 0.6133 GB, free: 9.828 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.6395, allocations: 1.139 MB / 0.6144 GB, free: 8.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002775/0.6398, allocations: 41.7 kB / 0.6145 GB, free: 8.633 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000953/0.6407, allocations: 1.033 MB / 0.6155 GB, free: 7.586 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00046/0.6412, allocations: 365 kB / 0.6158 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000697/0.6419, allocations: 443.2 kB / 0.6162 GB, free: 6.785 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.6421, allocations: 309.2 kB / 0.6165 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.6432, allocations: 0.6091 MB / 0.6171 GB, free: 5.871 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.6451, allocations: 1.341 MB / 0.6184 GB, free: 4.184 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003592/0.6487, allocations: 2.156 MB / 0.6206 GB, free: 1.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.6487, allocations: 8 kB / 0.6206 GB, free: 1.672 MB / 462.1 MB Notification: Performance of matching and sorting (n=213) (initialization): time 0.01167/0.6604, allocations: 3.045 MB / 0.6235 GB, free: 14.61 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.6604, allocations: 16 kB / 0.6236 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/0.6604, allocations: 27.94 kB / 0.6236 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006571/0.667, allocations: 1.208 MB / 0.6248 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/0.6695, allocations: 0.5304 MB / 0.6253 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006402/0.676, allocations: 3.698 MB / 0.6289 GB, free: 8.957 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.6774, allocations: 68.03 kB / 0.629 GB, free: 8.891 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003674/0.6778, allocations: 264 kB / 0.6292 GB, free: 8.633 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.001102/0.6789, allocations: 0.535 MB / 0.6297 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.6792, allocations: 143.1 kB / 0.6299 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.69, allocations: 2.832 MB / 0.6326 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.69, allocations: 8 kB / 0.6326 GB, free: 5.094 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.69, allocations: 4 kB / 0.6326 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.6901, allocations: 7.969 kB / 0.6326 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/0.6933, allocations: 1.867 MB / 0.6345 GB, free: 3.148 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.6933, allocations: 8.031 kB / 0.6345 GB, free: 3.141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/0.6949, allocations: 263.6 kB / 0.6347 GB, free: 2.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009981/0.7049, allocations: 1.765 MB / 0.6365 GB, free: 1.109 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/0.7051, allocations: 47.97 kB / 0.6365 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/0.7154, allocations: 4.694 MB / 0.6411 GB, free: 12.23 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.006363/0.7218, allocations: 1.691 MB / 0.6427 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.7322, allocations: 2.843 MB / 0.6455 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/0.7326, allocations: 115.1 kB / 0.6456 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.7328, allocations: 27.94 kB / 0.6456 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008209/0.7337, allocations: 31.97 kB / 0.6457 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.7339, allocations: 108.7 kB / 0.6458 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.7341, allocations: 83.97 kB / 0.6459 GB, free: 7.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001269/0.7353, allocations: 0.7821 MB / 0.6466 GB, free: 6.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7353, allocations: 4 kB / 0.6466 GB, free: 6.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002027/0.7374, allocations: 459.7 kB / 0.6471 GB, free: 6.027 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.0007633/0.7381, allocations: 364.5 kB / 0.6474 GB, free: 5.664 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004772/0.7429, allocations: 1.778 MB / 0.6491 GB, free: 3.879 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7429, allocations: 0 / 0.6491 GB, free: 3.879 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003053/0.746, allocations: 0.9011 MB / 0.65 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.7474, allocations: 298.2 kB / 0.6503 GB, free: 2.691 MB / 494.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.4274468540097587] Failed to read output from testmodel.py, exit status != 0: 0.7574525189993437 0.772686061 0.23037293399999995 Calling exit ...