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.001783/0.001783, allocations: 88.72 kB / 19.44 MB, free: 356 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.00246/0.00246, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.1804/0.1804, allocations: 17.37 MB / 276.9 MB, free: 11.68 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.553e-06/1.553e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.314e-05, allocations: 5.125 kB / 352.7 MB, free: 10.34 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.04924/0.04927, allocations: 32.9 MB / 385.6 MB, free: 9.551 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2959/0.3452, allocations: 127 MB / 0.5006 GB, free: 7.363 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.3474, allocations: 43.81 kB / 0.5006 GB, free: 7.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003869/0.3512, allocations: 1.174 MB / 0.5018 GB, free: 6.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004721/0.356, allocations: 1.357 MB / 0.5031 GB, free: 4.793 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004701/0.3607, allocations: 1.618 MB / 0.5047 GB, free: 3.168 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006918/0.3676, allocations: 3.849 MB / 0.5084 GB, free: 15.31 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.3689, allocations: 0.7099 MB / 0.5091 GB, free: 14.54 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.3719, allocations: 1.945 MB / 0.511 GB, free: 12.59 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.3739, allocations: 1.098 MB / 0.5121 GB, free: 11.49 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005113/0.3744, allocations: 336 kB / 0.5124 GB, free: 11.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.3781, allocations: 1.275 MB / 0.5137 GB, free: 9.883 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.3791, allocations: 1.004 MB / 0.5146 GB, free: 8.875 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.3807, allocations: 1.169 MB / 0.5158 GB, free: 7.703 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008314/0.389, allocations: 5.565 MB / 0.5212 GB, free: 2.121 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.389, allocations: 8 kB / 0.5212 GB, free: 2.113 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.389, allocations: 0 / 0.5212 GB, free: 2.113 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.886e-05/0.3891, allocations: 0 / 0.5212 GB, free: 2.113 MB / 394.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.007473/0.3966, allocations: 3.955 MB / 0.5251 GB, free: 14.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3966, allocations: 8.031 kB / 0.5251 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003994/0.4006, allocations: 1.621 MB / 0.5267 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/0.4037, allocations: 1.735 MB / 0.5284 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006798/0.4044, allocations: 0.5675 MB / 0.5289 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005114/0.4049, allocations: 324.3 kB / 0.5292 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/0.4222, allocations: 12.36 MB / 0.5413 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-05/0.4222, allocations: 192 / 0.5413 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/0.4225, allocations: 136.3 kB / 0.5414 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006458/0.4232, allocations: 0.4916 MB / 0.5419 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02837/0.4516, allocations: 21.38 MB / 0.5628 GB, free: 7.379 MB / 442.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.1772/0.6288, allocations: 28.07 MB / 0.5902 GB, free: 160 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005583/0.6343, allocations: 5.393 MB / 0.5955 GB, free: 154.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004128/0.6385, allocations: 4.335 MB / 0.5997 GB, free: 150.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.6402, allocations: 0.7205 MB / 0.6004 GB, free: 149.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.6402, allocations: 47.88 kB / 0.6005 GB, free: 149.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 3.497e-06/0.6402, allocations: 0 / 0.6005 GB, free: 149.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=232): time 0.1558/0.7961, allocations: 48.45 MB / 0.6478 GB, free: 101.5 MB / 442.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.1069/0.903, allocations: 29.21 MB / 0.6763 GB, free: 72.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002433/0.9054, allocations: 1.809 MB / 0.6781 GB, free: 70.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001269/0.9067, allocations: 64.94 kB / 0.6781 GB, free: 70.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008499/0.9075, allocations: 1.659 MB / 0.6798 GB, free: 68.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001628/0.9092, allocations: 0.8074 MB / 0.6805 GB, free: 68.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002856/0.912, allocations: 0.785 MB / 0.6813 GB, free: 67.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.9121, allocations: 301.1 kB / 0.6816 GB, free: 67.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008275/0.9203, allocations: 7.534 MB / 0.689 GB, free: 59.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008558/0.9289, allocations: 7.866 MB / 0.6966 GB, free: 51.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2149/1.144, allocations: 42.93 MB / 0.7386 GB, free: 8.863 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/1.144, allocations: 2.656 kB / 0.7386 GB, free: 8.863 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.2154/1.359, allocations: 20.93 MB / 0.759 GB, free: 159.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/1.359, allocations: 8.094 kB / 0.759 GB, free: 159.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/1.359, allocations: 8.781 kB / 0.759 GB, free: 159.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04736/1.407, allocations: 13.77 MB / 0.7725 GB, free: 152.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006631/1.413, allocations: 0.9741 MB / 0.7734 GB, free: 151.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05682/1.47, allocations: 41.31 MB / 0.8138 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005417/1.475, allocations: 274.3 kB / 0.814 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/1.477, allocations: 0.5309 MB / 0.8145 GB, free: 109.2 MB / 442.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.00325/1.48, allocations: 0.882 MB / 0.8154 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002358/1.483, allocations: 290 kB / 0.8157 GB, free: 108.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03967/1.522, allocations: 13.96 MB / 0.8293 GB, free: 94.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03523/1.557, allocations: 11.48 MB / 0.8405 GB, free: 82.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.478e-05/1.557, allocations: 4 kB / 0.8405 GB, free: 82.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.921e-05/1.558, allocations: 11.95 kB / 0.8405 GB, free: 82.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05058/1.608, allocations: 22.28 MB / 0.8623 GB, free: 60.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.53e-05/1.608, allocations: 4 kB / 0.8623 GB, free: 60.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00438/1.613, allocations: 0.5122 MB / 0.8628 GB, free: 59.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07884/1.691, allocations: 11.49 MB / 0.874 GB, free: 48.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000993/1.692, allocations: 139.8 kB / 0.8741 GB, free: 48.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03763/1.73, allocations: 19.68 MB / 0.8934 GB, free: 28.09 MB / 442.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 postOpt calculateStateSetsJacobians (simulation): time 0.0907/1.821, allocations: 20.07 MB / 0.913 GB, free: 7.844 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2333/2.054, allocations: 17.93 MB / 0.9305 GB, free: 153.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007844/2.055, allocations: 243.5 kB / 0.9307 GB, free: 153.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009721/2.056, allocations: 55 kB / 0.9308 GB, free: 153.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004163/2.06, allocations: 197.8 kB / 0.9309 GB, free: 153.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001341/2.061, allocations: 296.3 kB / 0.9312 GB, free: 153.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006503/2.062, allocations: 248.3 kB / 0.9315 GB, free: 153.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002534/2.064, allocations: 2.033 MB / 0.9335 GB, free: 152.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/2.064, allocations: 0 / 0.9335 GB, free: 152.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00526/2.07, allocations: 1.456 MB / 0.9349 GB, free: 152.6 MB / 442.7 MB 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.001166/2.071, allocations: 436.3 kB / 0.9353 GB, free: 152.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01858/2.089, allocations: 11.68 MB / 0.9467 GB, free: 146.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/2.089, allocations: 0 / 0.9467 GB, free: 146.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01094/2.1, allocations: 4.795 MB / 0.9514 GB, free: 142.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/2.104, allocations: 0.6508 MB / 0.952 GB, free: 142.1 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4696:9-4696:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:846:5-846: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.493013062048703]