Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.00123/0.00123, 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.001446/0.001446, allocations: 212.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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1347/0.1347, allocations: 23.86 MB / 336.3 MB, free: 11.18 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_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.001865/0.001865, allocations: 75.83 kB / 471.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3224, allocations: 59.85 MB / 0.5186 GB, free: 9.617 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564: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 2.0.0/Interfaces.mo:1564:5-1564: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.04738/0.3698, allocations: 34.3 MB / 0.5521 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1855/0.5553, allocations: 148.1 MB / 0.6967 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.5582, allocations: 43.75 kB / 0.6967 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004058/0.5623, allocations: 1.258 MB / 0.698 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004592/0.5668, allocations: 1.299 MB / 0.6992 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004509/0.5714, allocations: 1.673 MB / 0.7009 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006074/0.5774, allocations: 3.731 MB / 0.7045 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.5785, allocations: 0.7254 MB / 0.7052 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.5801, allocations: 1.288 MB / 0.7065 GB, free: 9.129 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.5818, allocations: 1.521 MB / 0.708 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003837/0.5822, allocations: 336 kB / 0.7083 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004065/0.5863, allocations: 1.873 MB / 0.7101 GB, free: 5.398 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008424/0.5871, allocations: 0.9888 MB / 0.7111 GB, free: 4.406 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002009/0.5891, allocations: 1.916 MB / 0.7129 GB, free: 2.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008538/0.5977, allocations: 5.729 MB / 0.7185 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.5977, allocations: 0 / 0.7185 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.246e-06/0.5977, allocations: 0 / 0.7185 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.688e-05/0.5978, allocations: 0 / 0.7185 GB, free: 12.73 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.006815/0.6046, allocations: 4.006 MB / 0.7224 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.6046, allocations: 16.02 kB / 0.7225 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005434/0.6052, allocations: 499.6 kB / 0.7229 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.6068, allocations: 0.6892 MB / 0.7236 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/0.6096, allocations: 1.715 MB / 0.7253 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005232/0.6101, allocations: 0.5597 MB / 0.7258 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004029/0.6105, allocations: 324.3 kB / 0.7261 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2279/0.8384, allocations: 12.34 MB / 0.7382 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.327e-05/0.8384, allocations: 0 / 0.7382 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002049/0.8386, allocations: 132.6 kB / 0.7383 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004815/0.8391, allocations: 498.7 kB / 0.7388 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02118/0.8603, allocations: 21.37 MB / 0.7597 GB, free: 177.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.03291/0.8932, allocations: 31.09 MB / 0.79 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00564/0.8989, allocations: 5.364 MB / 0.7953 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003883/0.9027, allocations: 4.306 MB / 0.7995 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00215/0.9049, allocations: 0.7961 MB / 0.8002 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.9049, allocations: 51.88 kB / 0.8003 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.086e-06/0.9049, allocations: 0 / 0.8003 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.143/1.048, allocations: 48.27 MB / 0.8474 GB, free: 89.62 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.09749/1.145, allocations: 29.45 MB / 0.8762 GB, free: 59.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005057/1.15, allocations: 3.749 MB / 0.8799 GB, free: 56.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009104/1.151, allocations: 65.69 kB / 0.8799 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009828/1.152, allocations: 1.617 MB / 0.8815 GB, free: 54.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.154, allocations: 0.8172 MB / 0.8823 GB, free: 53.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002324/1.156, allocations: 0.7734 MB / 0.883 GB, free: 52.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.785e-05/1.156, allocations: 307.8 kB / 0.8833 GB, free: 52.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007284/1.163, allocations: 7.497 MB / 0.8907 GB, free: 45.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00793/1.171, allocations: 7.849 MB / 0.8983 GB, free: 37.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2116/1.383, allocations: 44.05 MB / 0.9413 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/1.383, allocations: 4 kB / 0.9414 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.2606/1.643, allocations: 20.72 MB / 0.9616 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/1.643, allocations: 11.44 kB / 0.9616 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/1.643, allocations: 8.688 kB / 0.9616 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04034/1.684, allocations: 10.51 MB / 0.9719 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006485/1.69, allocations: 0.9603 MB / 0.9728 GB, free: 187.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05792/1.748, allocations: 41.91 MB / 1.014 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005458/1.754, allocations: 259.7 kB / 1.014 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/1.755, allocations: 0.5309 MB / 1.015 GB, free: 155.7 MB / 0.5762 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: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 201 * Array equations: 4 * 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,76.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(6,20), (4,3), (3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.002902/1.758, allocations: 0.8755 MB / 1.015 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/1.759, allocations: 348.9 kB / 1.016 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03611/1.795, allocations: 13.91 MB / 1.029 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0307/1.826, allocations: 11.4 MB / 1.04 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.884e-05/1.826, allocations: 4 kB / 1.04 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.449e-05/1.826, allocations: 15.89 kB / 1.04 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0476/1.874, allocations: 23.48 MB / 1.063 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.852e-05/1.874, allocations: 4 kB / 1.063 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004135/1.878, allocations: 0.4962 MB / 1.064 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07097/1.949, allocations: 10.88 MB / 1.074 GB, free: 94.33 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007615/1.95, allocations: 141.2 kB / 1.075 GB, free: 94.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03319/1.983, allocations: 20.1 MB / 1.094 GB, free: 73.74 MB / 0.5762 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.08692/2.07, allocations: 20.26 MB / 1.114 GB, free: 53.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03745/2.107, allocations: 17.78 MB / 1.131 GB, free: 35.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/2.108, allocations: 466.8 kB / 1.132 GB, free: 35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001434/2.11, allocations: 54.64 kB / 1.132 GB, free: 34.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004688/2.114, allocations: 179.8 kB / 1.132 GB, free: 34.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/2.116, allocations: 294.8 kB / 1.132 GB, free: 34.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006028/2.116, allocations: 251.8 kB / 1.133 GB, free: 34.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004181/2.12, allocations: 3.43 MB / 1.136 GB, free: 30.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/2.12, allocations: 0 / 1.136 GB, free: 30.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00433/2.125, allocations: 1.492 MB / 1.137 GB, free: 29.35 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],gasVolatility.rear.n_flow) * Number of discrete variables: 3 ($cse37,$cse30,$cse23) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 131 * 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 {(1,4,100.0%), (5,13,76.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,39), (8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03595/2.161, allocations: 17.35 MB / 1.154 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0166/2.177, allocations: 11.64 MB / 1.166 GB, free: 384 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/2.177, allocations: 0 / 1.166 GB, free: 384 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01176/2.189, allocations: 4.756 MB / 1.17 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/2.193, allocations: 0.7148 MB / 1.171 GB, free: 10.96 MB / 0.5919 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.701471487001982] Failed to read output from testmodel.py, exit status != 0: 2.2013471989994287 2.378487383 1.777425618 Calling exit ...