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.001334/0.001334, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001574/0.001574, allocations: 214.4 kB / 22.25 MB, free: 4.855 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 MB, free: 7.781 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.1387/0.1387, allocations: 23.98 MB / 336.4 MB, free: 10.84 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: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) [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.002143/0.002143, allocations: 64.19 kB / 471.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3129, allocations: 59.89 MB / 0.5187 GB, free: 9.547 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.07279/0.3856, allocations: 28.18 MB / 0.5462 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01526/0.4009, allocations: 8.087 MB / 0.5541 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.403, allocations: 31.81 kB / 0.5542 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003213/0.4062, allocations: 0.7869 MB / 0.5549 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003671/0.4099, allocations: 0.8195 MB / 0.5557 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003597/0.4135, allocations: 0.9691 MB / 0.5567 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003953/0.4174, allocations: 1.935 MB / 0.5586 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005422/0.418, allocations: 217.8 kB / 0.5588 GB, free: 128 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.4192, allocations: 0.6485 MB / 0.5594 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.4209, allocations: 0.8226 MB / 0.5602 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000343/0.4212, allocations: 136 kB / 0.5603 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.4243, allocations: 0.9902 MB / 0.5613 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005731/0.4249, allocations: 440.9 kB / 0.5617 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009178/0.4258, allocations: 0.672 MB / 0.5624 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005575/0.4314, allocations: 3.122 MB / 0.5654 GB, free: 9.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4314, allocations: 0 / 0.5654 GB, free: 9.852 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4314, allocations: 0 / 0.5654 GB, free: 9.852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.45e-05/0.4314, allocations: 0 / 0.5654 GB, free: 9.852 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.003999/0.4354, allocations: 2.141 MB / 0.5675 GB, free: 7.668 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4355, allocations: 12.03 kB / 0.5675 GB, free: 7.656 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003045/0.4358, allocations: 258.1 kB / 0.5678 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008524/0.4366, allocations: 355.3 kB / 0.5681 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.438, allocations: 0.7535 MB / 0.5689 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/0.4382, allocations: 238.2 kB / 0.5691 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.4385, allocations: 152.3 kB / 0.5692 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007544/0.446, allocations: 6.221 MB / 0.5753 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.446, allocations: 0 / 0.5753 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.4462, allocations: 59.98 kB / 0.5754 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002974/0.4465, allocations: 255.6 kB / 0.5756 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.4602, allocations: 12.35 MB / 0.5877 GB, free: 2.957 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.0156/0.4758, allocations: 9.092 MB / 0.5965 GB, free: 9.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.4774, allocations: 0.8434 MB / 0.5974 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009026/0.4783, allocations: 0.5505 MB / 0.5979 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007262/0.4855, allocations: 3.595 MB / 0.6014 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.4856, allocations: 43.16 kB / 0.6015 GB, free: 4.691 MB / 446.1 MB Notification: Performance of pre-optimization done (n=67): time 3.506e-06/0.4856, allocations: 0 / 0.6015 GB, free: 4.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.03231/0.5179, allocations: 7.754 MB / 0.609 GB, free: 12.81 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.002185/0.5201, allocations: 0.8088 MB / 0.6098 GB, free: 11.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.5217, allocations: 1.178 MB / 0.611 GB, free: 10.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001868/0.5219, allocations: 45.7 kB / 0.611 GB, free: 10.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008203/0.5227, allocations: 1.045 MB / 0.612 GB, free: 9.668 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000436/0.5231, allocations: 380.8 kB / 0.6124 GB, free: 9.293 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006652/0.5238, allocations: 451.3 kB / 0.6128 GB, free: 8.848 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5239, allocations: 305.1 kB / 0.6131 GB, free: 8.547 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.5251, allocations: 0.6247 MB / 0.6137 GB, free: 7.922 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.5269, allocations: 1.361 MB / 0.6151 GB, free: 6.211 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003451/0.5303, allocations: 2.195 MB / 0.6172 GB, free: 3.668 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.412e-05/0.5304, allocations: 8 kB / 0.6172 GB, free: 3.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008634/0.539, allocations: 2.81 MB / 0.62 GB, free: 0.832 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.539, allocations: 16 kB / 0.62 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/0.5391, allocations: 28.81 kB / 0.62 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006522/0.5456, allocations: 1.189 MB / 0.6212 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003421/0.549, allocations: 0.7413 MB / 0.6219 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006025/0.555, allocations: 3.667 MB / 0.6255 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.5565, allocations: 88.08 kB / 0.6255 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/0.5569, allocations: 267.9 kB / 0.6258 GB, free: 10.67 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.001039/0.5579, allocations: 0.5439 MB / 0.6263 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/0.5583, allocations: 143.1 kB / 0.6265 GB, free: 9.977 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/0.5708, allocations: 3.067 MB / 0.6295 GB, free: 6.883 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/0.5708, allocations: 19.92 kB / 0.6295 GB, free: 6.863 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.5708, allocations: 4 kB / 0.6295 GB, free: 6.859 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.25e-05/0.5708, allocations: 3.984 kB / 0.6295 GB, free: 6.855 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.5857, allocations: 4.499 MB / 0.6339 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.5857, allocations: 0 / 0.6339 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/0.5885, allocations: 0.4917 MB / 0.6344 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007103/0.5956, allocations: 1.157 MB / 0.6355 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002684/0.5959, allocations: 55.97 kB / 0.6355 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01555/0.6115, allocations: 7.034 MB / 0.6424 GB, free: 9.258 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.002142/0.6136, allocations: 0.7353 MB / 0.6431 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/0.6259, allocations: 3.13 MB / 0.6462 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.6263, allocations: 127 kB / 0.6463 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002989/0.6266, allocations: 20 kB / 0.6463 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008829/0.6275, allocations: 44.02 kB / 0.6464 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000364/0.6279, allocations: 128.6 kB / 0.6465 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/0.628, allocations: 95.97 kB / 0.6466 GB, free: 4.918 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001254/0.6293, allocations: 0.7862 MB / 0.6474 GB, free: 4.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6293, allocations: 0 / 0.6474 GB, free: 4.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002141/0.6314, allocations: 495.6 kB / 0.6478 GB, free: 3.645 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.01313/0.6445, allocations: 3.94 MB / 0.6517 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0053/0.6498, allocations: 1.887 MB / 0.6535 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.6499, allocations: 0 / 0.6535 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003431/0.6533, allocations: 1.112 MB / 0.6546 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.6549, allocations: 299.2 kB / 0.6549 GB, free: 12.33 MB / 0.4981 GB [/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.177637725137174] Failed to read output from testmodel.py, exit status != 0: 0.6639876561239362 0.680759748 0.24577145 Calling exit ...