Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0006617/0.0006617, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009034/0.001565, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 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.0007055/0.0007055, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008951/0.001601, allocations: 475.6 kB / 11.64 MB, free: 2.531 MB / 13.93 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.8884/0.8884, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07366/0.962, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.07992/0.07992, allocations: 17.44 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008777/0.0887, allocations: 6.96 MB / 268.3 MB, free: 6.402 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Examples_WaterSublimation",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Examples_WaterSublimation",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 269.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.846e-06/1.025e-05, allocations: 18.05 kB / 269.6 MB, free: 5.164 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Interfaces.mo:1586:5-1586: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.1-master/Interfaces.mo:1586:5-1586: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.1274/0.1274, allocations: 13.69 MB / 283.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1275/0.2549, allocations: 141.1 MB / 424.3 MB, free: 7.309 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.2563, allocations: 87.31 kB / 424.4 MB, free: 7.223 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.2587, allocations: 1.292 MB / 425.7 MB, free: 5.922 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.2613, allocations: 1.679 MB / 427.4 MB, free: 4.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.2643, allocations: 1.952 MB / 429.3 MB, free: 2.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1548/0.419, allocations: 4.117 MB / 433.5 MB, free: 4.613 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.4201, allocations: 0.7603 MB / 434.2 MB, free: 4.379 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/0.4229, allocations: 2.247 MB / 436.5 MB, free: 4.301 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.4252, allocations: 1.476 MB / 437.9 MB, free: 4.301 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006543/0.4258, allocations: 330.9 kB / 438.3 MB, free: 4.301 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.4287, allocations: 1.512 MB / 439.8 MB, free: 4.301 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005469/0.4292, allocations: 0.8756 MB / 440.7 MB, free: 4.301 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.4304, allocations: 1.039 MB / 441.7 MB, free: 4.301 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.4336, allocations: 3.997 MB / 445.7 MB, free: 3.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-05/0.4336, allocations: 0.875 kB / 445.7 MB, free: 3.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4336, allocations: 0 / 445.7 MB, free: 3.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001129/0.4337, allocations: 0.875 kB / 445.7 MB, free: 3.852 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: 1015 * Number of variables: 1015 Notification: Performance of Generate backend data structure: time 0.00392/0.4376, allocations: 4.821 MB / 450.5 MB, free: 18.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.4376, allocations: 9.531 kB / 450.5 MB, free: 18.09 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002823/0.4379, allocations: 0.5212 MB / 451 MB, free: 18.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.4393, allocations: 1.49 MB / 452.5 MB, free: 17.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.4407, allocations: 1.335 MB / 453.9 MB, free: 17.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.4408, allocations: 430.1 kB / 454.3 MB, free: 17.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.4411, allocations: 337.1 kB / 454.6 MB, free: 17.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.4435, allocations: 3.334 MB / 458 MB, free: 16.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-05/0.4436, allocations: 1.25 kB / 458 MB, free: 16.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.4437, allocations: 137.6 kB / 458.1 MB, free: 16.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002951/0.444, allocations: 477.7 kB / 458.6 MB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003065/0.4471, allocations: 4.192 MB / 462.7 MB, free: 16.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01069/0.4578, allocations: 11.48 MB / 474.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009711/0.4587, allocations: 0.8534 MB / 475.1 MB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/0.4593, allocations: 414.2 kB / 475.5 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006937/0.4662, allocations: 5.623 MB / 481.1 MB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.4662, allocations: 48.88 kB / 481.2 MB, free: 14.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 2.294e-06/0.4662, allocations: 0 / 481.2 MB, free: 14.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=192): time 0.04287/0.5091, allocations: 12.34 MB / 493.5 MB, free: 6.938 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.005541/0.5147, allocations: 4.476 MB / 498 MB, free: 2.949 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.5161, allocations: 1.761 MB / 499.7 MB, free: 1.875 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001888/0.5163, allocations: 58.95 kB / 499.8 MB, free: 1.836 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006268/0.5169, allocations: 1.43 MB / 0.4895 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004818/0.5174, allocations: 0.6828 MB / 0.4901 GB, free: 76 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008092/0.5182, allocations: 0.547 MB / 0.4907 GB, free: 15.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.92e-05/0.5183, allocations: 302.4 kB / 0.491 GB, free: 15.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.5196, allocations: 0.8086 MB / 0.4918 GB, free: 14.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.5212, allocations: 1.563 MB / 0.4933 GB, free: 13.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004526/0.5258, allocations: 3.565 MB / 0.4968 GB, free: 9.633 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.5258, allocations: 8 kB / 0.4968 GB, free: 9.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01069/0.5365, allocations: 3.868 MB / 0.5006 GB, free: 6.262 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.5365, allocations: 16 kB / 0.5006 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.5365, allocations: 28.94 kB / 0.5006 GB, free: 6.219 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/0.5474, allocations: 3.417 MB / 0.5039 GB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003394/0.5508, allocations: 1.128 MB / 0.505 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/0.5643, allocations: 10.43 MB / 0.5152 GB, free: 7.312 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.5662, allocations: 108 kB / 0.5153 GB, free: 7.207 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003657/0.5666, allocations: 326.9 kB / 0.5156 GB, free: 6.891 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: 110 * Number of states: 0 () * Number of discrete variables: 4 (otherSubstances.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,H2O_solid.substanceDefinitionVar.data.phase,H2O_solid.substanceDefinitionVar.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 248 * Array equations: 0 * 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,80.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,14), (4,3), (2,3), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001097/0.5677, allocations: 266.3 kB / 0.5159 GB, free: 6.652 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005155/0.5682, allocations: 267.7 kB / 0.5161 GB, free: 6.391 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.5799, allocations: 4.462 MB / 0.5205 GB, free: 1.957 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.5799, allocations: 20 kB / 0.5205 GB, free: 1.938 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.5799, allocations: 4 kB / 0.5205 GB, free: 1.934 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.5799, allocations: 19.17 kB / 0.5205 GB, free: 1.918 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.5948, allocations: 6.951 MB / 0.5273 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.433e-06/0.5948, allocations: 4 kB / 0.5273 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002798/0.5976, allocations: 0.8172 MB / 0.5281 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004937/0.5981, allocations: 257.1 kB / 0.5284 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01125/0.6093, allocations: 3.637 MB / 0.5319 GB, free: 6.781 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002698/0.6096, allocations: 79.91 kB / 0.532 GB, free: 6.703 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01349/0.6231, allocations: 10.57 MB / 0.5423 GB, free: 11.73 MB / 490.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.004988/0.6281, allocations: 4.182 MB / 0.5464 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/0.6395, allocations: 4.257 MB / 0.5506 GB, free: 3.109 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004967/0.64, allocations: 47.88 kB / 0.5506 GB, free: 3.062 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.6412, allocations: 63.97 kB / 0.5507 GB, free: 3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005583/0.6417, allocations: 208.6 kB / 0.5509 GB, free: 2.801 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002451/0.642, allocations: 171.9 kB / 0.551 GB, free: 2.633 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008524/0.6428, allocations: 0.928 MB / 0.5519 GB, free: 1.805 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6428, allocations: 0 / 0.5519 GB, free: 1.805 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002591/0.6454, allocations: 1.09 MB / 0.553 GB, free: 0.7148 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET2.x,$STATESET1.x,H2O_gaseuous.logn,otherSubstances.logn,H2O_solid.logm,gasVolatility.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 134 * Array equations: 0 * 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,80.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,15), (5,7), (2,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01159/0.657, allocations: 5.002 MB / 0.5579 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005004/0.662, allocations: 3.107 MB / 0.5609 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.551e-05/0.6621, allocations: 29.81 kB / 0.561 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003036/0.6651, allocations: 1.993 MB / 0.5629 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.6668, allocations: 0.9275 MB / 0.5638 GB, free: 5.824 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4091:9-4091:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:743:5-743: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.0377659052610397]