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.001686/0.001686, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002084/0.002084, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.483/1.483, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.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: 17.46 MB / 276.6 MB, free: 15.2 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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 412.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.736e-05/3.933e-05, allocations: 2.281 kB / 412.1 MB, free: 4.285 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.0483/0.04834, allocations: 33.32 MB / 445.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4155/0.4638, allocations: 128.5 MB / 0.5604 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002851/0.4667, allocations: 87.31 kB / 0.5605 GB, free: 7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004602/0.4713, allocations: 1.25 MB / 0.5617 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006364/0.4776, allocations: 1.691 MB / 0.5634 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006413/0.4841, allocations: 1.914 MB / 0.5653 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00756/0.4916, allocations: 4.153 MB / 0.5693 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.4934, allocations: 0.7204 MB / 0.57 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004408/0.4978, allocations: 2.109 MB / 0.5721 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00325/0.501, allocations: 1.488 MB / 0.5735 GB, free: 9.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009337/0.502, allocations: 328 kB / 0.5738 GB, free: 9.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00507/0.507, allocations: 1.513 MB / 0.5753 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.5085, allocations: 1.032 MB / 0.5763 GB, free: 6.699 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003008/0.5115, allocations: 1.215 MB / 0.5775 GB, free: 5.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.5237, allocations: 5.709 MB / 0.5831 GB, free: 15.76 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5237, allocations: 0 / 0.5831 GB, free: 15.76 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5237, allocations: 4 kB / 0.5831 GB, free: 15.75 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002104/0.5239, allocations: 0 / 0.5831 GB, free: 15.75 MB / 478.1 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.009716/0.5336, allocations: 4.068 MB / 0.5871 GB, free: 11.63 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.5337, allocations: 8.031 kB / 0.5871 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/0.5364, allocations: 0.7802 MB / 0.5878 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004097/0.5405, allocations: 1.934 MB / 0.5897 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005105/0.541, allocations: 441.3 kB / 0.5901 GB, free: 8.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008424/0.5418, allocations: 340.3 kB / 0.5905 GB, free: 8.062 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01817/0.56, allocations: 10.64 MB / 0.6009 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/0.5601, allocations: 192 / 0.6009 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007079/0.5608, allocations: 136.4 kB / 0.601 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006189/0.5614, allocations: 479.6 kB / 0.6014 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02835/0.5898, allocations: 19.86 MB / 0.6208 GB, free: 8.941 MB / 0.4981 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.2919/0.8817, allocations: 17.05 MB / 0.6375 GB, free: 55.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/0.8853, allocations: 2.278 MB / 0.6397 GB, free: 55.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002659/0.888, allocations: 1.752 MB / 0.6414 GB, free: 55.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01544/0.9034, allocations: 8.18 MB / 0.6494 GB, free: 54.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.9035, allocations: 46.84 kB / 0.6494 GB, free: 54.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=136): time 3.467e-06/0.9035, allocations: 0 / 0.6494 GB, free: 54.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192): time 0.08563/0.9891, allocations: 22.26 MB / 0.6712 GB, free: 50.28 MB / 0.4981 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.01311/1.002, allocations: 6.555 MB / 0.6776 GB, free: 45.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/1.004, allocations: 1.68 MB / 0.6792 GB, free: 45.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000827/1.005, allocations: 59.58 kB / 0.6793 GB, free: 45.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008415/1.006, allocations: 1.865 MB / 0.6811 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008154/1.007, allocations: 0.6746 MB / 0.6818 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001347/1.008, allocations: 0.7084 MB / 0.6825 GB, free: 43.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.258e-05/1.008, allocations: 301.1 kB / 0.6827 GB, free: 42.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003677/1.012, allocations: 2.64 MB / 0.6853 GB, free: 41.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003998/1.016, allocations: 3.404 MB / 0.6886 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1643/1.18, allocations: 29.15 MB / 0.7171 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.723e-05/1.18, allocations: 8 kB / 0.7171 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.02842/1.209, allocations: 8.932 MB / 0.7258 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/1.209, allocations: 12 kB / 0.7259 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.057e-05/1.209, allocations: 28 kB / 0.7259 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02252/1.231, allocations: 4.506 MB / 0.7303 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006672/1.238, allocations: 1.017 MB / 0.7313 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/1.254, allocations: 10.17 MB / 0.7412 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004406/1.258, allocations: 156.3 kB / 0.7414 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009129/1.259, allocations: 455.8 kB / 0.7418 GB, free: 2.371 MB / 0.5137 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.002888/1.262, allocations: 0.9146 MB / 0.7427 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009189/1.263, allocations: 250.5 kB / 0.7429 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03345/1.296, allocations: 8.608 MB / 0.7513 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-05/1.296, allocations: 20 kB / 0.7514 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-05/1.296, allocations: 4 kB / 0.7514 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.347e-05/1.296, allocations: 17.09 kB / 0.7514 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04341/1.34, allocations: 13.08 MB / 0.7642 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/1.34, allocations: 4 kB / 0.7642 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005764/1.346, allocations: 0.7143 MB / 0.7649 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02387/1.37, allocations: 4.111 MB / 0.7689 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009331/1.371, allocations: 119.8 kB / 0.769 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0413/1.412, allocations: 17.3 MB / 0.7859 GB, free: 4.57 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.01428/1.426, allocations: 5.212 MB / 0.791 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03763/1.464, allocations: 10.14 MB / 0.8009 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007791/1.464, allocations: 190.6 kB / 0.8011 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009792/1.465, allocations: 47.83 kB / 0.8011 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003032/1.469, allocations: 115.9 kB / 0.8012 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/1.47, allocations: 232.8 kB / 0.8014 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004803/1.47, allocations: 211.9 kB / 0.8016 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00256/1.473, allocations: 1.49 MB / 0.8031 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.473, allocations: 4 kB / 0.8031 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004986/1.478, allocations: 1.054 MB / 0.8041 GB, free: 1.605 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 (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.001338/1.479, allocations: 454.1 kB / 0.8046 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01552/1.494, allocations: 5.652 MB / 0.8101 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.494, allocations: 4 kB / 0.8101 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01009/1.505, allocations: 3.212 MB / 0.8132 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/1.508, allocations: 0.4997 MB / 0.8137 GB, free: 7.922 MB / 0.5919 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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: 3.9965271539986134] Failed to read output from testmodel.py, exit status != 0: 1.5187202394008636 1.534831085 1.007765879 Calling exit ...