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.001268/0.001268, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001389/0.001389, allocations: 215.1 kB / 22.25 MB, free: 5.082 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 8 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.1251/0.1251, allocations: 23.89 MB / 336.3 MB, free: 11.13 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.002112/0.002112, allocations: 67.89 kB / 471.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2759, allocations: 59.87 MB / 0.5186 GB, free: 9.824 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.03869/0.3146, allocations: 34.3 MB / 0.5521 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.168/0.4826, allocations: 148.1 MB / 0.6968 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/0.4848, allocations: 55.69 kB / 0.6968 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003176/0.488, allocations: 1.2 MB / 0.698 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003304/0.4913, allocations: 1.342 MB / 0.6993 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.4947, allocations: 1.661 MB / 0.7009 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004832/0.4996, allocations: 3.708 MB / 0.7046 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.5006, allocations: 0.7332 MB / 0.7053 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.502, allocations: 1.316 MB / 0.7066 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.5042, allocations: 1.747 MB / 0.7083 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003948/0.5046, allocations: 320 kB / 0.7086 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003411/0.508, allocations: 1.771 MB / 0.7103 GB, free: 5.336 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007478/0.5088, allocations: 0.9147 MB / 0.7112 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001603/0.5104, allocations: 1.861 MB / 0.713 GB, free: 2.547 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006376/0.5167, allocations: 5.553 MB / 0.7184 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5167, allocations: 0 / 0.7184 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5167, allocations: 0 / 0.7184 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.578e-05/0.5168, allocations: 0 / 0.7184 GB, free: 12.97 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.005967/0.5227, allocations: 3.94 MB / 0.7223 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.5228, allocations: 8.031 kB / 0.7223 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005382/0.5233, allocations: 0.4957 MB / 0.7228 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.5246, allocations: 0.6385 MB / 0.7234 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.5267, allocations: 1.38 MB / 0.7247 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/0.5271, allocations: 433.2 kB / 0.7252 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004285/0.5276, allocations: 320.3 kB / 0.7255 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.186/0.7136, allocations: 10.22 MB / 0.7354 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.407e-05/0.7136, allocations: 2.969 kB / 0.7354 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.7138, allocations: 133.2 kB / 0.7356 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004229/0.7143, allocations: 477.8 kB / 0.736 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.7305, allocations: 18.73 MB / 0.7543 GB, free: 179.6 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.0204/0.7509, allocations: 19.06 MB / 0.7729 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.7535, allocations: 2.303 MB / 0.7752 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.7552, allocations: 1.617 MB / 0.7768 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01234/0.7675, allocations: 8.545 MB / 0.7851 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.7675, allocations: 46.56 kB / 0.7851 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 2.865e-06/0.7675, allocations: 0 / 0.7851 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=187): time 0.07628/0.8438, allocations: 22.12 MB / 0.8067 GB, free: 131 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.05734/0.9011, allocations: 18.47 MB / 0.8248 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.9035, allocations: 2.444 MB / 0.8272 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004522/0.9039, allocations: 53.7 kB / 0.8272 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007469/0.9047, allocations: 1.811 MB / 0.829 GB, free: 108 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005373/0.9052, allocations: 0.661 MB / 0.8296 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/0.9063, allocations: 0.6762 MB / 0.8303 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.476e-05/0.9063, allocations: 301.1 kB / 0.8306 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002897/0.9092, allocations: 2.441 MB / 0.833 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003188/0.9124, allocations: 3.21 MB / 0.8361 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1403/1.053, allocations: 27.71 MB / 0.8632 GB, free: 72.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/1.053, allocations: 8 kB / 0.8632 GB, free: 72.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=307) (initialization): time 0.02447/1.077, allocations: 8.468 MB / 0.8714 GB, free: 64.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/1.077, allocations: 16 kB / 0.8714 GB, free: 64.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/1.077, allocations: 26.66 kB / 0.8715 GB, free: 64.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01873/1.096, allocations: 4.364 MB / 0.8757 GB, free: 59.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004015/1.1, allocations: 0.7776 MB / 0.8765 GB, free: 59.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/1.11, allocations: 10.05 MB / 0.8863 GB, free: 48.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/1.113, allocations: 134.6 kB / 0.8864 GB, free: 48.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004662/1.114, allocations: 411.8 kB / 0.8868 GB, free: 48.12 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.001572/1.115, allocations: 0.9179 MB / 0.8877 GB, free: 47.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000561/1.116, allocations: 274.2 kB / 0.888 GB, free: 46.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02365/1.14, allocations: 8.117 MB / 0.8959 GB, free: 38.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.14, allocations: 20 kB / 0.8959 GB, free: 38.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.14, allocations: 4 kB / 0.8959 GB, free: 38.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/1.14, allocations: 11.95 kB / 0.8959 GB, free: 38.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02973/1.169, allocations: 13.78 MB / 0.9094 GB, free: 24.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.169, allocations: 4 kB / 0.9094 GB, free: 24.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003113/1.173, allocations: 459.5 kB / 0.9098 GB, free: 24.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0312/1.204, allocations: 5.572 MB / 0.9153 GB, free: 18.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002973/1.204, allocations: 111.8 kB / 0.9154 GB, free: 18.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02222/1.226, allocations: 13.45 MB / 0.9285 GB, free: 4.773 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.05922/1.285, allocations: 16.75 MB / 0.9449 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2097/1.495, allocations: 9.643 MB / 0.9543 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005888/1.496, allocations: 278.3 kB / 0.9546 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005347/1.496, allocations: 46.28 kB / 0.9546 GB, free: 189 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/1.499, allocations: 84.55 kB / 0.9547 GB, free: 189 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006395/1.499, allocations: 215.4 kB / 0.9549 GB, free: 189 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003459/1.5, allocations: 195.9 kB / 0.9551 GB, free: 189 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002389/1.502, allocations: 1.912 MB / 0.9569 GB, free: 188.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.502, allocations: 0 / 0.9569 GB, free: 188.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003143/1.505, allocations: 1.009 MB / 0.9579 GB, free: 188.1 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.02708/1.532, allocations: 10.07 MB / 0.9678 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.543, allocations: 5.37 MB / 0.973 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.543, allocations: 1.219 kB / 0.973 GB, free: 181.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007454/1.551, allocations: 2.874 MB / 0.9758 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/1.553, allocations: 0.5619 MB / 0.9764 GB, free: 180.3 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: 3.7907296390039846] Failed to read output from testmodel.py, exit status != 0: 1.561620229993423 1.5713287470000001 1.052346171 Calling exit ...