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.001953/0.001953, allocations: 93.47 kB / 19.44 MB, free: 336 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.002192/0.002192, allocations: 169.6 kB / 22.76 MB, free: 1.66 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.1509/0.1509, allocations: 17.37 MB / 276.9 MB, free: 11.69 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.743e-06/1.743e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.199e-05, allocations: 2.312 kB / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01988/0.01991, allocations: 13.15 MB / 365.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3912/0.4111, allocations: 138.7 MB / 0.4928 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002992/0.4141, allocations: 43.81 kB / 0.4928 GB, free: 11.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005163/0.4193, allocations: 1.178 MB / 0.4939 GB, free: 10.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005577/0.4249, allocations: 1.361 MB / 0.4953 GB, free: 9.078 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004991/0.4299, allocations: 1.665 MB / 0.4969 GB, free: 7.406 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007311/0.4372, allocations: 3.827 MB / 0.5006 GB, free: 3.566 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.4386, allocations: 0.7172 MB / 0.5013 GB, free: 2.789 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.4423, allocations: 1.961 MB / 0.5032 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.4444, allocations: 1.133 MB / 0.5044 GB, free: 15.69 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005322/0.445, allocations: 336 kB / 0.5047 GB, free: 15.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.4487, allocations: 1.275 MB / 0.5059 GB, free: 14.08 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.4498, allocations: 1.004 MB / 0.5069 GB, free: 13.07 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001955/0.4517, allocations: 1.169 MB / 0.508 GB, free: 11.9 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009673/0.4614, allocations: 5.577 MB / 0.5135 GB, free: 6.309 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.4614, allocations: 11.98 kB / 0.5135 GB, free: 6.297 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4614, allocations: 0 / 0.5135 GB, free: 6.297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001491/0.4615, allocations: 0 / 0.5135 GB, free: 6.297 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.009056/0.4706, allocations: 4.558 MB / 0.518 GB, free: 1.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.4706, allocations: 8.031 kB / 0.518 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/0.4741, allocations: 1.577 MB / 0.5195 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00321/0.4773, allocations: 1.53 MB / 0.521 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007264/0.4781, allocations: 0.5558 MB / 0.5215 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005162/0.4786, allocations: 328.3 kB / 0.5219 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007999/0.4866, allocations: 4.37 MB / 0.5261 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-05/0.4866, allocations: 4.188 kB / 0.5261 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.4869, allocations: 132.4 kB / 0.5262 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006142/0.4875, allocations: 0.4917 MB / 0.5267 GB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.5033, allocations: 9.197 MB / 0.5357 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0417/0.545, allocations: 21.14 MB / 0.5564 GB, free: 9.801 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004609/0.5496, allocations: 1.814 MB / 0.5581 GB, free: 7.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/0.5527, allocations: 1.246 MB / 0.5593 GB, free: 6.734 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002146/0.5549, allocations: 0.6935 MB / 0.56 GB, free: 6.039 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.5549, allocations: 54.69 kB / 0.5601 GB, free: 5.973 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 4.118e-06/0.5549, allocations: 0 / 0.5601 GB, free: 5.973 MB / 442.7 MB Notification: Performance of matching and sorting (n=232): time 0.438/0.9929, allocations: 25.41 MB / 0.5849 GB, free: 56.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1616/1.154, allocations: 35.04 MB / 0.6191 GB, free: 43.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/1.157, allocations: 1.901 MB / 0.621 GB, free: 41.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001107/1.158, allocations: 62.58 kB / 0.621 GB, free: 41.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/1.159, allocations: 1.862 MB / 0.6228 GB, free: 39.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001357/1.161, allocations: 0.8649 MB / 0.6237 GB, free: 38.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001914/1.163, allocations: 0.8064 MB / 0.6245 GB, free: 37.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.819e-05/1.163, allocations: 476.8 kB / 0.6249 GB, free: 37.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004525/1.167, allocations: 2.387 MB / 0.6273 GB, free: 35.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004928/1.172, allocations: 2.896 MB / 0.6301 GB, free: 32.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/1.186, allocations: 7.574 MB / 0.6375 GB, free: 24.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/1.186, allocations: 4 kB / 0.6375 GB, free: 24.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.03717/1.223, allocations: 8.685 MB / 0.646 GB, free: 15.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/1.223, allocations: 13.09 kB / 0.646 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/1.223, allocations: 8.781 kB / 0.646 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04292/1.266, allocations: 9.125 MB / 0.6549 GB, free: 6.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006523/1.273, allocations: 0.9682 MB / 0.6558 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05346/1.326, allocations: 21.87 MB / 0.6772 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005691/1.332, allocations: 263.6 kB / 0.6775 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/1.333, allocations: 0.5309 MB / 0.678 GB, free: 14.68 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.002467/1.336, allocations: 0.5217 MB / 0.6785 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00159/1.337, allocations: 290.6 kB / 0.6788 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03965/1.377, allocations: 9.089 MB / 0.6876 GB, free: 4.797 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0329/1.41, allocations: 6.703 MB / 0.6942 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-05/1.41, allocations: 9.203 kB / 0.6942 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.57e-05/1.41, allocations: 11.95 kB / 0.6942 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05336/1.463, allocations: 16.05 MB / 0.7099 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.091e-05/1.463, allocations: 4 kB / 0.7099 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004823/1.468, allocations: 0.4967 MB / 0.7104 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08893/1.557, allocations: 9.742 MB / 0.7199 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001209/1.558, allocations: 139.9 kB / 0.72 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04212/1.6, allocations: 15.75 MB / 0.7354 GB, free: 3.18 MB / 0.5105 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.1009/1.701, allocations: 17.05 MB / 0.752 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2053/1.907, allocations: 9.992 MB / 0.7618 GB, free: 244.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008019/1.907, allocations: 237.2 kB / 0.762 GB, free: 244.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008435/1.908, allocations: 56.78 kB / 0.7621 GB, free: 244.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004019/1.912, allocations: 184.6 kB / 0.7622 GB, free: 244.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/1.913, allocations: 291.4 kB / 0.7625 GB, free: 244.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004687/1.914, allocations: 256.3 kB / 0.7628 GB, free: 244.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001717/1.916, allocations: 1.435 MB / 0.7642 GB, free: 244.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/1.916, allocations: 0 / 0.7642 GB, free: 244.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004348/1.92, allocations: 1.458 MB / 0.7656 GB, free: 244.2 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.0009743/1.921, allocations: 421.2 kB / 0.766 GB, free: 244.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01403/1.935, allocations: 6.073 MB / 0.7719 GB, free: 243.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.935, allocations: 0 / 0.7719 GB, free: 243.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009743/1.945, allocations: 3.476 MB / 0.7753 GB, free: 242.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/1.948, allocations: 0.6568 MB / 0.776 GB, free: 242.4 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4687:9-4687:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:848:5-848: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.366370953968726]