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.001668/0.001668, 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.00208/0.00208, allocations: 217.8 kB / 22.25 MB, free: 5.102 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.785 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.1557/0.1557, allocations: 23.92 MB / 336.4 MB, free: 10.91 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.001955/0.001955, allocations: 71.91 kB / 471.2 MB, free: 7.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3333, allocations: 59.87 MB / 0.5186 GB, free: 9.551 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.0752/0.4085, allocations: 32.34 MB / 0.5502 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1664/0.5749, allocations: 127 MB / 0.6742 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004431/0.5793, allocations: 59.62 kB / 0.6742 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004159/0.5835, allocations: 1.122 MB / 0.6753 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004984/0.5885, allocations: 1.342 MB / 0.6766 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00449/0.593, allocations: 1.607 MB / 0.6782 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006815/0.5998, allocations: 3.708 MB / 0.6818 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.6011, allocations: 0.7292 MB / 0.6825 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.6031, allocations: 1.312 MB / 0.6838 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00273/0.6058, allocations: 1.747 MB / 0.6855 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007427/0.6066, allocations: 320 kB / 0.6858 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003645/0.6102, allocations: 1.206 MB / 0.687 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009709/0.6112, allocations: 0.9263 MB / 0.6879 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.613, allocations: 1.402 MB / 0.6893 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008556/0.6216, allocations: 5.397 MB / 0.6946 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6216, allocations: 0 / 0.6946 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6216, allocations: 0 / 0.6946 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001482/0.6217, allocations: 4 kB / 0.6946 GB, free: 5.074 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.007409/0.6291, allocations: 3.944 MB / 0.6984 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.6292, allocations: 8.031 kB / 0.6984 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006407/0.6298, allocations: 0.4918 MB / 0.6989 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.6319, allocations: 0.7322 MB / 0.6996 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/0.6345, allocations: 1.376 MB / 0.701 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004293/0.6349, allocations: 437.2 kB / 0.7014 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005334/0.6355, allocations: 324.3 kB / 0.7017 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.6498, allocations: 10.25 MB / 0.7117 GB, free: 3.367 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-05/0.6498, allocations: 4 kB / 0.7117 GB, free: 3.363 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.6501, allocations: 132 kB / 0.7118 GB, free: 3.234 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005957/0.6507, allocations: 471.5 kB / 0.7123 GB, free: 2.773 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02319/0.6739, allocations: 18.74 MB / 0.7306 GB, free: 12 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.2887/0.9626, allocations: 17.21 MB / 0.7474 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004053/0.9666, allocations: 2.328 MB / 0.7497 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/0.9692, allocations: 1.657 MB / 0.7513 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01568/0.9849, allocations: 7.897 MB / 0.759 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.985, allocations: 45.38 kB / 0.759 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 4.078e-06/0.985, allocations: 0 / 0.759 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=187): time 0.08074/1.066, allocations: 22.24 MB / 0.7808 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.05659/1.122, allocations: 18.21 MB / 0.7985 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/1.126, allocations: 2.489 MB / 0.801 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007992/1.127, allocations: 57.7 kB / 0.801 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/1.128, allocations: 1.808 MB / 0.8028 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/1.129, allocations: 0.6709 MB / 0.8034 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002037/1.131, allocations: 0.6684 MB / 0.8041 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.384e-05/1.131, allocations: 304.4 kB / 0.8044 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003483/1.134, allocations: 2.475 MB / 0.8068 GB, free: 130 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003872/1.138, allocations: 3.236 MB / 0.81 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1265/1.265, allocations: 26.14 MB / 0.8355 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.864e-05/1.265, allocations: 11.94 kB / 0.8355 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=307) (initialization): time 0.02538/1.29, allocations: 8.541 MB / 0.8438 GB, free: 91.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/1.29, allocations: 16 kB / 0.8439 GB, free: 91.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.834e-05/1.29, allocations: 24 kB / 0.8439 GB, free: 91.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01867/1.309, allocations: 4.344 MB / 0.8481 GB, free: 87.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004552/1.313, allocations: 0.8048 MB / 0.8489 GB, free: 86.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/1.324, allocations: 9.989 MB / 0.8587 GB, free: 76.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/1.328, allocations: 146.6 kB / 0.8588 GB, free: 75.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009296/1.329, allocations: 415.8 kB / 0.8592 GB, free: 75.54 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.00258/1.331, allocations: 0.9058 MB / 0.8601 GB, free: 74.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.333, allocations: 278.2 kB / 0.8603 GB, free: 74.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02473/1.357, allocations: 8.173 MB / 0.8683 GB, free: 66.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-05/1.357, allocations: 16 kB / 0.8683 GB, free: 66.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.069e-05/1.357, allocations: 8 kB / 0.8684 GB, free: 66.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.427e-05/1.357, allocations: 7.969 kB / 0.8684 GB, free: 66.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03256/1.39, allocations: 12.84 MB / 0.8809 GB, free: 53.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/1.39, allocations: 3.984 kB / 0.8809 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003619/1.394, allocations: 474 kB / 0.8814 GB, free: 52.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03184/1.425, allocations: 5.576 MB / 0.8868 GB, free: 47.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007427/1.426, allocations: 115.9 kB / 0.8869 GB, free: 47.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0232/1.449, allocations: 13.22 MB / 0.8998 GB, free: 33.42 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.0533/1.503, allocations: 16.46 MB / 0.9159 GB, free: 16.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02617/1.529, allocations: 9.725 MB / 0.9254 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007445/1.53, allocations: 290.1 kB / 0.9257 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/1.531, allocations: 36 kB / 0.9257 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00299/1.534, allocations: 99.89 kB / 0.9258 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008606/1.534, allocations: 213.5 kB / 0.926 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004669/1.535, allocations: 195.9 kB / 0.9262 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002618/1.538, allocations: 1.908 MB / 0.9281 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.538, allocations: 0 / 0.9281 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003984/1.542, allocations: 1.004 MB / 0.929 GB, free: 3.133 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.02935/1.571, allocations: 10.14 MB / 0.9389 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01505/1.586, allocations: 5.43 MB / 0.9442 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/1.586, allocations: 0 / 0.9442 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009631/1.596, allocations: 2.913 MB / 0.9471 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2352/1.831, allocations: 0.5627 MB / 0.9476 GB, free: 194.2 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.334541087999241] Failed to read output from testmodel.py, exit status != 0: 1.841081115999259 1.8564577930000001 1.231762799 Calling exit ...