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.0009884/0.0009884, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001241/0.001241, allocations: 173 kB / 23.36 MB, free: 1.133 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.094/1.094, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.09784/0.09784, allocations: 17.38 MB / 277.6 MB, free: 11.53 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.693e-06/1.693e-06, allocations: 0 / 300.6 MB, free: 1.902 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.764e-05, allocations: 2.859 kB / 300.6 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01636/0.01639, allocations: 13.04 MB / 313.7 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.35/0.3664, allocations: 138.6 MB / 452.3 MB, free: 8.145 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.3684, allocations: 42.5 kB / 452.3 MB, free: 8.145 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00291/0.3713, allocations: 1.229 MB / 453.6 MB, free: 8.113 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.3744, allocations: 1.349 MB / 454.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.3776, allocations: 1.674 MB / 456.6 MB, free: 8.074 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004008/0.3816, allocations: 3.86 MB / 460.4 MB, free: 7.422 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009315/0.3825, allocations: 0.7506 MB / 461.2 MB, free: 7.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.3843, allocations: 1.952 MB / 463.1 MB, free: 7.016 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.3854, allocations: 1.14 MB / 464.3 MB, free: 6.887 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004591/0.3859, allocations: 340.6 kB / 464.6 MB, free: 6.883 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.3883, allocations: 1.308 MB / 465.9 MB, free: 6.855 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004213/0.3887, allocations: 1.002 MB / 466.9 MB, free: 6.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007525/0.3895, allocations: 1.173 MB / 468.1 MB, free: 6.512 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.3925, allocations: 4.142 MB / 472.2 MB, free: 5.941 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3925, allocations: 0 / 472.2 MB, free: 5.941 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3925, allocations: 1.031 kB / 472.2 MB, free: 5.941 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.753e-05/0.3925, allocations: 3.125 kB / 472.2 MB, free: 5.941 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.003348/0.3959, allocations: 3.937 MB / 476.2 MB, free: 4.242 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3959, allocations: 9.688 kB / 476.2 MB, free: 4.242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.3977, allocations: 1.411 MB / 477.6 MB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.399, allocations: 1.197 MB / 478.8 MB, free: 3.711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.3993, allocations: 0.5517 MB / 479.4 MB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.3996, allocations: 326.3 kB / 479.7 MB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/0.4035, allocations: 3.485 MB / 483.2 MB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.804e-05/0.4036, allocations: 192 / 483.2 MB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/0.4037, allocations: 131.8 kB / 483.3 MB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003188/0.404, allocations: 0.4924 MB / 483.8 MB, free: 3.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/0.4074, allocations: 4.267 MB / 488 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.4232, allocations: 12.99 MB / 0.4893 GB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.425, allocations: 0.9145 MB / 0.4902 GB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008777/0.4258, allocations: 440.3 kB / 0.4906 GB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009813/0.4268, allocations: 0.6924 MB / 0.4913 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.4268, allocations: 49.28 kB / 0.4913 GB, free: 1.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.917e-06/0.4269, allocations: 4.875 kB / 0.4913 GB, free: 1.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=232): time 0.07355/0.5004, allocations: 16.73 MB / 0.5077 GB, free: 7.375 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06782/0.5682, allocations: 20.88 MB / 0.5281 GB, free: 2.363 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.5698, allocations: 1.354 MB / 0.5294 GB, free: 1.215 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009886/0.5708, allocations: 65.83 kB / 0.5294 GB, free: 1.145 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007091/0.5715, allocations: 1.407 MB / 0.5308 GB, free: 15.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008885/0.5724, allocations: 0.8158 MB / 0.5316 GB, free: 15.03 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/0.5737, allocations: 0.571 MB / 0.5322 GB, free: 14.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.5738, allocations: 305.1 kB / 0.5325 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/0.5761, allocations: 1.05 MB / 0.5335 GB, free: 13.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.5785, allocations: 1.401 MB / 0.5349 GB, free: 11.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006651/0.5852, allocations: 3.955 MB / 0.5387 GB, free: 7.688 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.5852, allocations: 4 kB / 0.5387 GB, free: 7.684 MB / 458.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01503/0.6002, allocations: 4.441 MB / 0.5431 GB, free: 3.297 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.6002, allocations: 8 kB / 0.5431 GB, free: 3.289 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.6002, allocations: 8 kB / 0.5431 GB, free: 3.281 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02058/0.6208, allocations: 7.709 MB / 0.5506 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004097/0.6249, allocations: 1.016 MB / 0.5516 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01962/0.6445, allocations: 11.71 MB / 0.563 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.6471, allocations: 103.9 kB / 0.5631 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00062/0.6477, allocations: 499.7 kB / 0.5636 GB, free: 14.14 MB / 490.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.001599/0.6493, allocations: 248.6 kB / 0.5639 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007543/0.6501, allocations: 195.8 kB / 0.564 GB, free: 13.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/0.664, allocations: 5.263 MB / 0.5692 GB, free: 8.559 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01092/0.6749, allocations: 3.126 MB / 0.5722 GB, free: 5.461 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.6749, allocations: 8 kB / 0.5722 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.6749, allocations: 11.95 kB / 0.5723 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01895/0.6939, allocations: 8.088 MB / 0.5801 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.6939, allocations: 8.062 kB / 0.5802 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/0.6963, allocations: 0.5941 MB / 0.5807 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03472/0.731, allocations: 7.733 MB / 0.5883 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006592/0.7317, allocations: 111.8 kB / 0.5884 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.7463, allocations: 8.418 MB / 0.5966 GB, free: 12.58 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.04931/0.7956, allocations: 11.47 MB / 0.6078 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01769/0.8133, allocations: 4.713 MB / 0.6124 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.8138, allocations: 211.1 kB / 0.6126 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004977/0.8143, allocations: 48 kB / 0.6127 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/0.8161, allocations: 75.95 kB / 0.6127 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007271/0.8168, allocations: 235.7 kB / 0.613 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003107/0.8172, allocations: 219.8 kB / 0.6132 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007836/0.8179, allocations: 0.794 MB / 0.6139 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8179, allocations: 0 / 0.6139 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003289/0.8212, allocations: 1.463 MB / 0.6154 GB, free: 9.367 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.0007023/0.8219, allocations: 431.3 kB / 0.6158 GB, free: 9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00614/0.8281, allocations: 3.264 MB / 0.619 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-05/0.8281, allocations: 20.5 kB / 0.619 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0036/0.8317, allocations: 2.058 MB / 0.621 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.8333, allocations: 0.616 MB / 0.6216 GB, free: 3.148 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4069:9-4069:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:791:5-791: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.896917653735727]