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: 84.44 kB / 19.17 MB, free: 0.7422 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.001099/0.001099, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.041/1.041, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.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.09901/0.09901, allocations: 17.45 MB / 276.6 MB, free: 11.75 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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 413.2 MB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.143e-05, allocations: 2.281 kB / 413.2 MB, free: 14.69 MB / 394.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.3616/0.3616, allocations: 42.23 MB / 455.4 MB, free: 41.68 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.1273/0.4889, allocations: 128.5 MB / 0.5702 GB, free: 3.699 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002634/0.4915, allocations: 95.25 kB / 0.5703 GB, free: 3.605 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003635/0.4951, allocations: 1.25 MB / 0.5715 GB, free: 2.348 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004657/0.4998, allocations: 1.683 MB / 0.5731 GB, free: 0.6523 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004457/0.5042, allocations: 1.909 MB / 0.575 GB, free: 14.73 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.006239/0.5105, allocations: 4.159 MB / 0.5791 GB, free: 10.56 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.5117, allocations: 0.7183 MB / 0.5798 GB, free: 9.789 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00421/0.5159, allocations: 2.113 MB / 0.5818 GB, free: 7.672 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/0.5185, allocations: 1.484 MB / 0.5833 GB, free: 6.184 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000646/0.5191, allocations: 328 kB / 0.5836 GB, free: 5.863 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.5235, allocations: 1.505 MB / 0.5851 GB, free: 4.355 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000744/0.5242, allocations: 1.047 MB / 0.5861 GB, free: 3.305 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.5262, allocations: 1.215 MB / 0.5873 GB, free: 2.086 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009414/0.5356, allocations: 5.697 MB / 0.5928 GB, free: 12.37 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5356, allocations: 4 kB / 0.5928 GB, free: 12.37 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.146e-06/0.5356, allocations: 0 / 0.5928 GB, free: 12.37 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001539/0.5358, allocations: 0 / 0.5928 GB, free: 12.37 MB / 490.8 MB 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.006676/0.5424, allocations: 4.077 MB / 0.5968 GB, free: 8.242 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.5425, allocations: 8.031 kB / 0.5968 GB, free: 8.234 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005623/0.5431, allocations: 0.508 MB / 0.5973 GB, free: 7.719 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.5447, allocations: 0.7711 MB / 0.5981 GB, free: 6.945 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003741/0.5485, allocations: 1.942 MB / 0.6 GB, free: 4.957 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004199/0.5489, allocations: 437.4 kB / 0.6004 GB, free: 4.492 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004902/0.5494, allocations: 336.3 kB / 0.6007 GB, free: 4.164 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/0.5616, allocations: 10.66 MB / 0.6111 GB, free: 9.488 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.357e-05/0.5617, allocations: 192 / 0.6111 GB, free: 9.488 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/0.5619, allocations: 139.9 kB / 0.6112 GB, free: 9.352 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004289/0.5624, allocations: 475.7 kB / 0.6117 GB, free: 8.887 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1908/0.7531, allocations: 19.85 MB / 0.6311 GB, free: 154.8 MB / 0.4949 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.02065/0.7738, allocations: 17.86 MB / 0.6485 GB, free: 146.5 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.7764, allocations: 2.277 MB / 0.6507 GB, free: 145.5 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.7781, allocations: 1.749 MB / 0.6525 GB, free: 144.7 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/0.7887, allocations: 8.299 MB / 0.6606 GB, free: 141.1 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.7887, allocations: 54.12 kB / 0.6606 GB, free: 141.1 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=136): time 2.775e-06/0.7887, allocations: 1.281 kB / 0.6606 GB, free: 141.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=192): time 0.04902/0.8378, allocations: 22.33 MB / 0.6824 GB, free: 126.7 MB / 0.4949 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.008013/0.8458, allocations: 6.6 MB / 0.6889 GB, free: 120.5 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/0.8484, allocations: 2.498 MB / 0.6913 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008138/0.8493, allocations: 53.7 kB / 0.6914 GB, free: 118.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.000668/0.8499, allocations: 1.833 MB / 0.6931 GB, free: 116.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007518/0.8507, allocations: 0.6753 MB / 0.6938 GB, free: 116.1 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009019/0.8516, allocations: 0.7028 MB / 0.6945 GB, free: 115.5 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.934e-05/0.8516, allocations: 309 kB / 0.6948 GB, free: 115.2 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/0.8542, allocations: 2.638 MB / 0.6974 GB, free: 112.5 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/0.8569, allocations: 3.405 MB / 0.7007 GB, free: 108.8 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08057/0.9375, allocations: 29.15 MB / 0.7291 GB, free: 79.73 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-05/0.9375, allocations: 10.62 kB / 0.7292 GB, free: 79.72 MB / 0.4949 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01648/0.954, allocations: 8.995 MB / 0.7379 GB, free: 70.76 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.954, allocations: 16 kB / 0.738 GB, free: 70.75 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/0.954, allocations: 24 kB / 0.738 GB, free: 70.72 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0114/0.9654, allocations: 4.497 MB / 0.7424 GB, free: 66.29 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003394/0.9688, allocations: 1.026 MB / 0.7434 GB, free: 65.28 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008613/0.9774, allocations: 10.23 MB / 0.7534 GB, free: 54.63 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/0.9803, allocations: 154.6 kB / 0.7535 GB, free: 54.48 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000576/0.9809, allocations: 455.9 kB / 0.7539 GB, free: 54.04 MB / 0.4949 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.001904/0.9828, allocations: 0.9135 MB / 0.7548 GB, free: 53.12 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005959/0.9834, allocations: 306.2 kB / 0.7551 GB, free: 52.82 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/0.9994, allocations: 8.677 MB / 0.7636 GB, free: 44.25 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.9994, allocations: 18.69 kB / 0.7636 GB, free: 44.24 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.9995, allocations: 8 kB / 0.7636 GB, free: 44.23 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-05/0.9995, allocations: 7.969 kB / 0.7636 GB, free: 44.22 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02145/1.021, allocations: 13.27 MB / 0.7766 GB, free: 30.72 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/1.021, allocations: 0 / 0.7766 GB, free: 30.72 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002791/1.024, allocations: 0.7211 MB / 0.7773 GB, free: 30.02 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01098/1.035, allocations: 4.108 MB / 0.7813 GB, free: 25.95 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000734/1.035, allocations: 119.8 kB / 0.7814 GB, free: 25.83 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/1.055, allocations: 17.42 MB / 0.7984 GB, free: 7.824 MB / 0.4949 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.006611/1.062, allocations: 5.257 MB / 0.8036 GB, free: 2.309 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2117/1.273, allocations: 10.2 MB / 0.8135 GB, free: 146.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/1.274, allocations: 282.7 kB / 0.8138 GB, free: 146.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005516/1.275, allocations: 48.17 kB / 0.8139 GB, free: 146.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/1.276, allocations: 116.5 kB / 0.814 GB, free: 146.3 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005725/1.277, allocations: 230.9 kB / 0.8142 GB, free: 146.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00027/1.277, allocations: 213.5 kB / 0.8144 GB, free: 146.2 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002064/1.279, allocations: 2.076 MB / 0.8164 GB, free: 145.4 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.8e-07/1.279, allocations: 0 / 0.8164 GB, free: 145.4 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002981/1.282, allocations: 1.067 MB / 0.8175 GB, free: 145.3 MB / 0.4949 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.01813/1.3, allocations: 10.6 MB / 0.8278 GB, free: 141.1 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008619/1.309, allocations: 5.663 MB / 0.8333 GB, free: 138.9 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.309, allocations: 0 / 0.8333 GB, free: 138.9 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005737/1.315, allocations: 3.21 MB / 0.8365 GB, free: 137.4 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/1.317, allocations: 0.576 MB / 0.837 GB, free: 137.2 MB / 0.4949 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4683:9-4683:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:843:5-843: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.2850302774459124]