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.0007647/0.0007647, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001233/0.001233, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.839/0.839, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.08413/0.08413, allocations: 17.45 MB / 277.4 MB, free: 11.77 MB / 266.7 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.673e-06/1.673e-06, allocations: 0 / 412.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.835e-05, allocations: 2.984 kB / 412.8 MB, free: 12.44 MB / 330.7 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.0299/0.02993, allocations: 33.29 MB / 446.1 MB, free: 7 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1168/0.1467, allocations: 128.5 MB / 0.5611 GB, free: 7.277 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.1494, allocations: 87.31 kB / 0.5612 GB, free: 7.191 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002828/0.1523, allocations: 1.25 MB / 0.5624 GB, free: 5.934 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.1561, allocations: 1.691 MB / 0.5641 GB, free: 4.23 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.1595, allocations: 1.921 MB / 0.566 GB, free: 2.301 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.00438/0.1639, allocations: 4.156 MB / 0.57 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008407/0.1648, allocations: 0.7145 MB / 0.5707 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.1669, allocations: 2.109 MB / 0.5728 GB, free: 11.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.1685, allocations: 1.484 MB / 0.5742 GB, free: 9.758 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000482/0.1689, allocations: 328 kB / 0.5745 GB, free: 9.438 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.1715, allocations: 1.509 MB / 0.576 GB, free: 7.926 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000527/0.172, allocations: 1.039 MB / 0.577 GB, free: 6.883 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.1731, allocations: 1.215 MB / 0.5782 GB, free: 5.664 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2098/0.3829, allocations: 5.704 MB / 0.5838 GB, free: 25.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3829, allocations: 0.5938 kB / 0.5838 GB, free: 25.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3829, allocations: 0.5312 kB / 0.5838 GB, free: 25.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001978/0.3831, allocations: 1.062 kB / 0.5838 GB, free: 25.31 MB / 490.7 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.004624/0.3878, allocations: 4.069 MB / 0.5878 GB, free: 23.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3878, allocations: 11.97 kB / 0.5878 GB, free: 23.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.3891, allocations: 0.7737 MB / 0.5885 GB, free: 23.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.3912, allocations: 1.936 MB / 0.5904 GB, free: 22.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.3915, allocations: 432.6 kB / 0.5908 GB, free: 22.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/0.3918, allocations: 337.8 kB / 0.5912 GB, free: 22.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008547/0.4003, allocations: 10.64 MB / 0.6016 GB, free: 22.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.696e-05/0.4004, allocations: 1.172 kB / 0.6016 GB, free: 22.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.4006, allocations: 135.4 kB / 0.6017 GB, free: 22.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003891/0.401, allocations: 487.3 kB / 0.6022 GB, free: 22.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/0.4128, allocations: 19.85 MB / 0.6215 GB, free: 21.66 MB / 490.7 MB 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.01581/0.4286, allocations: 17.06 MB / 0.6382 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.4306, allocations: 2.283 MB / 0.6404 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.432, allocations: 1.744 MB / 0.6421 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00882/0.4408, allocations: 8.161 MB / 0.6501 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.4408, allocations: 51.75 kB / 0.6501 GB, free: 8.234 MB / 490.7 MB Notification: Performance of pre-optimization done (n=136): time 3.888e-06/0.4408, allocations: 1.922 kB / 0.6502 GB, free: 8.234 MB / 490.7 MB Notification: Performance of matching and sorting (n=192): time 0.04324/0.4841, allocations: 22.45 MB / 0.6721 GB, free: 5.832 MB / 0.4948 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.00782/0.4919, allocations: 6.559 MB / 0.6785 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.4935, allocations: 1.684 MB / 0.6801 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005016/0.494, allocations: 57.7 kB / 0.6802 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009065/0.4949, allocations: 1.857 MB / 0.682 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007562/0.4957, allocations: 0.6763 MB / 0.6827 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.4967, allocations: 0.7106 MB / 0.6833 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.4968, allocations: 301.1 kB / 0.6836 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002906/0.4997, allocations: 2.639 MB / 0.6862 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003084/0.5028, allocations: 3.397 MB / 0.6895 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07846/0.5813, allocations: 29.15 MB / 0.718 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.182e-05/0.5813, allocations: 8 kB / 0.718 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01617/0.5975, allocations: 8.93 MB / 0.7267 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.5975, allocations: 17.97 kB / 0.7267 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/0.5975, allocations: 24 kB / 0.7268 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01109/0.6086, allocations: 4.518 MB / 0.7312 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/0.6117, allocations: 1.013 MB / 0.7322 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008768/0.6205, allocations: 10.16 MB / 0.7421 GB, free: 13.67 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.6228, allocations: 158.6 kB / 0.7422 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005099/0.6233, allocations: 455.8 kB / 0.7427 GB, free: 13.07 MB / 0.573 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.001906/0.6252, allocations: 0.9168 MB / 0.7436 GB, free: 12.18 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005555/0.6258, allocations: 242.5 kB / 0.7438 GB, free: 11.95 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/0.6423, allocations: 8.625 MB / 0.7522 GB, free: 3.465 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.6423, allocations: 20 kB / 0.7522 GB, free: 3.445 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.6424, allocations: 4.938 kB / 0.7522 GB, free: 3.441 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.664e-05/0.6424, allocations: 11.91 kB / 0.7523 GB, free: 3.43 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/0.6643, allocations: 13.07 MB / 0.765 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.6644, allocations: 6.922 kB / 0.765 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002477/0.6668, allocations: 0.7181 MB / 0.7657 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01088/0.6777, allocations: 4.11 MB / 0.7697 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003982/0.6781, allocations: 115.9 kB / 0.7699 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02039/0.6985, allocations: 17.31 MB / 0.7868 GB, free: 15.56 MB / 0.6198 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.006317/0.7048, allocations: 5.203 MB / 0.7918 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/0.7225, allocations: 10.14 MB / 0.8017 GB, free: 16 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1714/0.8939, allocations: 186.1 kB / 0.8019 GB, free: 289.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008281/0.8947, allocations: 54.86 kB / 0.802 GB, free: 289.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/0.8966, allocations: 114.7 kB / 0.8021 GB, free: 289.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007423/0.8973, allocations: 231.3 kB / 0.8023 GB, free: 289.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003698/0.8977, allocations: 210.9 kB / 0.8025 GB, free: 289.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001673/0.8993, allocations: 1.494 MB / 0.804 GB, free: 289.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8993, allocations: 3.625 kB / 0.804 GB, free: 289.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003768/0.9031, allocations: 1.05 MB / 0.805 GB, free: 289.5 MB / 0.6198 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.001148/0.9043, allocations: 444 kB / 0.8054 GB, free: 289.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.009228/0.9135, allocations: 5.671 MB / 0.8109 GB, free: 288.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.9135, allocations: 0 / 0.8109 GB, free: 288.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.005493/0.919, allocations: 3.21 MB / 0.8141 GB, free: 287.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.9211, allocations: 496.5 kB / 0.8146 GB, free: 287 MB / 0.6198 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 659] [Calling sys.exit(0), Time elapsed: 2.645253567956388] Failed to read output from testmodel.py, exit status != 0: 1.0897559449076653 0.937778297 0.55330044 Calling exit ...