Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001729/0.001729, 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.001969/0.001969, allocations: 216.2 kB / 22.25 MB, free: 4.852 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1409/0.1409, allocations: 23.88 MB / 336.3 MB, free: 10.96 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002033/0.002033, allocations: 67.89 kB / 471.6 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3675, allocations: 59.85 MB / 0.519 GB, free: 9.785 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564: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 2.0.0/Interfaces.mo:1564:5-1564: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.08287/0.4504, allocations: 32.42 MB / 0.5507 GB, free: 7.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1872/0.6376, allocations: 127 MB / 0.6747 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004172/0.6418, allocations: 39.81 kB / 0.6747 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00462/0.6464, allocations: 1.172 MB / 0.6758 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00574/0.6521, allocations: 1.291 MB / 0.6771 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004973/0.6571, allocations: 1.618 MB / 0.6787 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007194/0.6643, allocations: 3.712 MB / 0.6823 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.6655, allocations: 0.7097 MB / 0.683 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.6673, allocations: 1.292 MB / 0.6843 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.669, allocations: 1.298 MB / 0.6855 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004922/0.6695, allocations: 336 kB / 0.6858 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004752/0.6743, allocations: 1.276 MB / 0.6871 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.6754, allocations: 0.981 MB / 0.6881 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.6772, allocations: 1.453 MB / 0.6895 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008701/0.6859, allocations: 5.588 MB / 0.6949 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.6859, allocations: 0 / 0.6949 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6859, allocations: 0 / 0.6949 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001148/0.6861, allocations: 0 / 0.6949 GB, free: 5.145 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.007088/0.6932, allocations: 3.998 MB / 0.6988 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.6932, allocations: 15.97 kB / 0.6988 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/0.6956, allocations: 0.7906 MB / 0.6996 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/0.6987, allocations: 1.715 MB / 0.7013 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006442/0.6994, allocations: 0.5636 MB / 0.7018 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004571/0.6998, allocations: 328.3 kB / 0.7022 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/0.715, allocations: 12.37 MB / 0.7142 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.823e-05/0.715, allocations: 4 kB / 0.7142 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/0.7153, allocations: 128 kB / 0.7144 GB, free: 1.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005344/0.7158, allocations: 499.5 kB / 0.7148 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2965/1.012, allocations: 21.38 MB / 0.7357 GB, free: 186.1 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.03979/1.052, allocations: 27.93 MB / 0.763 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005818/1.058, allocations: 5.405 MB / 0.7683 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004008/1.062, allocations: 4.331 MB / 0.7725 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001672/1.064, allocations: 0.7062 MB / 0.7732 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/1.064, allocations: 47.88 kB / 0.7732 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 4.158e-06/1.064, allocations: 0 / 0.7732 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1432/1.207, allocations: 48.33 MB / 0.8204 GB, free: 116.6 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.09954/1.306, allocations: 29.07 MB / 0.8488 GB, free: 87.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/1.308, allocations: 1.807 MB / 0.8506 GB, free: 85.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001169/1.31, allocations: 61.7 kB / 0.8507 GB, free: 85.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000777/1.31, allocations: 1.674 MB / 0.8523 GB, free: 83.99 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/1.311, allocations: 0.8133 MB / 0.8531 GB, free: 83.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001764/1.313, allocations: 0.7811 MB / 0.8538 GB, free: 82.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.064e-05/1.313, allocations: 309.1 kB / 0.8541 GB, free: 82.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007508/1.321, allocations: 7.534 MB / 0.8615 GB, free: 74.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007956/1.329, allocations: 7.875 MB / 0.8692 GB, free: 66.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2058/1.534, allocations: 42.61 MB / 0.9108 GB, free: 24.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/1.534, allocations: 4 kB / 0.9108 GB, free: 24.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04154/1.576, allocations: 20.69 MB / 0.931 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/1.576, allocations: 11.98 kB / 0.931 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/1.576, allocations: 10.66 kB / 0.931 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04031/1.616, allocations: 10.52 MB / 0.9413 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007049/1.623, allocations: 0.9689 MB / 0.9423 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3246/1.948, allocations: 41.26 MB / 0.9825 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005344/1.953, allocations: 279 kB / 0.9828 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/1.955, allocations: 0.5276 MB / 0.9833 GB, free: 180.6 MB / 0.5762 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: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 201 * Array equations: 4 * 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,76.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(6,20), (4,3), (3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.002922/1.958, allocations: 0.8729 MB / 0.9842 GB, free: 180.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/1.959, allocations: 215.2 kB / 0.9844 GB, free: 180.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03701/1.996, allocations: 13.97 MB / 0.998 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03233/2.028, allocations: 11.47 MB / 1.009 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.51e-05/2.028, allocations: 7.062 kB / 1.009 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.266e-05/2.029, allocations: 7.969 kB / 1.009 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04826/2.077, allocations: 22.15 MB / 1.031 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/2.077, allocations: 4 kB / 1.031 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004379/2.081, allocations: 0.5161 MB / 1.031 GB, free: 136.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07561/2.157, allocations: 10.87 MB / 1.042 GB, free: 126 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00126/2.158, allocations: 139.8 kB / 1.042 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03539/2.193, allocations: 19.64 MB / 1.061 GB, free: 106.1 MB / 0.5762 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.0908/2.284, allocations: 19.9 MB / 1.081 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.042/2.326, allocations: 17.86 MB / 1.098 GB, free: 68.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/2.327, allocations: 241.6 kB / 1.098 GB, free: 67.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001604/2.329, allocations: 63.58 kB / 1.098 GB, free: 67.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004887/2.334, allocations: 198.4 kB / 1.099 GB, free: 67.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001374/2.335, allocations: 293.4 kB / 1.099 GB, free: 67.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007294/2.336, allocations: 248 kB / 1.099 GB, free: 67.08 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002533/2.339, allocations: 2.034 MB / 1.101 GB, free: 65.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.339, allocations: 0 / 1.101 GB, free: 65.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005344/2.344, allocations: 1.46 MB / 1.103 GB, free: 63.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],gasVolatility.rear.n_flow) * Number of discrete variables: 3 ($cse37,$cse30,$cse23) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 131 * 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 {(1,4,100.0%), (5,13,76.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,39), (8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001257/2.345, allocations: 421.4 kB / 1.103 GB, free: 63.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01792/2.363, allocations: 11.69 MB / 1.114 GB, free: 51.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/2.363, allocations: 0 / 1.114 GB, free: 51.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01051/2.374, allocations: 4.784 MB / 1.119 GB, free: 46.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/2.377, allocations: 0.4902 MB / 1.12 GB, free: 46.35 MB / 0.5762 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.857308134436607] Failed to read output from testmodel.py, exit status != 0: 2.386307317763567 2.396713979 1.708439863 Calling exit ...