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.001398/0.001398, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001736/0.001736, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.805 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.1519/0.1519, allocations: 23.98 MB / 336.4 MB, free: 10.95 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.002222/0.002222, allocations: 71.91 kB / 471.3 MB, free: 7.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3363, allocations: 59.89 MB / 0.5187 GB, free: 9.492 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1585:5-1585: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:1585:5-1585: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.07756/0.4139, allocations: 32.65 MB / 0.5506 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1759/0.5897, allocations: 127.3 MB / 0.6749 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004088/0.5938, allocations: 55.69 kB / 0.6749 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004425/0.5982, allocations: 1.13 MB / 0.676 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005987/0.6042, allocations: 1.361 MB / 0.6774 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005325/0.6096, allocations: 1.673 MB / 0.679 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007256/0.6168, allocations: 3.776 MB / 0.6827 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.6188, allocations: 0.7183 MB / 0.6834 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/0.6216, allocations: 1.347 MB / 0.6847 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003447/0.6251, allocations: 1.575 MB / 0.6862 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.6262, allocations: 332 kB / 0.6866 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00452/0.6307, allocations: 1.244 MB / 0.6878 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.6321, allocations: 0.9342 MB / 0.6887 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002563/0.6347, allocations: 1.437 MB / 0.6901 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009582/0.6443, allocations: 5.518 MB / 0.6955 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.6443, allocations: 0 / 0.6955 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.855e-06/0.6443, allocations: 0 / 0.6955 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001146/0.6444, allocations: 0 / 0.6955 GB, free: 4.152 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: 1015 * Number of variables: 1015 Notification: Performance of Generate backend data structure: time 0.007377/0.6518, allocations: 3.995 MB / 0.6994 GB, free: 108 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.6518, allocations: 11.97 kB / 0.6994 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006713/0.6525, allocations: 0.5118 MB / 0.6999 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.6545, allocations: 0.7359 MB / 0.7006 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002744/0.6573, allocations: 1.399 MB / 0.702 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004146/0.6577, allocations: 437.4 kB / 0.7024 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004919/0.6582, allocations: 332.3 kB / 0.7027 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01437/0.6726, allocations: 10.65 MB / 0.7131 GB, free: 1.941 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-05/0.6726, allocations: 0 / 0.7131 GB, free: 1.941 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002687/0.6729, allocations: 140 kB / 0.7132 GB, free: 1.805 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005203/0.6734, allocations: 475.7 kB / 0.7137 GB, free: 1.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2449/0.9184, allocations: 19.85 MB / 0.7331 GB, free: 186.2 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.03082/0.9492, allocations: 17.83 MB / 0.7505 GB, free: 178 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003707/0.9529, allocations: 2.274 MB / 0.7527 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002653/0.9555, allocations: 1.743 MB / 0.7544 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01665/0.9722, allocations: 8.311 MB / 0.7625 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.9722, allocations: 43.84 kB / 0.7626 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 3.997e-06/0.9722, allocations: 3.938 kB / 0.7626 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=192): time 0.08324/1.055, allocations: 22.74 MB / 0.7848 GB, free: 152.4 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.01204/1.068, allocations: 6.6 MB / 0.7912 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/1.07, allocations: 2.489 MB / 0.7937 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008225/1.071, allocations: 57.7 kB / 0.7937 GB, free: 143 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008871/1.072, allocations: 1.835 MB / 0.7955 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008308/1.073, allocations: 0.685 MB / 0.7962 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/1.074, allocations: 0.7062 MB / 0.7969 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.578e-05/1.074, allocations: 309.1 kB / 0.7972 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003378/1.077, allocations: 2.643 MB / 0.7998 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003821/1.081, allocations: 3.392 MB / 0.8031 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1491/1.23, allocations: 28.86 MB / 0.8313 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.803e-05/1.23, allocations: 8 kB / 0.8313 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.02772/1.258, allocations: 8.961 MB / 0.84 GB, free: 95.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/1.258, allocations: 16 kB / 0.84 GB, free: 95.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/1.258, allocations: 24 kB / 0.8401 GB, free: 95.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02084/1.279, allocations: 4.465 MB / 0.8444 GB, free: 90.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005688/1.285, allocations: 1.021 MB / 0.8454 GB, free: 89.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/1.296, allocations: 10.23 MB / 0.8554 GB, free: 79.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/1.3, allocations: 154.6 kB / 0.8556 GB, free: 79.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/1.301, allocations: 454.5 kB / 0.856 GB, free: 78.64 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 (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): 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.002546/1.304, allocations: 0.9213 MB / 0.8569 GB, free: 77.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000829/1.304, allocations: 276.8 kB / 0.8571 GB, free: 77.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02837/1.333, allocations: 8.671 MB / 0.8656 GB, free: 68.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-05/1.333, allocations: 23.98 kB / 0.8656 GB, free: 68.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/1.333, allocations: 4 kB / 0.8656 GB, free: 68.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.407e-05/1.333, allocations: 7.969 kB / 0.8656 GB, free: 68.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03517/1.368, allocations: 13.28 MB / 0.8786 GB, free: 55.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.577e-05/1.368, allocations: 7 kB / 0.8786 GB, free: 55.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004949/1.373, allocations: 0.7181 MB / 0.8793 GB, free: 54.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01984/1.393, allocations: 4.08 MB / 0.8833 GB, free: 50.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008986/1.394, allocations: 115.9 kB / 0.8834 GB, free: 50.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03026/1.424, allocations: 17.42 MB / 0.9004 GB, free: 32.29 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.01022/1.434, allocations: 5.255 MB / 0.9056 GB, free: 26.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02951/1.464, allocations: 10.18 MB / 0.9155 GB, free: 16.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007487/1.465, allocations: 290.2 kB / 0.9158 GB, free: 16.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008407/1.465, allocations: 47.92 kB / 0.9158 GB, free: 16.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/1.468, allocations: 111.9 kB / 0.9159 GB, free: 16.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007513/1.469, allocations: 233.5 kB / 0.9162 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003193/1.469, allocations: 207.9 kB / 0.9164 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002359/1.472, allocations: 2.084 MB / 0.9184 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/1.472, allocations: 0 / 0.9184 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004061/1.476, allocations: 1.019 MB / 0.9194 GB, free: 12.52 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 (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.02951/1.505, allocations: 10.58 MB / 0.9297 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01462/1.52, allocations: 5.66 MB / 0.9353 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.52, allocations: 0.875 kB / 0.9353 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01006/1.53, allocations: 3.214 MB / 0.9384 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004525/1.534, allocations: 0.5623 MB / 0.9389 GB, free: 8.355 MB / 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: 4.3741417727433145] Failed to read output from testmodel.py, exit status != 0: 1.5451818159781396 1.777860423 1.130852028 Calling exit ...