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.001225/0.001225, 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.001429/0.001429, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.049/1.049, allocations: 177.1 MB / 203.4 MB, free: 5.57 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.1361/0.1361, allocations: 17.38 MB / 277.3 MB, free: 11.64 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 2.023e-06/2.023e-06, allocations: 0 / 353.4 MB, free: 9.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.279e-05, allocations: 2.312 kB / 353.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01152/0.01155, allocations: 13.27 MB / 366.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3629/0.3744, allocations: 139.1 MB / 0.4939 GB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002809/0.3772, allocations: 39.81 kB / 0.494 GB, free: 11.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00354/0.3808, allocations: 1.183 MB / 0.4951 GB, free: 9.906 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004112/0.3849, allocations: 1.353 MB / 0.4964 GB, free: 8.543 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003955/0.3888, allocations: 1.676 MB / 0.4981 GB, free: 6.859 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006223/0.395, allocations: 3.851 MB / 0.5018 GB, free: 3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.3964, allocations: 0.7177 MB / 0.5025 GB, free: 2.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003943/0.4004, allocations: 1.961 MB / 0.5045 GB, free: 264 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.4023, allocations: 1.13 MB / 0.5056 GB, free: 15.12 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009244/0.4033, allocations: 336 kB / 0.5059 GB, free: 14.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.4071, allocations: 1.275 MB / 0.5071 GB, free: 13.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007975/0.4079, allocations: 1.008 MB / 0.5081 GB, free: 12.51 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.4104, allocations: 1.169 MB / 0.5093 GB, free: 11.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007201/0.4176, allocations: 4.142 MB / 0.5133 GB, free: 7.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4176, allocations: 0 / 0.5133 GB, free: 7.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4176, allocations: 0 / 0.5133 GB, free: 7.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001662/0.4178, allocations: 4 kB / 0.5133 GB, free: 7.176 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.006005/0.4238, allocations: 4.298 MB / 0.5175 GB, free: 2.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.4238, allocations: 11.97 kB / 0.5175 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/0.4264, allocations: 1.573 MB / 0.519 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.4284, allocations: 1.511 MB / 0.5205 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007052/0.4291, allocations: 0.5519 MB / 0.5211 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/0.4294, allocations: 332.2 kB / 0.5214 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00507/0.4345, allocations: 4.016 MB / 0.5253 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.77e-05/0.4345, allocations: 192 / 0.5253 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.4347, allocations: 132.3 kB / 0.5254 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003611/0.4351, allocations: 499.5 kB / 0.5259 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00661/0.4417, allocations: 5.659 MB / 0.5314 GB, free: 4.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02272/0.4644, allocations: 16.47 MB / 0.5475 GB, free: 3.867 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.4666, allocations: 1.134 MB / 0.5486 GB, free: 2.719 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.4681, allocations: 0.6484 MB / 0.5493 GB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/0.4694, allocations: 0.7013 MB / 0.5499 GB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.4694, allocations: 46.7 kB / 0.55 GB, free: 1.309 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 5.29e-06/0.4694, allocations: 4 kB / 0.55 GB, free: 1.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=232): time 0.2904/0.7598, allocations: 20.18 MB / 0.5697 GB, free: 57.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.08473/0.8445, allocations: 27.82 MB / 0.5969 GB, free: 49.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.8462, allocations: 1.575 MB / 0.5984 GB, free: 49.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008161/0.847, allocations: 65.52 kB / 0.5985 GB, free: 49.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007588/0.8478, allocations: 1.796 MB / 0.6002 GB, free: 49.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007792/0.8486, allocations: 0.8068 MB / 0.601 GB, free: 48.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/0.8501, allocations: 0.7286 MB / 0.6017 GB, free: 48.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.8501, allocations: 479.7 kB / 0.6022 GB, free: 48.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002492/0.8526, allocations: 1.348 MB / 0.6035 GB, free: 48.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.8552, allocations: 1.787 MB / 0.6052 GB, free: 47.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007323/0.8625, allocations: 4.709 MB / 0.6098 GB, free: 47.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.8626, allocations: 3.625 kB / 0.6098 GB, free: 47.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01736/0.8799, allocations: 6.137 MB / 0.6158 GB, free: 46.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.8799, allocations: 18.39 kB / 0.6158 GB, free: 46.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.88, allocations: 7.562 kB / 0.6158 GB, free: 46.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02093/0.9009, allocations: 8.322 MB / 0.624 GB, free: 39.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/0.9045, allocations: 0.9682 MB / 0.6249 GB, free: 38.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02624/0.9307, allocations: 16.35 MB / 0.6409 GB, free: 22.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/0.9341, allocations: 264.5 kB / 0.6411 GB, free: 21.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007345/0.9349, allocations: 0.532 MB / 0.6417 GB, free: 21.35 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.001601/0.9365, allocations: 277 kB / 0.6419 GB, free: 21.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/0.9376, allocations: 298.4 kB / 0.6422 GB, free: 20.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02072/0.9583, allocations: 7.025 MB / 0.6491 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.017/0.9753, allocations: 4.765 MB / 0.6537 GB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/0.9753, allocations: 8.938 kB / 0.6537 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/0.9753, allocations: 11.95 kB / 0.6537 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02301/0.9983, allocations: 13.21 MB / 0.6667 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/0.9984, allocations: 5.969 kB / 0.6667 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/1.001, allocations: 0.5033 MB / 0.6671 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03953/1.04, allocations: 9.099 MB / 0.676 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007153/1.041, allocations: 139.8 kB / 0.6762 GB, free: 1.852 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01869/1.06, allocations: 11.86 MB / 0.6877 GB, free: 5.609 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.04625/1.106, allocations: 14.96 MB / 0.7024 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/1.125, allocations: 6.693 MB / 0.7089 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005714/1.125, allocations: 240.5 kB / 0.7091 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006431/1.126, allocations: 52 kB / 0.7092 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/1.128, allocations: 191.7 kB / 0.7094 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008231/1.129, allocations: 268.5 kB / 0.7096 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003694/1.129, allocations: 247.8 kB / 0.7098 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001343/1.13, allocations: 1.213 MB / 0.711 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.5e-07/1.13, allocations: 0 / 0.711 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00362/1.134, allocations: 1.457 MB / 0.7125 GB, free: 11.98 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.000932/1.135, allocations: 434.2 kB / 0.7129 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008653/1.144, allocations: 4.218 MB / 0.717 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.144, allocations: 0 / 0.717 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005299/1.149, allocations: 2.708 MB / 0.7196 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/1.151, allocations: 0.6451 MB / 0.7203 GB, free: 4.059 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4759:9-4759: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.998731730040163]