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.0021/0.0021, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.003213/0.003213, allocations: 214.6 kB / 22.25 MB, free: 5.082 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.805/1.805, allocations: 230.6 MB / 256 MB, free: 8.02 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.1542/0.1542, allocations: 23.89 MB / 336.3 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.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterSublimation") [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.002163/0.002163, allocations: 68.08 kB / 471.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3825, allocations: 59.89 MB / 0.5191 GB, free: 9.82 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1558:5-1558: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 master/Interfaces.mo:1558:5-1558: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.04733/0.4298, allocations: 34.33 MB / 0.5527 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1895/0.6193, allocations: 148.1 MB / 0.6973 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003763/0.6231, allocations: 55.69 kB / 0.6973 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004271/0.6273, allocations: 1.196 MB / 0.6985 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005543/0.6329, allocations: 1.346 MB / 0.6998 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00457/0.6375, allocations: 1.665 MB / 0.7015 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006844/0.6443, allocations: 3.712 MB / 0.7051 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.6458, allocations: 0.7293 MB / 0.7058 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.6481, allocations: 1.308 MB / 0.7071 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.6507, allocations: 1.747 MB / 0.7088 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004433/0.6512, allocations: 320 kB / 0.7091 GB, free: 6.926 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/0.6554, allocations: 1.779 MB / 0.7108 GB, free: 5.145 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008452/0.6562, allocations: 0.9185 MB / 0.7117 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.6581, allocations: 1.857 MB / 0.7135 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00803/0.6661, allocations: 5.549 MB / 0.7189 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6661, allocations: 0 / 0.7189 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6661, allocations: 0 / 0.7189 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.279e-05/0.6662, allocations: 0 / 0.7189 GB, free: 12.79 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.006624/0.6728, allocations: 3.94 MB / 0.7228 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.6728, allocations: 8.031 kB / 0.7228 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.6742, allocations: 0.6346 MB / 0.7234 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.6765, allocations: 1.376 MB / 0.7248 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.6769, allocations: 425.3 kB / 0.7252 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/0.6773, allocations: 332.2 kB / 0.7255 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2412/0.9185, allocations: 10.22 MB / 0.7355 GB, free: 187 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.927e-05/0.9186, allocations: 1.859 kB / 0.7355 GB, free: 187 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/0.9188, allocations: 130.2 kB / 0.7356 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005558/0.9194, allocations: 474.2 kB / 0.736 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0233/0.9427, allocations: 18.73 MB / 0.7543 GB, free: 179.9 MB / 0.5606 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.02656/0.9692, allocations: 19.06 MB / 0.773 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/0.9721, allocations: 2.303 MB / 0.7752 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.9738, allocations: 1.629 MB / 0.7768 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0131/0.987, allocations: 8.526 MB / 0.7851 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.987, allocations: 50.03 kB / 0.7852 GB, free: 153 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 5.069e-06/0.987, allocations: 5.453 kB / 0.7852 GB, free: 153 MB / 0.5606 GB Notification: Performance of matching and sorting (n=187): time 0.07983/1.067, allocations: 22.11 MB / 0.8068 GB, free: 131.3 MB / 0.5606 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.06026/1.127, allocations: 18.47 MB / 0.8248 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002832/1.13, allocations: 2.445 MB / 0.8272 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006692/1.131, allocations: 53.7 kB / 0.8272 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008988/1.131, allocations: 1.814 MB / 0.829 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007341/1.132, allocations: 0.6622 MB / 0.8297 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/1.133, allocations: 0.6684 MB / 0.8303 GB, free: 107 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.098e-05/1.133, allocations: 301.1 kB / 0.8306 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003085/1.136, allocations: 2.447 MB / 0.833 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003493/1.14, allocations: 3.207 MB / 0.8361 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.146/1.286, allocations: 27.71 MB / 0.8632 GB, free: 73.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-05/1.286, allocations: 10.59 kB / 0.8632 GB, free: 73.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=307) (initialization): time 0.02609/1.312, allocations: 8.466 MB / 0.8715 GB, free: 64.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/1.312, allocations: 18.66 kB / 0.8715 GB, free: 64.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.256e-05/1.312, allocations: 24 kB / 0.8715 GB, free: 64.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01986/1.332, allocations: 4.36 MB / 0.8758 GB, free: 60.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004489/1.337, allocations: 0.7814 MB / 0.8765 GB, free: 59.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/1.348, allocations: 10.06 MB / 0.8863 GB, free: 48.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003746/1.352, allocations: 130.7 kB / 0.8865 GB, free: 48.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007115/1.352, allocations: 411.8 kB / 0.8869 GB, free: 48.42 MB / 0.5606 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 (250): * Single equations (assignments): 243 * 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.001982/1.354, allocations: 0.9066 MB / 0.8877 GB, free: 47.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007165/1.355, allocations: 277.4 kB / 0.888 GB, free: 47.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02483/1.38, allocations: 8.131 MB / 0.8959 GB, free: 39.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/1.38, allocations: 16 kB / 0.896 GB, free: 39.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/1.38, allocations: 8 kB / 0.896 GB, free: 39.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.023e-05/1.38, allocations: 7.969 kB / 0.896 GB, free: 39.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0319/1.412, allocations: 13.78 MB / 0.9094 GB, free: 25.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/1.412, allocations: 0 / 0.9094 GB, free: 25.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003406/1.415, allocations: 459.4 kB / 0.9099 GB, free: 24.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03271/1.448, allocations: 5.57 MB / 0.9153 GB, free: 19.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005573/1.449, allocations: 107.9 kB / 0.9154 GB, free: 18.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02438/1.473, allocations: 13.46 MB / 0.9286 GB, free: 5.078 MB / 0.5606 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.0628/1.536, allocations: 16.74 MB / 0.9449 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2876/1.823, allocations: 9.649 MB / 0.9543 GB, free: 189 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007741/1.824, allocations: 282.7 kB / 0.9546 GB, free: 189 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007037/1.825, allocations: 43.11 kB / 0.9546 GB, free: 189 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00268/1.827, allocations: 88.69 kB / 0.9547 GB, free: 189 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007736/1.828, allocations: 209.1 kB / 0.9549 GB, free: 189 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003943/1.829, allocations: 196.3 kB / 0.9551 GB, free: 189 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002825/1.831, allocations: 1.912 MB / 0.957 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.831, allocations: 0 / 0.957 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004257/1.836, allocations: 1.01 MB / 0.958 GB, free: 188.2 MB / 0.5762 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 (128): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 2 systems {(9,25), (5,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/1.837, allocations: 433.7 kB / 0.9584 GB, free: 188 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01233/1.849, allocations: 5.36 MB / 0.9636 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/1.849, allocations: 4.125 kB / 0.9636 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008685/1.858, allocations: 2.873 MB / 0.9664 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/1.861, allocations: 0.5624 MB / 0.967 GB, free: 184.5 MB / 0.5762 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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 658] [Calling sys.exit(0), Time elapsed: 4.817616299726069] Failed to read output from testmodel.py, exit status != 0: 1.871857050806284 1.883496597 1.214840988 Calling exit ...