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.00143/0.00143, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001597/0.001597, allocations: 209.6 kB / 22.24 MB, free: 4.859 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 8.062 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.1436/0.1436, allocations: 23.98 MB / 336.4 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.002006/0.002006, allocations: 67.89 kB / 471.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3582, allocations: 59.9 MB / 0.5192 GB, free: 9.75 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1585:5-1585: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:1585:5-1585: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.07926/0.4374, allocations: 32.65 MB / 0.5511 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1779/0.6153, allocations: 127.2 MB / 0.6754 GB, free: 9.375 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00352/0.6188, allocations: 55.69 kB / 0.6754 GB, free: 9.32 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.003883/0.6227, allocations: 1.134 MB / 0.6765 GB, free: 8.18 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.00491/0.6276, allocations: 1.357 MB / 0.6779 GB, free: 6.812 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.004736/0.6323, allocations: 1.677 MB / 0.6795 GB, free: 5.129 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.006519/0.6388, allocations: 3.768 MB / 0.6832 GB, free: 1.348 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.6402, allocations: 0.7223 MB / 0.6839 GB, free: 0.5664 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.6423, allocations: 1.339 MB / 0.6852 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.645, allocations: 1.579 MB / 0.6867 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004809/0.6455, allocations: 332 kB / 0.687 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003348/0.6488, allocations: 1.241 MB / 0.6883 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008451/0.6496, allocations: 0.9459 MB / 0.6892 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.6513, allocations: 1.426 MB / 0.6906 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.6616, allocations: 5.522 MB / 0.696 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.6616, allocations: 3.938 kB / 0.696 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.634e-06/0.6616, allocations: 0 / 0.696 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.667e-05/0.6617, allocations: 4 kB / 0.696 GB, free: 4.137 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: 1015 * Number of variables: 1015 Notification: Performance of Generate backend data structure: time 0.007182/0.6688, allocations: 3.995 MB / 0.6999 GB, free: 92 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.6689, allocations: 8.031 kB / 0.6999 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.6711, allocations: 0.7355 MB / 0.7006 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/0.6736, allocations: 1.407 MB / 0.702 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004018/0.674, allocations: 433.4 kB / 0.7024 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004438/0.6745, allocations: 344.2 kB / 0.7027 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.6875, allocations: 10.64 MB / 0.7131 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.914e-05/0.6875, allocations: 7.875 kB / 0.7131 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.6878, allocations: 136 kB / 0.7132 GB, free: 2.297 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004975/0.6883, allocations: 475.7 kB / 0.7137 GB, free: 1.832 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2583/0.9466, allocations: 19.85 MB / 0.7331 GB, free: 186.8 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.02727/0.9739, allocations: 17.02 MB / 0.7497 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003355/0.9772, allocations: 2.268 MB / 0.7519 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002895/0.9801, allocations: 1.741 MB / 0.7536 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01579/0.9959, allocations: 8.18 MB / 0.7616 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.9959, allocations: 48.75 kB / 0.7617 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 4.488e-06/0.9959, allocations: 0 / 0.7617 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=192): time 0.07939/1.075, allocations: 22.7 MB / 0.7838 GB, free: 154 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.01192/1.087, allocations: 6.555 MB / 0.7902 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/1.089, allocations: 1.686 MB / 0.7919 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007772/1.09, allocations: 57.7 kB / 0.7919 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007741/1.091, allocations: 1.861 MB / 0.7937 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007222/1.091, allocations: 0.6817 MB / 0.7944 GB, free: 143 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.092, allocations: 0.7076 MB / 0.7951 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.663e-05/1.092, allocations: 305.1 kB / 0.7954 GB, free: 142 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003282/1.096, allocations: 2.639 MB / 0.798 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003564/1.099, allocations: 3.402 MB / 0.8013 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1475/1.247, allocations: 28.84 MB / 0.8295 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.32e-05/1.247, allocations: 10.66 kB / 0.8295 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.02667/1.273, allocations: 8.92 MB / 0.8382 GB, free: 97.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/1.273, allocations: 16.11 kB / 0.8382 GB, free: 97.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.22e-05/1.274, allocations: 37.25 kB / 0.8382 GB, free: 97.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02038/1.294, allocations: 4.455 MB / 0.8426 GB, free: 93.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005594/1.299, allocations: 1.016 MB / 0.8436 GB, free: 92.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/1.311, allocations: 10.17 MB / 0.8535 GB, free: 81.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003573/1.314, allocations: 158.6 kB / 0.8537 GB, free: 81.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005882/1.315, allocations: 455.8 kB / 0.8541 GB, free: 81.26 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 (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.001814/1.317, allocations: 0.91 MB / 0.855 GB, free: 80.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000563/1.317, allocations: 222.5 kB / 0.8552 GB, free: 80.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0269/1.344, allocations: 8.619 MB / 0.8636 GB, free: 71.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.198e-05/1.344, allocations: 20 kB / 0.8636 GB, free: 71.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/1.344, allocations: 13.31 kB / 0.8636 GB, free: 71.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.248e-05/1.344, allocations: 11.95 kB / 0.8636 GB, free: 71.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03321/1.378, allocations: 13.08 MB / 0.8764 GB, free: 58.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/1.378, allocations: 0 / 0.8764 GB, free: 58.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004867/1.382, allocations: 0.7105 MB / 0.8771 GB, free: 57.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01981/1.402, allocations: 4.069 MB / 0.8811 GB, free: 53.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007337/1.403, allocations: 123.9 kB / 0.8812 GB, free: 53.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.029/1.432, allocations: 17.3 MB / 0.8981 GB, free: 35.43 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.01001/1.442, allocations: 5.222 MB / 0.9032 GB, free: 29.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02967/1.472, allocations: 10.12 MB / 0.9131 GB, free: 19.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005676/1.472, allocations: 194.5 kB / 0.9133 GB, free: 19.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006878/1.473, allocations: 47.89 kB / 0.9133 GB, free: 19.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/1.476, allocations: 115.8 kB / 0.9134 GB, free: 19.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000749/1.476, allocations: 233.6 kB / 0.9136 GB, free: 19.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003138/1.477, allocations: 211.9 kB / 0.9138 GB, free: 18.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001803/1.478, allocations: 1.494 MB / 0.9153 GB, free: 17.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.478, allocations: 0 / 0.9153 GB, free: 17.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004295/1.483, allocations: 1.011 MB / 0.9163 GB, free: 16.44 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 (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.0009769/1.484, allocations: 441.4 kB / 0.9167 GB, free: 16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.495, allocations: 5.668 MB / 0.9223 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.495, allocations: 3.938 kB / 0.9223 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007665/1.503, allocations: 3.211 MB / 0.9254 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.505, allocations: 490.7 kB / 0.9259 GB, free: 6.57 MB / 0.5606 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 658] [Calling sys.exit(0), Time elapsed: 4.011013425886631] Failed to read output from testmodel.py, exit status != 0: 1.5148720908910036 1.527730086 0.862995531 Calling exit ...