Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.WaterSublimation.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.001085/0.001085, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001829/0.001829, allocations: 210.5 kB / 22.25 MB, free: 3.566 MB / 13.93 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.063/1.063, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1013/0.1013, allocations: 24.01 MB / 336.4 MB, free: 9.938 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Examples_WaterSublimation",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Examples_WaterSublimation",fmuType="me_cs",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.001502/0.001502, allocations: 76.16 kB / 472.9 MB, free: 16.2 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09713, allocations: 59.9 MB / 0.5203 GB, free: 4.191 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Interfaces.mo:1586:5-1586:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Interfaces.mo:1586:5-1586:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterSublimation): time 0.4884/0.5855, allocations: 42.22 MB / 0.5615 GB, free: 3.656 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.1279/0.7134, allocations: 128.4 MB / 0.6869 GB, free: 2.777 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.7159, allocations: 87.31 kB / 0.687 GB, free: 2.691 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.003384/0.7193, allocations: 1.242 MB / 0.6882 GB, free: 1.441 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.7241, allocations: 1.622 MB / 0.6898 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004735/0.7288, allocations: 1.887 MB / 0.6917 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005486/0.7343, allocations: 4.009 MB / 0.6956 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009609/0.7352, allocations: 0.7184 MB / 0.6963 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.737, allocations: 1.44 MB / 0.6977 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002374/0.7393, allocations: 1.688 MB / 0.6993 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0006317/0.74, allocations: 328 kB / 0.6997 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003566/0.7435, allocations: 1.494 MB / 0.7011 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0007352/0.7443, allocations: 1.016 MB / 0.7021 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001919/0.7462, allocations: 1.508 MB / 0.7036 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.008471/0.7547, allocations: 5.724 MB / 0.7092 GB, free: 11.88 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7547, allocations: 0 / 0.7092 GB, free: 11.88 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7547, allocations: 0 / 0.7092 GB, free: 11.88 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001884/0.7549, allocations: 4 kB / 0.7092 GB, free: 11.87 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1015 * Number of variables: 1015 Notification: Performance of Generate backend data structure: time 0.006484/0.7614, allocations: 4.103 MB / 0.7132 GB, free: 7.715 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/0.7614, allocations: 11.98 kB / 0.7132 GB, free: 7.703 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000511/0.7619, allocations: 0.5041 MB / 0.7137 GB, free: 7.191 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.7635, allocations: 0.775 MB / 0.7144 GB, free: 6.414 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.7665, allocations: 1.943 MB / 0.7163 GB, free: 4.426 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003508/0.7668, allocations: 437.4 kB / 0.7167 GB, free: 3.961 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.7671, allocations: 332.2 kB / 0.7171 GB, free: 3.637 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/0.7774, allocations: 10.66 MB / 0.7275 GB, free: 8.961 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.714e-05/0.7775, allocations: 3.938 kB / 0.7275 GB, free: 8.961 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.7776, allocations: 136 kB / 0.7276 GB, free: 8.828 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003249/0.778, allocations: 479.7 kB / 0.7281 GB, free: 8.359 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01554/0.7935, allocations: 19.85 MB / 0.7475 GB, free: 4.5 MB / 0.5574 GB 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.02212/0.8156, allocations: 17.87 MB / 0.7649 GB, free: 2.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.8182, allocations: 2.284 MB / 0.7671 GB, free: 208 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/0.82, allocations: 1.754 MB / 0.7688 GB, free: 14.45 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0119/0.8319, allocations: 8.289 MB / 0.7769 GB, free: 6.129 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.8319, allocations: 51.88 kB / 0.777 GB, free: 6.07 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=136): time 3.296e-06/0.8319, allocations: 0 / 0.777 GB, free: 6.07 MB / 0.5887 GB Notification: Performance of matching and sorting (n=192): time 0.2813/1.113, allocations: 22.29 MB / 0.7988 GB, free: 211 MB / 0.5887 GB 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.007822/1.121, allocations: 6.6 MB / 0.8052 GB, free: 206.4 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/1.124, allocations: 2.495 MB / 0.8076 GB, free: 205.5 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0005583/1.125, allocations: 55.86 kB / 0.8077 GB, free: 205.4 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007878/1.125, allocations: 1.832 MB / 0.8095 GB, free: 204.2 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006115/1.126, allocations: 0.6921 MB / 0.8102 GB, free: 203.8 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008885/1.127, allocations: 0.7076 MB / 0.8108 GB, free: 203.5 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 2.966e-05/1.127, allocations: 301.1 kB / 0.8111 GB, free: 203.2 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/1.129, allocations: 2.641 MB / 0.8137 GB, free: 201.8 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002618/1.132, allocations: 3.4 MB / 0.817 GB, free: 198.1 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07641/1.208, allocations: 28.85 MB / 0.8452 GB, free: 169.4 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-05/1.208, allocations: 8 kB / 0.8452 GB, free: 169.4 MB / 0.5887 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01609/1.225, allocations: 8.988 MB / 0.854 GB, free: 160.4 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/1.225, allocations: 16 kB / 0.854 GB, free: 160.4 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/1.225, allocations: 24 kB / 0.854 GB, free: 160.4 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/1.235, allocations: 4.478 MB / 0.8584 GB, free: 156 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003153/1.239, allocations: 1.02 MB / 0.8594 GB, free: 155 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008085/1.247, allocations: 10.24 MB / 0.8694 GB, free: 144.3 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/1.249, allocations: 150.6 kB / 0.8695 GB, free: 144.2 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006387/1.25, allocations: 459.8 kB / 0.87 GB, free: 143.7 MB / 0.5887 GB Warning: Assuming fixed start value for the following 1 variables: gasVolatility.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 110 * Number of states: 0 () * Number of discrete variables: 4 (H2O_solid.substanceDefinitionVar.SelfClustering,H2O_solid.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(5,13), (3,5), (4,14), (4,3), (2,3), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.002285/1.252, allocations: 0.9106 MB / 0.8709 GB, free: 142.8 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008521/1.253, allocations: 302.2 kB / 0.8712 GB, free: 142.5 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/1.269, allocations: 8.677 MB / 0.8796 GB, free: 133.9 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/1.269, allocations: 16 kB / 0.8797 GB, free: 133.9 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/1.269, allocations: 8 kB / 0.8797 GB, free: 133.9 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.045e-05/1.269, allocations: 17.67 kB / 0.8797 GB, free: 133.9 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/1.291, allocations: 13.28 MB / 0.8926 GB, free: 120.4 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/1.291, allocations: 2.625 kB / 0.8926 GB, free: 120.4 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002718/1.293, allocations: 0.7136 MB / 0.8933 GB, free: 119.7 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01086/1.304, allocations: 4.073 MB / 0.8973 GB, free: 115.7 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000566/1.305, allocations: 115.9 kB / 0.8974 GB, free: 115.6 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/1.323, allocations: 17.43 MB / 0.9144 GB, free: 97.55 MB / 0.5887 GB 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.005864/1.329, allocations: 5.259 MB / 0.9196 GB, free: 92.04 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/1.346, allocations: 10.21 MB / 0.9296 GB, free: 81.8 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000821/1.347, allocations: 278.2 kB / 0.9298 GB, free: 81.52 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005549/1.348, allocations: 50.52 kB / 0.9299 GB, free: 81.48 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/1.349, allocations: 119.8 kB / 0.93 GB, free: 81.36 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007202/1.35, allocations: 233.5 kB / 0.9302 GB, free: 81.14 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000246/1.35, allocations: 211.9 kB / 0.9304 GB, free: 80.93 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.001907/1.352, allocations: 2.076 MB / 0.9324 GB, free: 78.85 MB / 0.5887 GB Notification: Performance of sort global known variables: time 8e-08/1.352, allocations: 0 / 0.9324 GB, free: 78.85 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.003378/1.355, allocations: 1.058 MB / 0.9335 GB, free: 77.79 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET2.x,$STATESET1.x,H2O_gaseuous.logn,otherSubstances.logn,H2O_solid.logm,gasVolatility.rear.n_flow) * 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 (141): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,13,80.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,15), (5,7), (2,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01613/1.371, allocations: 10.6 MB / 0.9438 GB, free: 67.23 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.007706/1.379, allocations: 5.668 MB / 0.9494 GB, free: 61.52 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.379, allocations: 1.875 kB / 0.9494 GB, free: 61.52 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.005033/1.384, allocations: 3.209 MB / 0.9525 GB, free: 58.25 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/1.386, allocations: 0.5853 MB / 0.9531 GB, free: 57.71 MB / 0.5887 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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.505369048565626]