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.0009156/0.0009156, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001987, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007007/0.0007007, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009019/0.001603, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.8873/0.8873, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08332/0.9706, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.08803/0.08803, allocations: 17.37 MB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01086/0.09889, allocations: 6.925 MB / 268.3 MB, free: 6.523 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 269.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.51e-05, allocations: 2.312 kB / 269.5 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.1319/0.1319, allocations: 13.13 MB / 282.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1362/0.2681, allocations: 139.1 MB / 421.8 MB, free: 9.988 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.27, allocations: 43.75 kB / 421.8 MB, free: 9.945 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.2725, allocations: 1.226 MB / 423 MB, free: 8.711 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.2749, allocations: 1.341 MB / 424.4 MB, free: 7.359 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.2776, allocations: 1.676 MB / 426 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.2808, allocations: 3.826 MB / 429.9 MB, free: 1.844 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007331/0.2815, allocations: 0.7531 MB / 430.6 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1689/0.4504, allocations: 2.121 MB / 432.7 MB, free: 6.039 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.453, allocations: 1.139 MB / 433.9 MB, free: 6.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009215/0.4539, allocations: 335.5 kB / 434.2 MB, free: 6.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003811/0.4577, allocations: 1.315 MB / 435.5 MB, free: 6.039 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009304/0.4587, allocations: 0.8351 MB / 436.4 MB, free: 6.039 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002239/0.4609, allocations: 0.9787 MB / 437.3 MB, free: 6.039 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0074/0.4683, allocations: 3.854 MB / 441.2 MB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.183e-05/0.4683, allocations: 0 / 441.2 MB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4683, allocations: 0 / 441.2 MB, free: 5.738 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00018/0.4685, allocations: 0.875 kB / 441.2 MB, free: 5.738 MB / 410.7 MB 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.006259/0.4748, allocations: 4.652 MB / 445.8 MB, free: 4.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.4748, allocations: 10.44 kB / 445.9 MB, free: 4.047 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.4765, allocations: 1.497 MB / 447.3 MB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.4784, allocations: 1.197 MB / 448.5 MB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003101/0.4787, allocations: 0.5576 MB / 449.1 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/0.4789, allocations: 322.7 kB / 449.4 MB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003416/0.4823, allocations: 3.483 MB / 452.9 MB, free: 2.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.058e-05/0.4824, allocations: 4.109 kB / 452.9 MB, free: 2.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.4825, allocations: 135.4 kB / 453 MB, free: 2.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003522/0.4829, allocations: 0.4896 MB / 453.5 MB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003776/0.4867, allocations: 4.272 MB / 457.8 MB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02071/0.5074, allocations: 13.03 MB / 470.8 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.5093, allocations: 0.9134 MB / 471.7 MB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.5104, allocations: 443.5 kB / 472.2 MB, free: 1.418 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/0.5116, allocations: 0.6937 MB / 472.9 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.5116, allocations: 44.12 kB / 472.9 MB, free: 1.332 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.628e-06/0.5116, allocations: 0 / 472.9 MB, free: 1.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=232): time 0.07315/0.5848, allocations: 16.75 MB / 489.7 MB, free: 10.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0632/0.6479, allocations: 20.94 MB / 0.4986 GB, free: 9.156 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.6498, allocations: 1.371 MB / 0.5 GB, free: 7.992 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008702/0.6507, allocations: 62.48 kB / 0.5 GB, free: 7.926 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007233/0.6514, allocations: 1.401 MB / 0.5014 GB, free: 6.586 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008953/0.6523, allocations: 0.8077 MB / 0.5022 GB, free: 5.828 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.6535, allocations: 0.5801 MB / 0.5028 GB, free: 5.293 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.6536, allocations: 305.1 kB / 0.503 GB, free: 4.992 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/0.656, allocations: 1.047 MB / 0.5041 GB, free: 3.941 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.6582, allocations: 1.399 MB / 0.5054 GB, free: 2.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006116/0.6643, allocations: 3.961 MB / 0.5093 GB, free: 14.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6643, allocations: 0 / 0.5093 GB, free: 14.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01422/0.6785, allocations: 4.454 MB / 0.5137 GB, free: 10.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.6785, allocations: 8 kB / 0.5137 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.6786, allocations: 8 kB / 0.5137 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01975/0.6983, allocations: 7.72 MB / 0.5212 GB, free: 2.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004381/0.7027, allocations: 1.172 MB / 0.5223 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01854/0.7212, allocations: 11.75 MB / 0.5338 GB, free: 5.344 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/0.7239, allocations: 107.9 kB / 0.5339 GB, free: 5.238 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006158/0.7245, allocations: 0.4958 MB / 0.5344 GB, free: 4.742 MB / 474.7 MB 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.001704/0.7262, allocations: 232.2 kB / 0.5346 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000869/0.7271, allocations: 193.7 kB / 0.5348 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/0.7402, allocations: 5.275 MB / 0.54 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01006/0.7502, allocations: 3.129 MB / 0.543 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/0.7503, allocations: 8 kB / 0.543 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.651e-05/0.7503, allocations: 11.95 kB / 0.543 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01982/0.7701, allocations: 8.093 MB / 0.5509 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.7701, allocations: 8.094 kB / 0.551 GB, free: 4.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002891/0.773, allocations: 0.6635 MB / 0.5516 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006197/0.7736, allocations: 205.5 kB / 0.5518 GB, free: 3.289 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03387/0.8075, allocations: 7.765 MB / 0.5594 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007111/0.8082, allocations: 103.9 kB / 0.5595 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/0.8219, allocations: 8.431 MB / 0.5677 GB, free: 2.918 MB / 0.4948 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.03907/0.861, allocations: 11.49 MB / 0.5789 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03851/0.8995, allocations: 4.719 MB / 0.5835 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/0.9005, allocations: 59.88 kB / 0.5836 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008314/0.9088, allocations: 71.97 kB / 0.5837 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008491/0.9097, allocations: 240 kB / 0.5839 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004392/0.9101, allocations: 223.9 kB / 0.5841 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007083/0.9172, allocations: 0.7971 MB / 0.5849 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9172, allocations: 0 / 0.5849 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009131/0.9263, allocations: 1.455 MB / 0.5863 GB, free: 15.91 MB / 0.5261 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.001085/0.9274, allocations: 437.7 kB / 0.5867 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00817/0.9356, allocations: 3.271 MB / 0.5899 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 0.0001307/0.9357, allocations: 35.42 kB / 0.59 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006172/0.9419, allocations: 2.054 MB / 0.592 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/0.945, allocations: 0.8736 MB / 0.5928 GB, free: 9.426 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4143:9-4143:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:784:5-784:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.3613267559558153]