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.001001/0.001001, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009856/0.0009856, allocations: 165 kB / 23.02 MB, free: 1.555 MB / 18.57 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.048/1.048, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.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.09464/0.09464, allocations: 17.37 MB / 277.3 MB, free: 11.66 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.353e-06/1.353e-06, allocations: 0 / 353.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.082e-05, allocations: 4.984 kB / 353.4 MB, free: 9.992 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.009761/0.009782, allocations: 13.28 MB / 366.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2991/0.3089, allocations: 139.1 MB / 0.4939 GB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.3109, allocations: 43.81 kB / 0.494 GB, free: 11.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002557/0.3135, allocations: 1.182 MB / 0.4951 GB, free: 9.918 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.316, allocations: 1.357 MB / 0.4964 GB, free: 8.551 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.3191, allocations: 1.669 MB / 0.4981 GB, free: 6.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004444/0.3235, allocations: 3.859 MB / 0.5018 GB, free: 3.008 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009004/0.3244, allocations: 0.7138 MB / 0.5025 GB, free: 2.234 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.3265, allocations: 1.953 MB / 0.5044 GB, free: 284 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.3277, allocations: 1.138 MB / 0.5056 GB, free: 15.14 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00035/0.3281, allocations: 340 kB / 0.5059 GB, free: 14.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.3303, allocations: 1.275 MB / 0.5071 GB, free: 13.53 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007885/0.3311, allocations: 1.008 MB / 0.5081 GB, free: 12.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007817/0.3319, allocations: 1.169 MB / 0.5093 GB, free: 11.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.3351, allocations: 4.138 MB / 0.5133 GB, free: 7.191 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3351, allocations: 4 kB / 0.5133 GB, free: 7.188 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3351, allocations: 4 kB / 0.5133 GB, free: 7.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.594e-05/0.3351, allocations: 0 / 0.5133 GB, free: 7.184 MB / 394.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.004033/0.3392, allocations: 4.295 MB / 0.5175 GB, free: 2.828 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3392, allocations: 12.03 kB / 0.5175 GB, free: 2.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.3409, allocations: 1.573 MB / 0.519 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.3424, allocations: 1.511 MB / 0.5205 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/0.3427, allocations: 0.5557 MB / 0.5211 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/0.343, allocations: 328.3 kB / 0.5214 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004244/0.3473, allocations: 4.012 MB / 0.5253 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.3473, allocations: 192 / 0.5253 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.3474, allocations: 128.4 kB / 0.5254 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003283/0.3478, allocations: 0.4995 MB / 0.5259 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00693/0.3547, allocations: 5.652 MB / 0.5314 GB, free: 4.465 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01882/0.3735, allocations: 16.48 MB / 0.5475 GB, free: 3.875 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.3758, allocations: 1.126 MB / 0.5486 GB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.3772, allocations: 0.6445 MB / 0.5492 GB, free: 2.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/0.3787, allocations: 0.7013 MB / 0.5499 GB, free: 1.383 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3787, allocations: 50.64 kB / 0.55 GB, free: 1.324 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 2.816e-06/0.3787, allocations: 4 kB / 0.55 GB, free: 1.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=232): time 0.3081/0.6868, allocations: 20.18 MB / 0.5697 GB, free: 58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07938/0.7662, allocations: 27.82 MB / 0.5969 GB, free: 49.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.768, allocations: 1.576 MB / 0.5984 GB, free: 49.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007655/0.7687, allocations: 67.44 kB / 0.5985 GB, free: 49.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008635/0.7696, allocations: 1.793 MB / 0.6002 GB, free: 49.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008122/0.7704, allocations: 0.8129 MB / 0.601 GB, free: 48.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/0.7718, allocations: 0.7245 MB / 0.6017 GB, free: 48.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.7719, allocations: 478.1 kB / 0.6022 GB, free: 48.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/0.7745, allocations: 1.347 MB / 0.6035 GB, free: 48.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002798/0.7773, allocations: 1.784 MB / 0.6052 GB, free: 47.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008065/0.7854, allocations: 4.708 MB / 0.6098 GB, free: 47.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.7854, allocations: 2.688 kB / 0.6098 GB, free: 47.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01817/0.8035, allocations: 6.143 MB / 0.6158 GB, free: 46.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.8036, allocations: 14.06 kB / 0.6158 GB, free: 46.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.8036, allocations: 11.62 kB / 0.6159 GB, free: 46.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0212/0.8248, allocations: 8.322 MB / 0.624 GB, free: 39.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/0.8282, allocations: 0.9665 MB / 0.6249 GB, free: 38.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/0.8504, allocations: 16.36 MB / 0.6409 GB, free: 22.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/0.8535, allocations: 263.4 kB / 0.6412 GB, free: 21.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006523/0.8542, allocations: 0.5236 MB / 0.6417 GB, free: 21.4 MB / 442.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.001701/0.8559, allocations: 284.1 kB / 0.6419 GB, free: 21.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008572/0.8567, allocations: 290.6 kB / 0.6422 GB, free: 20.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01677/0.8735, allocations: 7.027 MB / 0.6491 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01423/0.8877, allocations: 4.765 MB / 0.6537 GB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.8877, allocations: 5 kB / 0.6537 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.8877, allocations: 13.05 kB / 0.6537 GB, free: 9.082 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02376/0.9115, allocations: 13.22 MB / 0.6667 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.9115, allocations: 4 kB / 0.6667 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002199/0.9137, allocations: 0.5064 MB / 0.6671 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03996/0.9537, allocations: 9.096 MB / 0.676 GB, free: 2.043 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005703/0.9542, allocations: 143.8 kB / 0.6762 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/0.9728, allocations: 11.85 MB / 0.6877 GB, free: 5.664 MB / 474.7 MB 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.04635/1.019, allocations: 14.97 MB / 0.7024 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/1.038, allocations: 6.697 MB / 0.7089 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005867/1.039, allocations: 232.6 kB / 0.7091 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004111/1.039, allocations: 62.41 kB / 0.7092 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/1.041, allocations: 187.7 kB / 0.7094 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006976/1.042, allocations: 271.7 kB / 0.7096 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003482/1.042, allocations: 248.9 kB / 0.7099 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001577/1.044, allocations: 1.213 MB / 0.711 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/1.044, allocations: 0 / 0.711 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003286/1.047, allocations: 1.454 MB / 0.7125 GB, free: 12.03 MB / 0.4948 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.0007805/1.048, allocations: 437.6 kB / 0.7129 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007809/1.055, allocations: 4.209 MB / 0.717 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.055, allocations: 4 kB / 0.717 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005028/1.061, allocations: 2.703 MB / 0.7196 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/1.062, allocations: 0.6505 MB / 0.7203 GB, free: 4.105 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4695:9-4695:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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.860749615356326]