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.001476/0.001476, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001646/0.001646, allocations: 173 kB / 23.49 MB, free: 1.059 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.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.08923/0.08923, allocations: 17.38 MB / 277.7 MB, free: 11.7 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 2.195e-06/2.195e-06, allocations: 0 / 353.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.763e-05, allocations: 2.312 kB / 353.4 MB, free: 10.31 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.03335/0.03338, allocations: 36.8 MB / 390.2 MB, free: 5.617 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3902/0.4235, allocations: 139.7 MB / 0.5175 GB, free: 7.988 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/0.4262, allocations: 39.81 kB / 0.5175 GB, free: 7.949 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.4289, allocations: 1.188 MB / 0.5187 GB, free: 6.773 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.432, allocations: 1.361 MB / 0.52 GB, free: 5.402 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.4353, allocations: 1.653 MB / 0.5216 GB, free: 3.742 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.004252/0.4396, allocations: 3.837 MB / 0.5254 GB, free: 15.89 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008655/0.4404, allocations: 0.7105 MB / 0.5261 GB, free: 15.12 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.4423, allocations: 1.957 MB / 0.528 GB, free: 13.16 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.4436, allocations: 1.133 MB / 0.5291 GB, free: 12.02 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003062/0.4439, allocations: 340 kB / 0.5294 GB, free: 11.69 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.4464, allocations: 1.272 MB / 0.5307 GB, free: 10.42 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000541/0.4469, allocations: 1.008 MB / 0.5317 GB, free: 9.406 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.448, allocations: 1.173 MB / 0.5328 GB, free: 8.23 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005361/0.4534, allocations: 4.134 MB / 0.5368 GB, free: 4.082 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4534, allocations: 0 / 0.5368 GB, free: 4.082 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4534, allocations: 4 kB / 0.5368 GB, free: 4.078 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.69e-05/0.4534, allocations: 4 kB / 0.5368 GB, free: 4.074 MB / 410.8 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.004358/0.4578, allocations: 4.298 MB / 0.541 GB, free: 15.71 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4578, allocations: 8.031 kB / 0.5411 GB, free: 15.71 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/0.4598, allocations: 1.568 MB / 0.5426 GB, free: 14.14 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.4618, allocations: 1.515 MB / 0.5441 GB, free: 12.59 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/0.4621, allocations: 0.5596 MB / 0.5446 GB, free: 11.99 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/0.4624, allocations: 332.3 kB / 0.5449 GB, free: 11.67 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004246/0.4667, allocations: 4.012 MB / 0.5488 GB, free: 7.637 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/0.4667, allocations: 4.172 kB / 0.5488 GB, free: 7.633 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/0.4669, allocations: 132.4 kB / 0.549 GB, free: 7.504 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003482/0.4672, allocations: 0.4917 MB / 0.5495 GB, free: 7.012 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006278/0.4735, allocations: 5.653 MB / 0.555 GB, free: 1.352 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.4939, allocations: 16.46 MB / 0.5711 GB, free: 0.7852 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1393/0.6332, allocations: 1.136 MB / 0.5722 GB, free: 167.4 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.6352, allocations: 0.6506 MB / 0.5728 GB, free: 167.4 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.6364, allocations: 0.6994 MB / 0.5735 GB, free: 167.3 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.6364, allocations: 48.73 kB / 0.5735 GB, free: 167.3 MB / 442.8 MB Notification: Performance of pre-optimization done (n=150): time 3.156e-06/0.6364, allocations: 1.094 kB / 0.5735 GB, free: 167.3 MB / 442.8 MB Notification: Performance of matching and sorting (n=232): time 0.07485/0.7113, allocations: 20.13 MB / 0.5932 GB, free: 160 MB / 442.8 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.0601/0.7714, allocations: 16.66 MB / 0.6095 GB, free: 143.2 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.7728, allocations: 1.576 MB / 0.611 GB, free: 141.6 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007962/0.7736, allocations: 69.69 kB / 0.6111 GB, free: 141.5 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000704/0.7743, allocations: 1.791 MB / 0.6128 GB, free: 139.9 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000857/0.7751, allocations: 0.8082 MB / 0.6136 GB, free: 139.2 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/0.7765, allocations: 0.7245 MB / 0.6143 GB, free: 138.5 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 3.421e-05/0.7765, allocations: 483.4 kB / 0.6148 GB, free: 138 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002804/0.7793, allocations: 1.344 MB / 0.6161 GB, free: 136.7 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002895/0.7822, allocations: 1.79 MB / 0.6178 GB, free: 134.7 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007755/0.79, allocations: 4.7 MB / 0.6224 GB, free: 129.9 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.79, allocations: 4 kB / 0.6224 GB, free: 129.9 MB / 442.8 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01915/0.8091, allocations: 6.14 MB / 0.6284 GB, free: 123.8 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.8092, allocations: 8 kB / 0.6284 GB, free: 123.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.8092, allocations: 8 kB / 0.6284 GB, free: 123.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02242/0.8316, allocations: 8.325 MB / 0.6366 GB, free: 115.5 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003594/0.8352, allocations: 0.9675 MB / 0.6375 GB, free: 114.6 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03032/0.8655, allocations: 16.36 MB / 0.6535 GB, free: 97.71 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003702/0.8692, allocations: 263.6 kB / 0.6537 GB, free: 97.46 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009018/0.8701, allocations: 0.5323 MB / 0.6543 GB, free: 96.93 MB / 442.8 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.001885/0.872, allocations: 276.6 kB / 0.6545 GB, free: 96.65 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/0.8733, allocations: 290.5 kB / 0.6548 GB, free: 96.37 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02363/0.8969, allocations: 7.091 MB / 0.6617 GB, free: 89.25 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01571/0.9126, allocations: 4.777 MB / 0.6664 GB, free: 84.47 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/0.9127, allocations: 4 kB / 0.6664 GB, free: 84.47 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.895e-05/0.9127, allocations: 14.61 kB / 0.6664 GB, free: 84.46 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0243/0.937, allocations: 13.34 MB / 0.6794 GB, free: 70.76 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/0.937, allocations: 15.92 kB / 0.6795 GB, free: 70.74 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002296/0.9393, allocations: 0.4967 MB / 0.6799 GB, free: 70.25 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03983/0.9791, allocations: 9.114 MB / 0.6888 GB, free: 61.22 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006286/0.9798, allocations: 142.5 kB / 0.689 GB, free: 61.09 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/0.9972, allocations: 11.85 MB / 0.7005 GB, free: 48.84 MB / 442.8 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.05437/1.052, allocations: 14.97 MB / 0.7152 GB, free: 33.62 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02967/1.081, allocations: 6.802 MB / 0.7218 GB, free: 26.72 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/1.082, allocations: 242.4 kB / 0.722 GB, free: 26.48 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006184/1.082, allocations: 59.88 kB / 0.7221 GB, free: 26.42 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.084, allocations: 183.7 kB / 0.7223 GB, free: 26.24 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007979/1.085, allocations: 269.4 kB / 0.7225 GB, free: 25.98 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003362/1.086, allocations: 250.5 kB / 0.7228 GB, free: 25.74 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.00116/1.087, allocations: 1.209 MB / 0.7239 GB, free: 24.54 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.81e-07/1.087, allocations: 0 / 0.7239 GB, free: 24.54 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.003959/1.091, allocations: 1.453 MB / 0.7254 GB, free: 23.08 MB / 442.8 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.0009827/1.092, allocations: 437 kB / 0.7258 GB, free: 22.71 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.008152/1.1, allocations: 4.223 MB / 0.7299 GB, free: 18.45 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.1, allocations: 4 kB / 0.7299 GB, free: 18.45 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005045/1.105, allocations: 2.708 MB / 0.7326 GB, free: 15.71 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/1.107, allocations: 0.6413 MB / 0.7332 GB, free: 15.11 MB / 442.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695: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.8657837139908224]