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.0009664/0.0009664, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001278/0.001278, allocations: 173 kB / 23.5 MB, free: 1.051 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 0.9908/0.9908, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.0944/0.0944, allocations: 17.38 MB / 277.7 MB, free: 11.68 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.523e-06/1.523e-06, allocations: 0 / 353.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.829e-05, allocations: 2.312 kB / 353.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.009966/0.009994, allocations: 13.17 MB / 366.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2864/0.2964, allocations: 138.7 MB / 0.4935 GB, free: 11.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.2986, allocations: 39.81 kB / 0.4936 GB, free: 11.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.3013, allocations: 1.174 MB / 0.4947 GB, free: 10.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00303/0.3044, allocations: 1.361 MB / 0.496 GB, free: 9.074 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.3076, allocations: 1.661 MB / 0.4977 GB, free: 7.406 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004842/0.3124, allocations: 3.845 MB / 0.5014 GB, free: 3.551 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009486/0.3134, allocations: 0.7177 MB / 0.5021 GB, free: 2.773 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.3156, allocations: 1.953 MB / 0.504 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.3169, allocations: 1.133 MB / 0.5051 GB, free: 15.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007915/0.3177, allocations: 336 kB / 0.5055 GB, free: 15.35 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.3201, allocations: 1.279 MB / 0.5067 GB, free: 14.07 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005575/0.3207, allocations: 1.004 MB / 0.5077 GB, free: 13.06 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.322, allocations: 1.169 MB / 0.5088 GB, free: 11.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005832/0.3279, allocations: 4.142 MB / 0.5129 GB, free: 7.734 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3279, allocations: 0 / 0.5129 GB, free: 7.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.3279, allocations: 0 / 0.5129 GB, free: 7.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001971/0.3281, allocations: 0 / 0.5129 GB, free: 7.734 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.005739/0.3338, allocations: 4.306 MB / 0.5171 GB, free: 3.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3339, allocations: 8.031 kB / 0.5171 GB, free: 3.359 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.336, allocations: 1.573 MB / 0.5186 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.3386, allocations: 1.511 MB / 0.5201 GB, free: 240 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004084/0.339, allocations: 0.5558 MB / 0.5206 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002993/0.3393, allocations: 328.2 kB / 0.5209 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005444/0.3447, allocations: 4.011 MB / 0.5249 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/0.3448, allocations: 192 / 0.5249 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.345, allocations: 132.3 kB / 0.525 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004861/0.3455, allocations: 0.4995 MB / 0.5255 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008435/0.3539, allocations: 5.645 MB / 0.531 GB, free: 5.012 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0257/0.3796, allocations: 16.48 MB / 0.5471 GB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/0.3829, allocations: 1.131 MB / 0.5482 GB, free: 3.277 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/0.3847, allocations: 0.6484 MB / 0.5488 GB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.3859, allocations: 0.7013 MB / 0.5495 GB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.386, allocations: 50.7 kB / 0.5496 GB, free: 1.863 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 4.509e-06/0.386, allocations: 0 / 0.5496 GB, free: 1.863 MB / 426.7 MB Notification: Performance of matching and sorting (n=232): time 0.2343/0.6203, allocations: 20.18 MB / 0.5693 GB, free: 169.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07875/0.6991, allocations: 27.83 MB / 0.5964 GB, free: 153.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.7005, allocations: 1.578 MB / 0.598 GB, free: 152.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008726/0.7014, allocations: 61.7 kB / 0.598 GB, free: 152.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006569/0.702, allocations: 1.796 MB / 0.5998 GB, free: 150.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007759/0.7028, allocations: 0.8118 MB / 0.6006 GB, free: 150.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/0.704, allocations: 0.722 MB / 0.6013 GB, free: 149.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.715e-05/0.7041, allocations: 484.7 kB / 0.6018 GB, free: 149 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/0.7066, allocations: 1.34 MB / 0.6031 GB, free: 147.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/0.7094, allocations: 1.782 MB / 0.6048 GB, free: 145.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007514/0.7169, allocations: 4.712 MB / 0.6094 GB, free: 140.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.7169, allocations: 4 kB / 0.6094 GB, free: 140.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01862/0.7355, allocations: 6.138 MB / 0.6154 GB, free: 134.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.7355, allocations: 8 kB / 0.6154 GB, free: 134.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.7355, allocations: 11.94 kB / 0.6154 GB, free: 134.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02187/0.7574, allocations: 8.334 MB / 0.6236 GB, free: 126.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003593/0.761, allocations: 0.9714 MB / 0.6245 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02382/0.7848, allocations: 16.35 MB / 0.6405 GB, free: 108.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/0.7878, allocations: 259.6 kB / 0.6407 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000609/0.7884, allocations: 0.5309 MB / 0.6412 GB, free: 107.8 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.001624/0.7901, allocations: 279.8 kB / 0.6415 GB, free: 107.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009664/0.791, allocations: 294.5 kB / 0.6418 GB, free: 107.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01668/0.8077, allocations: 7.023 MB / 0.6486 GB, free: 100.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0146/0.8223, allocations: 4.77 MB / 0.6533 GB, free: 95.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/0.8223, allocations: 12 kB / 0.6533 GB, free: 95.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.551e-05/0.8224, allocations: 11.95 kB / 0.6533 GB, free: 95.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02362/0.846, allocations: 13.2 MB / 0.6662 GB, free: 81.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/0.846, allocations: 4 kB / 0.6662 GB, free: 81.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002416/0.8484, allocations: 0.4998 MB / 0.6667 GB, free: 81.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04034/0.8888, allocations: 9.109 MB / 0.6756 GB, free: 72.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006904/0.8895, allocations: 139.9 kB / 0.6757 GB, free: 71.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01728/0.9067, allocations: 11.87 MB / 0.6873 GB, free: 59.67 MB / 442.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.04467/0.9514, allocations: 14.95 MB / 0.7019 GB, free: 44.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/0.9698, allocations: 6.692 MB / 0.7085 GB, free: 37.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005786/0.9704, allocations: 238.5 kB / 0.7087 GB, free: 37.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006381/0.971, allocations: 50.11 kB / 0.7087 GB, free: 37.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/0.9736, allocations: 195.7 kB / 0.7089 GB, free: 37.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/0.9746, allocations: 273.4 kB / 0.7092 GB, free: 36.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004324/0.9751, allocations: 243.8 kB / 0.7094 GB, free: 36.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001407/0.9765, allocations: 1.213 MB / 0.7106 GB, free: 35.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.9765, allocations: 0 / 0.7106 GB, free: 35.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003808/0.9803, allocations: 1.461 MB / 0.712 GB, free: 33.97 MB / 442.7 MB 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.0009376/0.9812, allocations: 424.4 kB / 0.7124 GB, free: 33.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009619/0.9908, allocations: 4.223 MB / 0.7166 GB, free: 29.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.9909, allocations: 0 / 0.7166 GB, free: 29.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006146/0.997, allocations: 2.712 MB / 0.7192 GB, free: 26.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.9994, allocations: 0.649 MB / 0.7198 GB, free: 25.96 MB / 442.7 MB [/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.8045061621814966]