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.001594/0.001594, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 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.001608/0.001608, allocations: 217.1 kB / 23.01 MB, free: 4.602 MB / 14.72 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1562/0.1562, allocations: 23.89 MB / 337.1 MB, free: 11.21 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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: translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterSublimation") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.89 kB / 472.5 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4277, allocations: 59.88 MB / 0.5199 GB, free: 9.887 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1558:5-1558: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 master/Interfaces.mo:1558:5-1558: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.05304/0.4808, allocations: 34.38 MB / 0.5534 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2086/0.6893, allocations: 148.1 MB / 0.6981 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004721/0.694, allocations: 55.69 kB / 0.6981 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004715/0.6988, allocations: 1.2 MB / 0.6993 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00644/0.7052, allocations: 1.334 MB / 0.7006 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005576/0.7108, allocations: 1.677 MB / 0.7022 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008386/0.7192, allocations: 3.716 MB / 0.7059 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.7207, allocations: 0.7254 MB / 0.7066 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.7231, allocations: 1.312 MB / 0.7079 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003247/0.7263, allocations: 1.743 MB / 0.7096 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006725/0.727, allocations: 324 kB / 0.7099 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00556/0.7326, allocations: 1.779 MB / 0.7116 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.7337, allocations: 0.9185 MB / 0.7125 GB, free: 4.199 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002796/0.7365, allocations: 1.853 MB / 0.7143 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.7481, allocations: 5.546 MB / 0.7197 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7481, allocations: 3.938 kB / 0.7197 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.684e-06/0.7481, allocations: 4 kB / 0.7197 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001461/0.7483, allocations: 0 / 0.7197 GB, free: 12.76 MB / 0.5606 GB 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.009325/0.7576, allocations: 3.944 MB / 0.7236 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.7577, allocations: 8.031 kB / 0.7236 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.7593, allocations: 0.6307 MB / 0.7242 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.762, allocations: 1.383 MB / 0.7256 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004661/0.7625, allocations: 429.2 kB / 0.726 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004658/0.763, allocations: 324.3 kB / 0.7263 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.341/1.104, allocations: 10.22 MB / 0.7363 GB, free: 187 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.508e-05/1.104, allocations: 0 / 0.7363 GB, free: 187 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/1.104, allocations: 133.4 kB / 0.7364 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006494/1.105, allocations: 474.2 kB / 0.7368 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02419/1.129, allocations: 18.73 MB / 0.7551 GB, free: 179.9 MB / 0.5606 GB 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.02896/1.158, allocations: 19.07 MB / 0.7738 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003124/1.161, allocations: 2.3 MB / 0.776 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/1.163, allocations: 1.621 MB / 0.7776 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01488/1.178, allocations: 8.531 MB / 0.7859 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/1.178, allocations: 43.88 kB / 0.786 GB, free: 153 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 4.038e-06/1.178, allocations: 2.688 kB / 0.786 GB, free: 153 MB / 0.5606 GB Notification: Performance of matching and sorting (n=187): time 0.08424/1.262, allocations: 22.11 MB / 0.8076 GB, free: 131.3 MB / 0.5606 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 inlineWhenForInitialization (initialization): time 0.06147/1.324, allocations: 18.47 MB / 0.8256 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003922/1.328, allocations: 2.45 MB / 0.828 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007147/1.328, allocations: 60.36 kB / 0.828 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/1.33, allocations: 1.805 MB / 0.8298 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001175/1.331, allocations: 0.6662 MB / 0.8305 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001935/1.333, allocations: 0.6645 MB / 0.8311 GB, free: 107 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/1.333, allocations: 305.1 kB / 0.8314 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003575/1.336, allocations: 2.444 MB / 0.8338 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004031/1.34, allocations: 3.211 MB / 0.8369 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1421/1.482, allocations: 27.7 MB / 0.864 GB, free: 73.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.742e-05/1.482, allocations: 10.69 kB / 0.864 GB, free: 73.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=307) (initialization): time 0.02777/1.51, allocations: 8.472 MB / 0.8723 GB, free: 64.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/1.51, allocations: 16 kB / 0.8723 GB, free: 64.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-05/1.51, allocations: 24 kB / 0.8723 GB, free: 64.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02025/1.531, allocations: 4.355 MB / 0.8765 GB, free: 60.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004625/1.535, allocations: 0.7814 MB / 0.8773 GB, free: 59.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/1.547, allocations: 10.06 MB / 0.8871 GB, free: 48.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004143/1.551, allocations: 130.9 kB / 0.8873 GB, free: 48.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/1.552, allocations: 411.8 kB / 0.8877 GB, free: 48.43 MB / 0.5606 GB 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 (H2O_solid.substanceDefinitionVar.SelfClustering,H2O_solid.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 243 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(5,13), (3,5), (4,14), (4,3), (2,3), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00294/1.555, allocations: 0.9103 MB / 0.8885 GB, free: 47.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/1.557, allocations: 274.2 kB / 0.8888 GB, free: 47.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02656/1.583, allocations: 8.12 MB / 0.8967 GB, free: 39.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.993e-05/1.583, allocations: 20 kB / 0.8968 GB, free: 39.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.798e-05/1.583, allocations: 4 kB / 0.8968 GB, free: 39.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.486e-05/1.583, allocations: 15.95 kB / 0.8968 GB, free: 39.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03646/1.62, allocations: 13.78 MB / 0.9102 GB, free: 25.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.774e-05/1.62, allocations: 4 kB / 0.9102 GB, free: 25.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003634/1.623, allocations: 459.7 kB / 0.9107 GB, free: 24.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03367/1.657, allocations: 5.575 MB / 0.9161 GB, free: 19.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000729/1.658, allocations: 111.9 kB / 0.9162 GB, free: 18.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02558/1.683, allocations: 13.46 MB / 0.9294 GB, free: 5.086 MB / 0.5606 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.0649/1.748, allocations: 16.74 MB / 0.9457 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4074/2.156, allocations: 9.646 MB / 0.9551 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/2.157, allocations: 282.2 kB / 0.9554 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008154/2.157, allocations: 40.88 kB / 0.9554 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/2.16, allocations: 90.14 kB / 0.9555 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008142/2.161, allocations: 211.8 kB / 0.9557 GB, free: 189.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004643/2.161, allocations: 196.1 kB / 0.9559 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003445/2.165, allocations: 1.913 MB / 0.9578 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.165, allocations: 1.594 kB / 0.9578 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00505/2.17, allocations: 1.006 MB / 0.9588 GB, free: 188.3 MB / 0.5762 GB 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 (128): * Single equations (assignments): 123 * 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 {(5,13,80.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(9,25), (5,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/2.171, allocations: 430.4 kB / 0.9592 GB, free: 188.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01282/2.184, allocations: 5.364 MB / 0.9644 GB, free: 186 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/2.184, allocations: 1 kB / 0.9644 GB, free: 186 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008974/2.193, allocations: 2.878 MB / 0.9672 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/2.196, allocations: 0.5565 MB / 0.9678 GB, free: 184.6 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.86902529100189] Failed to read output from testmodel.py, exit status != 0: 2.207635658996878 2.220452619 1.469635368 Calling exit ...