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.00119/0.00119, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001296/0.001296, allocations: 212.8 kB / 22.24 MB, free: 5.105 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 7.797 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.1314/0.1314, allocations: 23.91 MB / 336.3 MB, free: 10.93 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: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) [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.001937/0.001937, allocations: 71.89 kB / 471.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3011, allocations: 59.87 MB / 0.5186 GB, free: 9.461 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.07443/0.3755, allocations: 32.29 MB / 0.5501 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1611/0.5367, allocations: 127 MB / 0.6741 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.5387, allocations: 55.69 kB / 0.6742 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003059/0.5417, allocations: 1.118 MB / 0.6753 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.5449, allocations: 1.338 MB / 0.6766 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.5484, allocations: 1.607 MB / 0.6782 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004811/0.5532, allocations: 3.712 MB / 0.6818 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.5542, allocations: 0.7253 MB / 0.6825 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.5557, allocations: 1.308 MB / 0.6838 GB, free: 196 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002275/0.558, allocations: 1.747 MB / 0.6855 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003865/0.5584, allocations: 320 kB / 0.6858 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.5612, allocations: 1.21 MB / 0.687 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008298/0.5621, allocations: 0.9185 MB / 0.6879 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.5635, allocations: 1.402 MB / 0.6892 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00679/0.5703, allocations: 5.401 MB / 0.6945 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5703, allocations: 0 / 0.6945 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5703, allocations: 0 / 0.6945 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.319e-05/0.5703, allocations: 0 / 0.6945 GB, free: 5.16 MB / 0.5294 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.006343/0.5767, allocations: 3.944 MB / 0.6984 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5767, allocations: 12.03 kB / 0.6984 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005746/0.5773, allocations: 499.6 kB / 0.6989 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.5793, allocations: 0.7375 MB / 0.6996 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.5817, allocations: 1.376 MB / 0.7009 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003786/0.582, allocations: 433.2 kB / 0.7013 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004416/0.5825, allocations: 322.8 kB / 0.7016 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/0.5944, allocations: 10.25 MB / 0.7116 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.655e-05/0.5945, allocations: 0 / 0.7116 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.5947, allocations: 136 kB / 0.7118 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005063/0.5952, allocations: 475.5 kB / 0.7122 GB, free: 2.859 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0204/0.6156, allocations: 18.74 MB / 0.7305 GB, free: 112 kB / 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.2221/0.8378, allocations: 17.22 MB / 0.7473 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003727/0.8415, allocations: 2.33 MB / 0.7496 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/0.8437, allocations: 1.659 MB / 0.7512 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01461/0.8583, allocations: 7.887 MB / 0.7589 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.8584, allocations: 49.59 kB / 0.759 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 3.206e-06/0.8584, allocations: 0 / 0.759 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=187): time 0.08639/0.9448, allocations: 22.24 MB / 0.7807 GB, free: 156.8 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.06195/1.007, allocations: 18.22 MB / 0.7985 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/1.009, allocations: 2.483 MB / 0.8009 GB, free: 136 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006406/1.01, allocations: 57.7 kB / 0.801 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000766/1.011, allocations: 1.811 MB / 0.8027 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006242/1.011, allocations: 0.6722 MB / 0.8034 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/1.012, allocations: 0.6684 MB / 0.8041 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.588e-05/1.012, allocations: 303.8 kB / 0.8043 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/1.016, allocations: 2.472 MB / 0.8068 GB, free: 130 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003392/1.019, allocations: 3.24 MB / 0.8099 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1395/1.158, allocations: 26.13 MB / 0.8354 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.66e-05/1.158, allocations: 18.59 kB / 0.8355 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=307) (initialization): time 0.02891/1.187, allocations: 8.537 MB / 0.8438 GB, free: 91.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/1.187, allocations: 16 kB / 0.8438 GB, free: 91.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.642e-05/1.187, allocations: 24 kB / 0.8438 GB, free: 91.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02069/1.208, allocations: 4.348 MB / 0.8481 GB, free: 87.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004586/1.213, allocations: 0.8049 MB / 0.8489 GB, free: 86.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/1.224, allocations: 9.983 MB / 0.8586 GB, free: 76.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003584/1.227, allocations: 146.6 kB / 0.8588 GB, free: 76.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000724/1.228, allocations: 415.8 kB / 0.8592 GB, free: 75.6 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.001938/1.23, allocations: 0.9125 MB / 0.86 GB, free: 74.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000809/1.231, allocations: 274.2 kB / 0.8603 GB, free: 74.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02544/1.256, allocations: 8.173 MB / 0.8683 GB, free: 66.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/1.256, allocations: 19.94 kB / 0.8683 GB, free: 66.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/1.256, allocations: 8 kB / 0.8683 GB, free: 66.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.003e-05/1.256, allocations: 7.969 kB / 0.8683 GB, free: 66.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03231/1.289, allocations: 12.84 MB / 0.8809 GB, free: 53.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/1.289, allocations: 4 kB / 0.8809 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003602/1.292, allocations: 468.7 kB / 0.8813 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03498/1.327, allocations: 5.567 MB / 0.8868 GB, free: 47.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005892/1.328, allocations: 111.9 kB / 0.8869 GB, free: 47.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02362/1.351, allocations: 13.24 MB / 0.8998 GB, free: 33.47 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.05776/1.409, allocations: 16.44 MB / 0.9158 GB, free: 16.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02686/1.436, allocations: 9.733 MB / 0.9253 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008992/1.437, allocations: 286.1 kB / 0.9256 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008622/1.438, allocations: 47.89 kB / 0.9257 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/1.441, allocations: 95.89 kB / 0.9258 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007272/1.441, allocations: 221.5 kB / 0.926 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000382/1.442, allocations: 191.9 kB / 0.9262 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002257/1.444, allocations: 1.912 MB / 0.928 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.444, allocations: 0 / 0.928 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003266/1.447, allocations: 1.004 MB / 0.929 GB, free: 3.18 MB / 0.5606 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.03032/1.478, allocations: 10.13 MB / 0.9389 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.491, allocations: 5.438 MB / 0.9442 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.491, allocations: 0 / 0.9442 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009246/1.501, allocations: 2.909 MB / 0.947 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/1.504, allocations: 0.5566 MB / 0.9476 GB, free: 40 kB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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: 3.9783720590057783] Failed to read output from testmodel.py, exit status != 0: 1.7159278319741134 1.727934831 1.155205457 Calling exit ...