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.001127/0.001127, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001005/0.001005, allocations: 173 kB / 23.36 MB, free: 1.133 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.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.08718/0.08718, allocations: 17.39 MB / 277.6 MB, free: 11.5 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.693e-06/1.693e-06, allocations: 0 / 300.6 MB, free: 1.824 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.377e-05, allocations: 3.297 kB / 300.6 MB, free: 1.82 MB / 266.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.03936/0.03937, allocations: 42.55 MB / 343.2 MB, free: 9.996 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.346/0.3853, allocations: 139.6 MB / 482.8 MB, free: 25.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.3879, allocations: 38.75 kB / 482.8 MB, free: 25.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002936/0.3908, allocations: 1.225 MB / 484 MB, free: 25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003903/0.3947, allocations: 1.351 MB / 485.4 MB, free: 24.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.398, allocations: 1.68 MB / 487.1 MB, free: 24.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004226/0.4022, allocations: 3.849 MB / 490.9 MB, free: 23.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000929/0.4031, allocations: 0.755 MB / 491.7 MB, free: 23.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/0.4054, allocations: 1.951 MB / 493.6 MB, free: 23.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.4068, allocations: 1.145 MB / 494.8 MB, free: 23.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005559/0.4074, allocations: 336.5 kB / 495.1 MB, free: 23.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.4097, allocations: 1.307 MB / 496.4 MB, free: 23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004578/0.4102, allocations: 1.002 MB / 497.4 MB, free: 22.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.4113, allocations: 1.17 MB / 498.6 MB, free: 22.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.4145, allocations: 4.142 MB / 0.4909 GB, free: 20.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4145, allocations: 0 / 0.4909 GB, free: 20.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4145, allocations: 0 / 0.4909 GB, free: 20.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.843e-05/0.4146, allocations: 0 / 0.4909 GB, free: 20.4 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.002998/0.4176, allocations: 3.938 MB / 0.4948 GB, free: 17.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.4176, allocations: 10.69 kB / 0.4948 GB, free: 17.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.4191, allocations: 1.407 MB / 0.4961 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.4203, allocations: 1.198 MB / 0.4973 GB, free: 16.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/0.4206, allocations: 0.5504 MB / 0.4979 GB, free: 16.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/0.4208, allocations: 332 kB / 0.4982 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/0.4236, allocations: 3.48 MB / 0.5016 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/0.4236, allocations: 192 / 0.5016 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.4237, allocations: 132.5 kB / 0.5017 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002911/0.424, allocations: 0.4975 MB / 0.5022 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003092/0.4271, allocations: 4.263 MB / 0.5063 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.4402, allocations: 13 MB / 0.519 GB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.4416, allocations: 0.9105 MB / 0.5199 GB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007751/0.4424, allocations: 446.8 kB / 0.5204 GB, free: 2.672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008622/0.4432, allocations: 0.6843 MB / 0.521 GB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.4433, allocations: 51.88 kB / 0.5211 GB, free: 1.938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 2.695e-06/0.4433, allocations: 4 kB / 0.5211 GB, free: 1.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=232): time 0.06429/0.5076, allocations: 16.67 MB / 0.5374 GB, free: 1.434 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.0424/0.55, allocations: 12.86 MB / 0.5499 GB, free: 4.492 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.5514, allocations: 1.36 MB / 0.5512 GB, free: 3.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006373/0.552, allocations: 65.83 kB / 0.5513 GB, free: 3.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005595/0.5526, allocations: 1.404 MB / 0.5527 GB, free: 1.922 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009701/0.5535, allocations: 0.813 MB / 0.5535 GB, free: 1.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/0.5547, allocations: 0.5738 MB / 0.554 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.307e-05/0.5548, allocations: 305.1 kB / 0.5543 GB, free: 336 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/0.5568, allocations: 1.051 MB / 0.5553 GB, free: 15.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/0.559, allocations: 1.397 MB / 0.5567 GB, free: 13.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006338/0.5653, allocations: 3.944 MB / 0.5606 GB, free: 9.797 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.5653, allocations: 8 kB / 0.5606 GB, free: 9.789 MB / 458.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.0144/0.5797, allocations: 4.445 MB / 0.5649 GB, free: 5.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.5797, allocations: 11.98 kB / 0.5649 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.5798, allocations: 8 kB / 0.5649 GB, free: 5.301 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01979/0.5995, allocations: 7.706 MB / 0.5725 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/0.6033, allocations: 1.024 MB / 0.5735 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/0.6217, allocations: 11.7 MB / 0.5849 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.624, allocations: 111.9 kB / 0.585 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005648/0.6245, allocations: 0.4918 MB / 0.5855 GB, free: 76 kB / 474.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.00134/0.6259, allocations: 242.3 kB / 0.5857 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007048/0.6266, allocations: 195.8 kB / 0.5859 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/0.6419, allocations: 5.331 MB / 0.5911 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01368/0.6556, allocations: 3.121 MB / 0.5941 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.6556, allocations: 4 kB / 0.5941 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/0.6556, allocations: 11.95 kB / 0.5942 GB, free: 7.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02419/0.6798, allocations: 8.23 MB / 0.6022 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.6798, allocations: 4 kB / 0.6022 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003124/0.6829, allocations: 0.5927 MB / 0.6028 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0393/0.7222, allocations: 7.744 MB / 0.6103 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007389/0.723, allocations: 107.8 kB / 0.6104 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.202/0.925, allocations: 8.403 MB / 0.6186 GB, free: 104.2 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.03914/0.9641, allocations: 11.46 MB / 0.6298 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/0.9779, allocations: 4.842 MB / 0.6346 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.9784, allocations: 200.8 kB / 0.6348 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/0.9787, allocations: 61.06 kB / 0.6348 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.9802, allocations: 69.72 kB / 0.6349 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000708/0.9809, allocations: 240.1 kB / 0.6351 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002996/0.9812, allocations: 222 kB / 0.6353 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006834/0.9819, allocations: 0.7975 MB / 0.6361 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9819, allocations: 3.594 kB / 0.6361 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003034/0.9849, allocations: 1.452 MB / 0.6375 GB, free: 100.1 MB / 0.4948 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.0006949/0.9856, allocations: 439.1 kB / 0.6379 GB, free: 100 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005524/0.9912, allocations: 3.25 MB / 0.6411 GB, free: 99.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.297e-05/0.9912, allocations: 20.41 kB / 0.6411 GB, free: 99.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003575/0.9947, allocations: 2.048 MB / 0.6431 GB, free: 99.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.9962, allocations: 0.6181 MB / 0.6437 GB, free: 99.16 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4069:9-4069:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:791:5-791: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.864841696806252]