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.0008232/0.0008232, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 13.93 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.0007779/0.0007779, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9084/0.9084, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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.09393/0.09393, allocations: 17.37 MB / 277.4 MB, free: 11.88 MB / 266.7 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.0009993/0.0009993, allocations: 68.64 kB / 412.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1408, allocations: 59.86 MB / 472.7 MB, free: 14 MB / 378.7 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.03859/0.1794, allocations: 32.58 MB / 0.4934 GB, free: 13.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.487/0.6664, allocations: 126.9 MB / 0.6174 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.6684, allocations: 44.78 kB / 0.6174 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.6712, allocations: 1.174 MB / 0.6186 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.6736, allocations: 1.303 MB / 0.6198 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003225/0.6769, allocations: 1.61 MB / 0.6214 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003861/0.6807, allocations: 3.713 MB / 0.625 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008405/0.6816, allocations: 0.7117 MB / 0.6257 GB, free: 13.19 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.6837, allocations: 2.035 MB / 0.6277 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.6847, allocations: 1.309 MB / 0.629 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.685, allocations: 333.4 kB / 0.6293 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.6875, allocations: 1.272 MB / 0.6305 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005446/0.6881, allocations: 0.9864 MB / 0.6315 GB, free: 11.69 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008517/0.6889, allocations: 1.455 MB / 0.6329 GB, free: 10.73 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003725/0.6927, allocations: 5.59 MB / 0.6384 GB, free: 7.066 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6927, allocations: 0 / 0.6384 GB, free: 7.066 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.6927, allocations: 0 / 0.6384 GB, free: 7.066 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001218/0.6928, allocations: 0 / 0.6384 GB, free: 7.066 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: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.004227/0.697, allocations: 4.01 MB / 0.6423 GB, free: 4.223 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.6971, allocations: 10.53 kB / 0.6423 GB, free: 4.223 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.6984, allocations: 0.7901 MB / 0.6431 GB, free: 3.781 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.7001, allocations: 1.715 MB / 0.6448 GB, free: 2.531 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/0.7004, allocations: 0.5652 MB / 0.6453 GB, free: 2.156 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.7007, allocations: 327.4 kB / 0.6456 GB, free: 2.055 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009435/0.7101, allocations: 12.38 MB / 0.6577 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.7102, allocations: 0 / 0.6577 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/0.7104, allocations: 131 kB / 0.6578 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003488/0.7107, allocations: 495.5 kB / 0.6583 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/0.7256, allocations: 21.38 MB / 0.6792 GB, free: 5.543 MB / 0.5105 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.02637/0.752, allocations: 27.94 MB / 0.7065 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005173/0.7572, allocations: 5.391 MB / 0.7117 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003917/0.7611, allocations: 4.337 MB / 0.716 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/0.7623, allocations: 0.6995 MB / 0.7167 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.7624, allocations: 47.88 kB / 0.7167 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=150): time 6.001e-06/0.7624, allocations: 4 kB / 0.7167 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=232): time 0.09384/0.8562, allocations: 48.39 MB / 0.764 GB, free: 14.84 MB / 0.6042 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.06127/0.9175, allocations: 29.17 MB / 0.7925 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.9196, allocations: 1.818 MB / 0.7942 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0009707/0.9206, allocations: 65.86 kB / 0.7943 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008993/0.9215, allocations: 1.666 MB / 0.7959 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008833/0.9224, allocations: 0.8149 MB / 0.7967 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/0.9238, allocations: 0.7795 MB / 0.7975 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.9239, allocations: 305.1 kB / 0.7978 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007286/0.9311, allocations: 7.534 MB / 0.8051 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007588/0.9387, allocations: 7.872 MB / 0.8128 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4951/1.434, allocations: 42.91 MB / 0.8547 GB, free: 264.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/1.434, allocations: 0 / 0.8547 GB, free: 264.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.02578/1.46, allocations: 20.7 MB / 0.8749 GB, free: 243.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/1.46, allocations: 12 kB / 0.8749 GB, free: 243.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/1.46, allocations: 8 kB / 0.875 GB, free: 243.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02049/1.48, allocations: 10.56 MB / 0.8853 GB, free: 233.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/1.484, allocations: 0.9753 MB / 0.8862 GB, free: 232.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03478/1.519, allocations: 41.26 MB / 0.9265 GB, free: 191.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003444/1.522, allocations: 284.1 kB / 0.9268 GB, free: 190.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006003/1.523, allocations: 0.527 MB / 0.9273 GB, free: 190.4 MB / 0.6511 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.002454/1.525, allocations: 0.8792 MB / 0.9282 GB, free: 189.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005813/1.526, allocations: 219.8 kB / 0.9284 GB, free: 189.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02173/1.547, allocations: 13.96 MB / 0.942 GB, free: 175.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01795/1.565, allocations: 11.46 MB / 0.9532 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/1.565, allocations: 8 kB / 0.9532 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/1.565, allocations: 11.95 kB / 0.9532 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02816/1.593, allocations: 22.16 MB / 0.9749 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/1.593, allocations: 4 kB / 0.9749 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/1.596, allocations: 0.5123 MB / 0.9754 GB, free: 141 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03829/1.634, allocations: 10.98 MB / 0.9861 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005361/1.635, allocations: 139.8 kB / 0.9862 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/1.656, allocations: 19.64 MB / 1.005 GB, free: 110 MB / 0.6511 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.04745/1.704, allocations: 20.03 MB / 1.025 GB, free: 89.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02436/1.728, allocations: 17.86 MB / 1.042 GB, free: 71.85 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007101/1.729, allocations: 245.3 kB / 1.043 GB, free: 71.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/1.729, allocations: 53.23 kB / 1.043 GB, free: 71.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/1.731, allocations: 206.4 kB / 1.043 GB, free: 71.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008505/1.732, allocations: 287.8 kB / 1.043 GB, free: 71.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000324/1.732, allocations: 251.8 kB / 1.043 GB, free: 70.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001679/1.734, allocations: 2.037 MB / 1.045 GB, free: 68.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/1.734, allocations: 0 / 1.045 GB, free: 68.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00354/1.738, allocations: 1.455 MB / 1.047 GB, free: 67.38 MB / 0.6511 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.0008008/1.738, allocations: 423.9 kB / 1.047 GB, free: 67.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.75, allocations: 11.69 MB / 1.059 GB, free: 55.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.75, allocations: 4 kB / 1.059 GB, free: 55.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.005813/1.756, allocations: 4.79 MB / 1.063 GB, free: 50.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/1.757, allocations: 497.8 kB / 1.064 GB, free: 50.11 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747: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.779688957030885] Failed to read output from testmodel.py, exit status != 0: 2.03419377701357 1.7708813270000001 1.076547729 Calling exit ...