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.001328/0.001328, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001503/0.001503, allocations: 206.6 kB / 22.99 MB, free: 4.953 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1467/0.1467, allocations: 23.93 MB / 337.1 MB, free: 10.93 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.002087/0.002087, allocations: 71.89 kB / 472.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3573, allocations: 59.87 MB / 0.5198 GB, free: 10.04 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.08336/0.4407, allocations: 32.3 MB / 0.5514 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1834/0.624, allocations: 127 MB / 0.6754 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00451/0.6285, allocations: 55.69 kB / 0.6754 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004433/0.633, allocations: 1.122 MB / 0.6765 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006032/0.639, allocations: 1.334 MB / 0.6778 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004979/0.644, allocations: 1.611 MB / 0.6794 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007431/0.6514, allocations: 3.72 MB / 0.683 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.6528, allocations: 0.7215 MB / 0.6837 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.6549, allocations: 1.312 MB / 0.685 GB, free: 228 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00318/0.6581, allocations: 1.751 MB / 0.6867 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006366/0.6587, allocations: 320 kB / 0.687 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.6626, allocations: 1.21 MB / 0.6882 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.6636, allocations: 0.9147 MB / 0.6891 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002025/0.6656, allocations: 1.406 MB / 0.6905 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007898/0.6735, allocations: 5.401 MB / 0.6957 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.6735, allocations: 3.984 kB / 0.6958 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6735, allocations: 0 / 0.6958 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.748e-05/0.6736, allocations: 0 / 0.6958 GB, free: 5.184 MB / 0.5294 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.006804/0.6804, allocations: 3.936 MB / 0.6996 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.6805, allocations: 12.03 kB / 0.6996 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.6826, allocations: 0.7321 MB / 0.7003 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.685, allocations: 1.38 MB / 0.7017 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003684/0.6854, allocations: 425.2 kB / 0.7021 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004601/0.6858, allocations: 324.3 kB / 0.7024 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/0.6989, allocations: 10.25 MB / 0.7124 GB, free: 3.984 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.864e-05/0.699, allocations: 0 / 0.7124 GB, free: 3.984 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/0.6992, allocations: 136 kB / 0.7125 GB, free: 3.852 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005086/0.6998, allocations: 467.5 kB / 0.713 GB, free: 3.395 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02184/0.7216, allocations: 18.75 MB / 0.7313 GB, free: 0.6367 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.2984/1.02, allocations: 16.4 MB / 0.7473 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003913/1.024, allocations: 2.324 MB / 0.7496 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002581/1.026, allocations: 1.665 MB / 0.7512 GB, free: 179 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01635/1.043, allocations: 7.764 MB / 0.7588 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/1.043, allocations: 48.16 kB / 0.7588 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 3.818e-06/1.043, allocations: 0 / 0.7588 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=187): time 0.09222/1.135, allocations: 22.19 MB / 0.7805 GB, free: 158.4 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.06462/1.2, allocations: 18.16 MB / 0.7982 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/1.201, allocations: 1.673 MB / 0.7999 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007395/1.202, allocations: 57.7 kB / 0.7999 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000849/1.203, allocations: 1.833 MB / 0.8017 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008077/1.204, allocations: 0.6727 MB / 0.8024 GB, free: 136 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/1.205, allocations: 0.6762 MB / 0.803 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.644e-05/1.205, allocations: 301.1 kB / 0.8033 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003323/1.208, allocations: 2.479 MB / 0.8057 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00379/1.212, allocations: 3.226 MB / 0.8089 GB, free: 129 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1453/1.358, allocations: 26.14 MB / 0.8344 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.56e-05/1.358, allocations: 8 kB / 0.8344 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=307) (initialization): time 0.02903/1.387, allocations: 8.481 MB / 0.8427 GB, free: 94.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/1.387, allocations: 18.69 kB / 0.8427 GB, free: 94.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-05/1.387, allocations: 24 kB / 0.8427 GB, free: 94.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02194/1.409, allocations: 4.362 MB / 0.847 GB, free: 89.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005048/1.414, allocations: 0.7892 MB / 0.8478 GB, free: 89.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/1.426, allocations: 9.93 MB / 0.8575 GB, free: 78.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/1.43, allocations: 150.9 kB / 0.8576 GB, free: 78.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008641/1.431, allocations: 415.8 kB / 0.858 GB, free: 78.33 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.002276/1.433, allocations: 0.9179 MB / 0.8589 GB, free: 77.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007673/1.434, allocations: 222.5 kB / 0.8591 GB, free: 77.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0269/1.461, allocations: 8.102 MB / 0.867 GB, free: 69.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-05/1.461, allocations: 16 kB / 0.867 GB, free: 69.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/1.461, allocations: 10.62 kB / 0.8671 GB, free: 69.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.305e-05/1.461, allocations: 7.969 kB / 0.8671 GB, free: 69.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03432/1.495, allocations: 12.65 MB / 0.8794 GB, free: 56.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/1.495, allocations: 6.656 kB / 0.8794 GB, free: 56.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003896/1.499, allocations: 474 kB / 0.8799 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0363/1.535, allocations: 5.564 MB / 0.8853 GB, free: 50.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006688/1.536, allocations: 111.8 kB / 0.8854 GB, free: 50.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02505/1.561, allocations: 13.16 MB / 0.8983 GB, free: 36.62 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.06333/1.624, allocations: 16.39 MB / 0.9143 GB, free: 19.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03001/1.654, allocations: 9.675 MB / 0.9237 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006172/1.655, allocations: 186.6 kB / 0.9239 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008584/1.656, allocations: 47.89 kB / 0.9239 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/1.659, allocations: 103.9 kB / 0.924 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006869/1.659, allocations: 213.5 kB / 0.9242 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003332/1.66, allocations: 196 kB / 0.9244 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001551/1.661, allocations: 1.329 MB / 0.9257 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/1.661, allocations: 0 / 0.9257 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003521/1.665, allocations: 0.9918 MB / 0.9267 GB, free: 7.137 MB / 0.5606 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.0008671/1.666, allocations: 426.5 kB / 0.9271 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.678, allocations: 5.429 MB / 0.9324 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.678, allocations: 0 / 0.9324 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009462/1.687, allocations: 2.905 MB / 0.9352 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/1.69, allocations: 488.2 kB / 0.9357 GB, free: 13.86 MB / 0.5762 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 658] [Calling sys.exit(0), Time elapsed: 4.465539926983183] Failed to read output from testmodel.py, exit status != 0: 1.7014451689901762 1.922570981 1.040334766 Calling exit ...