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.001519/0.001519, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001723/0.001723, allocations: 217.5 kB / 23.01 MB, free: 4.609 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.1341/0.1341, allocations: 23.86 MB / 337 MB, free: 11.19 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: translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") [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.002024/0.002024, allocations: 71.91 kB / 472.4 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2907, allocations: 59.86 MB / 0.5198 GB, free: 9.875 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.04338/0.3341, allocations: 34.3 MB / 0.5533 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1763/0.5104, allocations: 148.1 MB / 0.6979 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/0.5136, allocations: 39.81 kB / 0.6979 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003704/0.5173, allocations: 1.262 MB / 0.6992 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004028/0.5213, allocations: 1.299 MB / 0.7004 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004278/0.5256, allocations: 1.681 MB / 0.7021 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006212/0.5318, allocations: 3.72 MB / 0.7057 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.5329, allocations: 0.7215 MB / 0.7064 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.5345, allocations: 1.3 MB / 0.7077 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.5363, allocations: 1.513 MB / 0.7092 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004091/0.5367, allocations: 336 kB / 0.7095 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004103/0.5408, allocations: 1.873 MB / 0.7113 GB, free: 5.355 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008817/0.5417, allocations: 0.9966 MB / 0.7123 GB, free: 4.355 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001873/0.5435, allocations: 1.908 MB / 0.7142 GB, free: 2.438 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007535/0.5511, allocations: 5.729 MB / 0.7198 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5511, allocations: 0 / 0.7198 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5511, allocations: 4 kB / 0.7198 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.786e-05/0.5511, allocations: 0 / 0.7198 GB, free: 12.68 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.006773/0.5579, allocations: 4.01 MB / 0.7237 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.5579, allocations: 8.031 kB / 0.7237 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.5596, allocations: 0.6892 MB / 0.7244 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/0.5622, allocations: 1.711 MB / 0.726 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005063/0.5627, allocations: 0.5597 MB / 0.7266 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004095/0.5631, allocations: 328.3 kB / 0.7269 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2119/0.775, allocations: 12.34 MB / 0.7389 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.173e-05/0.7751, allocations: 0.7031 kB / 0.7389 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.7753, allocations: 129.6 kB / 0.7391 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005172/0.7758, allocations: 0.4904 MB / 0.7395 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01944/0.7953, allocations: 21.36 MB / 0.7604 GB, free: 177.8 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.03182/0.8271, allocations: 31.08 MB / 0.7908 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005512/0.8326, allocations: 5.372 MB / 0.796 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004169/0.8368, allocations: 4.304 MB / 0.8002 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/0.839, allocations: 0.802 MB / 0.801 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.8391, allocations: 47.69 kB / 0.801 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.116e-06/0.8391, allocations: 0 / 0.801 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1485/0.9876, allocations: 48.27 MB / 0.8482 GB, free: 89.57 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.1056/1.093, allocations: 29.46 MB / 0.8769 GB, free: 59.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003746/1.097, allocations: 3.747 MB / 0.8806 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007857/1.098, allocations: 65.69 kB / 0.8807 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008341/1.099, allocations: 1.616 MB / 0.8822 GB, free: 54.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008755/1.099, allocations: 0.8133 MB / 0.883 GB, free: 53.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001778/1.101, allocations: 0.7772 MB / 0.8838 GB, free: 52.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 2.741e-05/1.101, allocations: 303.8 kB / 0.8841 GB, free: 52.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007431/1.109, allocations: 7.497 MB / 0.8914 GB, free: 45.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007731/1.116, allocations: 7.845 MB / 0.8991 GB, free: 37.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2296/1.346, allocations: 44.06 MB / 0.9421 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/1.346, allocations: 4 kB / 0.9421 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.2615/1.607, allocations: 20.72 MB / 0.9623 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/1.608, allocations: 8.875 kB / 0.9623 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/1.608, allocations: 7.906 kB / 0.9623 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03996/1.648, allocations: 10.52 MB / 0.9726 GB, free: 186.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006255/1.654, allocations: 0.9573 MB / 0.9735 GB, free: 186.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05458/1.708, allocations: 41.91 MB / 1.014 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00535/1.714, allocations: 258.3 kB / 1.015 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008761/1.715, allocations: 0.527 MB / 1.015 GB, free: 155.1 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.002141/1.717, allocations: 0.8866 MB / 1.016 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001252/1.718, allocations: 345.9 kB / 1.016 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03582/1.754, allocations: 13.91 MB / 1.03 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03142/1.785, allocations: 11.4 MB / 1.041 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-05/1.785, allocations: 4 kB / 1.041 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.549e-05/1.785, allocations: 15.89 kB / 1.041 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04557/1.831, allocations: 23.48 MB / 1.064 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/1.831, allocations: 4 kB / 1.064 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004243/1.835, allocations: 0.4996 MB / 1.065 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07507/1.91, allocations: 10.88 MB / 1.075 GB, free: 93.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006803/1.911, allocations: 143.8 kB / 1.075 GB, free: 93.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0339/1.945, allocations: 20.1 MB / 1.095 GB, free: 73.11 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.08932/2.034, allocations: 20.26 MB / 1.115 GB, free: 52.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03785/2.072, allocations: 17.78 MB / 1.132 GB, free: 34.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/2.073, allocations: 471.6 kB / 1.133 GB, free: 34.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008325/2.074, allocations: 44 kB / 1.133 GB, free: 34.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004064/2.078, allocations: 187.7 kB / 1.133 GB, free: 34.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008625/2.079, allocations: 292 kB / 1.133 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004002/2.079, allocations: 247.8 kB / 1.133 GB, free: 33.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003288/2.082, allocations: 3.434 MB / 1.137 GB, free: 30.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.082, allocations: 2.656 kB / 1.137 GB, free: 30.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003622/2.086, allocations: 1.486 MB / 1.138 GB, free: 28.72 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.0008682/2.087, allocations: 425.9 kB / 1.139 GB, free: 28.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01708/2.104, allocations: 11.63 MB / 1.15 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/2.104, allocations: 0 / 1.15 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01012/2.114, allocations: 4.75 MB / 1.155 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/2.118, allocations: 0.7309 MB / 1.155 GB, free: 11.31 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: 4.482856339076534] Failed to read output from testmodel.py, exit status != 0: 2.126248963875696 2.136480204 1.582398635 Calling exit ...