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.001222/0.001222, allocations: 93.06 kB / 19.65 MB, free: 280 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.001347/0.001347, allocations: 173.3 kB / 23.02 MB, free: 1.551 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 1.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.09678/0.09678, allocations: 17.38 MB / 277.3 MB, free: 11.64 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: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 353.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.722e-05, allocations: 2.312 kB / 353.4 MB, free: 9.992 MB / 282.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.03782/0.03785, allocations: 36.94 MB / 390.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3245/0.3624, allocations: 140 MB / 0.518 GB, free: 8.016 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00383/0.3662, allocations: 43.81 kB / 0.518 GB, free: 7.973 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00487/0.3711, allocations: 1.184 MB / 0.5192 GB, free: 6.801 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005242/0.3763, allocations: 1.357 MB / 0.5205 GB, free: 5.434 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005235/0.3816, allocations: 1.665 MB / 0.5221 GB, free: 3.762 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006931/0.3885, allocations: 3.856 MB / 0.5259 GB, free: 15.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.39, allocations: 0.7144 MB / 0.5266 GB, free: 15.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.393, allocations: 1.965 MB / 0.5285 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.3946, allocations: 1.13 MB / 0.5296 GB, free: 12.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009162/0.3955, allocations: 336 kB / 0.5299 GB, free: 11.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.3992, allocations: 1.275 MB / 0.5312 GB, free: 10.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006973/0.3999, allocations: 1.004 MB / 0.5321 GB, free: 9.406 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001871/0.4017, allocations: 1.165 MB / 0.5333 GB, free: 8.238 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007004/0.4088, allocations: 4.15 MB / 0.5373 GB, free: 4.074 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.4088, allocations: 0 / 0.5373 GB, free: 4.074 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4088, allocations: 0 / 0.5373 GB, free: 4.074 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001978/0.409, allocations: 0 / 0.5373 GB, free: 4.074 MB / 410.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.006816/0.4158, allocations: 4.298 MB / 0.5415 GB, free: 15.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.054e-05/0.4159, allocations: 8.031 kB / 0.5415 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/0.4183, allocations: 1.571 MB / 0.5431 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.4207, allocations: 1.515 MB / 0.5446 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004588/0.4212, allocations: 0.5597 MB / 0.5451 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003095/0.4215, allocations: 332.2 kB / 0.5454 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0051/0.4266, allocations: 4.012 MB / 0.5493 GB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.601e-05/0.4266, allocations: 192 / 0.5493 GB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.4268, allocations: 132.3 kB / 0.5495 GB, free: 7.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003885/0.4272, allocations: 0.4917 MB / 0.5499 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006662/0.4338, allocations: 5.654 MB / 0.5555 GB, free: 1.348 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2892/0.723, allocations: 16.46 MB / 0.5715 GB, free: 28.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.7252, allocations: 1.137 MB / 0.5727 GB, free: 28.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.7265, allocations: 0.6511 MB / 0.5733 GB, free: 28.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009623/0.7274, allocations: 0.6973 MB / 0.574 GB, free: 28.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.7275, allocations: 50.8 kB / 0.574 GB, free: 28.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 4.499e-06/0.7275, allocations: 0 / 0.574 GB, free: 28.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=232): time 0.0676/0.7951, allocations: 20.12 MB / 0.5937 GB, free: 27.29 MB / 426.7 MB 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.04754/0.8426, allocations: 16.67 MB / 0.6099 GB, free: 19.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.8441, allocations: 1.575 MB / 0.6115 GB, free: 17.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001246/0.8453, allocations: 62.77 kB / 0.6115 GB, free: 17.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008328/0.8462, allocations: 1.797 MB / 0.6133 GB, free: 16.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00121/0.8474, allocations: 0.8122 MB / 0.6141 GB, free: 15.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/0.8487, allocations: 0.7206 MB / 0.6148 GB, free: 14.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.835e-05/0.8487, allocations: 480.7 kB / 0.6153 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002432/0.8511, allocations: 1.347 MB / 0.6166 GB, free: 12.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/0.8537, allocations: 1.784 MB / 0.6183 GB, free: 10.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006735/0.8604, allocations: 4.702 MB / 0.6229 GB, free: 6.152 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.8604, allocations: 4 kB / 0.6229 GB, free: 6.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01894/0.8794, allocations: 6.142 MB / 0.6289 GB, free: 80 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.8794, allocations: 8 kB / 0.6289 GB, free: 72 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.8794, allocations: 9.062 kB / 0.6289 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02947/0.9089, allocations: 8.319 MB / 0.637 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004687/0.9136, allocations: 0.9698 MB / 0.638 GB, free: 6.855 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02926/0.9428, allocations: 16.37 MB / 0.654 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/0.9458, allocations: 268.8 kB / 0.6542 GB, free: 5.777 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007519/0.9465, allocations: 0.5309 MB / 0.6548 GB, free: 5.246 MB / 458.7 MB 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.001783/0.9483, allocations: 273.6 kB / 0.655 GB, free: 5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/0.9494, allocations: 294.6 kB / 0.6553 GB, free: 4.711 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/0.9677, allocations: 7.096 MB / 0.6622 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0146/0.9823, allocations: 4.772 MB / 0.6669 GB, free: 8.816 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.9823, allocations: 4 kB / 0.6669 GB, free: 8.812 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.747e-05/0.9824, allocations: 11.95 kB / 0.6669 GB, free: 8.801 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02494/1.007, allocations: 13.35 MB / 0.6799 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.007, allocations: 9.094 kB / 0.6799 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/1.009, allocations: 0.5079 MB / 0.6804 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03808/1.048, allocations: 9.089 MB / 0.6893 GB, free: 1.523 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001079/1.049, allocations: 147.8 kB / 0.6895 GB, free: 1.379 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0271/1.076, allocations: 11.85 MB / 0.701 GB, free: 5.137 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 postOpt calculateStateSetsJacobians (simulation): time 0.07139/1.147, allocations: 14.95 MB / 0.7156 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01919/1.166, allocations: 6.813 MB / 0.7223 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00063/1.167, allocations: 230.5 kB / 0.7225 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006458/1.168, allocations: 59.92 kB / 0.7226 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/1.17, allocations: 190.4 kB / 0.7227 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008401/1.17, allocations: 268.2 kB / 0.723 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000382/1.171, allocations: 251.8 kB / 0.7232 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00133/1.172, allocations: 1.209 MB / 0.7244 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.172, allocations: 0 / 0.7244 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004028/1.176, allocations: 1.455 MB / 0.7258 GB, free: 11.37 MB / 0.5261 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.000955/1.177, allocations: 433.2 kB / 0.7263 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008602/1.186, allocations: 4.221 MB / 0.7304 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.186, allocations: 5.094 kB / 0.7304 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005477/1.191, allocations: 2.712 MB / 0.733 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/1.193, allocations: 0.6453 MB / 0.7337 GB, free: 3.434 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4759:9-4759:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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.9323424082249403]