Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterVaporization.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.001576/0.001576, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001724/0.001724, allocations: 214.7 kB / 22.3 MB, free: 5.281 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.538/1.538, allocations: 230.6 MB / 256.1 MB, free: 7.734 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.1577/0.1577, allocations: 23.88 MB / 336.4 MB, free: 10.89 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.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") [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.002461/0.002461, allocations: 66.56 kB / 471.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4139, allocations: 59.86 MB / 0.5191 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01402/0.4279, allocations: 11.55 MB / 0.5304 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2103/0.6382, allocations: 126.1 MB / 0.6536 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004729/0.643, allocations: 39.81 kB / 0.6536 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005658/0.6486, allocations: 1.171 MB / 0.6548 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007124/0.6558, allocations: 1.307 MB / 0.656 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006459/0.6622, allocations: 1.603 MB / 0.6576 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008753/0.671, allocations: 3.727 MB / 0.6612 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.6724, allocations: 0.7096 MB / 0.6619 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.6748, allocations: 1.284 MB / 0.6632 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.6772, allocations: 1.31 MB / 0.6645 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005455/0.6777, allocations: 336 kB / 0.6648 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004406/0.6821, allocations: 1.272 MB / 0.666 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009631/0.6831, allocations: 0.9849 MB / 0.667 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.685, allocations: 1.457 MB / 0.6684 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.6953, allocations: 5.581 MB / 0.6739 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.6953, allocations: 4 kB / 0.6739 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6953, allocations: 0 / 0.6739 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001407/0.6955, allocations: 0 / 0.6739 GB, free: 10.65 MB / 0.5137 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.008241/0.7037, allocations: 4.006 MB / 0.6778 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.7038, allocations: 8.031 kB / 0.6778 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002722/0.7065, allocations: 0.7867 MB / 0.6786 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/0.7101, allocations: 1.727 MB / 0.6802 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007159/0.7109, allocations: 0.5597 MB / 0.6808 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000604/0.7115, allocations: 332.3 kB / 0.6811 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.7287, allocations: 12.37 MB / 0.6932 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.808e-05/0.7288, allocations: 3.938 kB / 0.6932 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002707/0.729, allocations: 136 kB / 0.6933 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005791/0.7296, allocations: 495.5 kB / 0.6938 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02627/0.7559, allocations: 21.37 MB / 0.7147 GB, free: 0.7148 MB / 0.545 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.31/1.066, allocations: 27.94 MB / 0.7419 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00717/1.073, allocations: 5.385 MB / 0.7472 GB, free: 181 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00559/1.079, allocations: 4.339 MB / 0.7514 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002092/1.081, allocations: 0.707 MB / 0.7521 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/1.081, allocations: 46.2 kB / 0.7522 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 4.679e-06/1.081, allocations: 2.953 kB / 0.7522 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1494/1.23, allocations: 48.49 MB / 0.7995 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1666/1.397, allocations: 60.38 MB / 0.8585 GB, free: 79.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/1.399, allocations: 1.807 MB / 0.8603 GB, free: 77.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001126/1.4, allocations: 65.22 kB / 0.8603 GB, free: 77.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007965/1.401, allocations: 1.662 MB / 0.8619 GB, free: 76.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001305/1.402, allocations: 0.8219 MB / 0.8627 GB, free: 75.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00181/1.404, allocations: 0.785 MB / 0.8635 GB, free: 74.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.324e-05/1.404, allocations: 301.1 kB / 0.8638 GB, free: 74.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008024/1.412, allocations: 7.536 MB / 0.8712 GB, free: 67.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008541/1.421, allocations: 7.87 MB / 0.8788 GB, free: 59.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2155/1.636, allocations: 42.92 MB / 0.9208 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/1.636, allocations: 0 / 0.9208 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04571/1.682, allocations: 20.7 MB / 0.941 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/1.682, allocations: 8 kB / 0.941 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/1.682, allocations: 11.98 kB / 0.941 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04305/1.725, allocations: 10.55 MB / 0.9513 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3358/2.061, allocations: 0.9725 MB / 0.9522 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07008/2.131, allocations: 41.26 MB / 0.9925 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005481/2.136, allocations: 274.2 kB / 0.9928 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/2.137, allocations: 0.5223 MB / 0.9933 GB, free: 176.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 {(3,5,88.9%), (1,4,100.0%), (5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,8), (2,1), (6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002382/2.14, allocations: 0.8976 MB / 0.9942 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009724/2.141, allocations: 212.2 kB / 0.9944 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03532/2.176, allocations: 13.89 MB / 1.008 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03148/2.207, allocations: 11.46 MB / 1.019 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.839e-05/2.207, allocations: 8 kB / 1.019 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.37e-05/2.208, allocations: 19.06 kB / 1.019 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04466/2.252, allocations: 22.02 MB / 1.041 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.229e-05/2.252, allocations: 4 kB / 1.041 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004731/2.257, allocations: 0.5135 MB / 1.041 GB, free: 132 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07604/2.333, allocations: 10.99 MB / 1.052 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00103/2.334, allocations: 138.2 kB / 1.052 GB, free: 121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03527/2.369, allocations: 19.63 MB / 1.071 GB, free: 101 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.09276/2.462, allocations: 20.01 MB / 1.091 GB, free: 80.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03962/2.502, allocations: 17.75 MB / 1.108 GB, free: 62.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007005/2.502, allocations: 244.6 kB / 1.108 GB, free: 62.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008771/2.503, allocations: 53.92 kB / 1.108 GB, free: 62.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004173/2.507, allocations: 203.7 kB / 1.109 GB, free: 62.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001238/2.509, allocations: 289.4 kB / 1.109 GB, free: 62.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004472/2.509, allocations: 247.8 kB / 1.109 GB, free: 61.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002039/2.511, allocations: 2.037 MB / 1.111 GB, free: 59.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/2.511, allocations: 0 / 1.111 GB, free: 59.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004294/2.515, allocations: 1.46 MB / 1.113 GB, free: 58.39 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 ($cse53,$cse46,$cse39) * 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.000996/2.516, allocations: 428.1 kB / 1.113 GB, free: 58.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01776/2.534, allocations: 11.69 MB / 1.124 GB, free: 46.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/2.534, allocations: 0 / 1.124 GB, free: 46.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01037/2.545, allocations: 4.788 MB / 1.129 GB, free: 41.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/2.548, allocations: 499.2 kB / 1.129 GB, free: 41.04 MB / 0.5762 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.228188911452889] Failed to read output from testmodel.py, exit status != 0: 2.5576626267284155 2.567575315 1.86946037 Calling exit ...