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.001386/0.001386, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00119/0.00119, allocations: 181 kB / 23.36 MB, free: 1.129 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.002/1.002, 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.1006/0.1006, allocations: 17.39 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 2.415e-06/2.415e-06, allocations: 1.375 kB / 300.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.222e-05, allocations: 4.531 kB / 300.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01152/0.01155, allocations: 13 MB / 313.6 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.3599/0.3715, allocations: 138.6 MB / 452.2 MB, free: 8.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.3741, allocations: 40.06 kB / 452.2 MB, free: 8.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003013/0.3771, allocations: 1.221 MB / 453.5 MB, free: 8.629 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.3807, allocations: 1.365 MB / 454.8 MB, free: 8.617 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.384, allocations: 1.688 MB / 456.5 MB, free: 8.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004536/0.3885, allocations: 3.854 MB / 460.4 MB, free: 7.941 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009056/0.3894, allocations: 0.7515 MB / 461.1 MB, free: 7.699 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.3919, allocations: 1.955 MB / 463.1 MB, free: 7.535 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.3934, allocations: 1.134 MB / 464.2 MB, free: 7.406 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007619/0.3942, allocations: 337.1 kB / 464.5 MB, free: 7.406 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002689/0.3969, allocations: 1.281 MB / 465.8 MB, free: 7.375 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005237/0.3974, allocations: 1.006 MB / 466.8 MB, free: 7.199 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.3985, allocations: 1.169 MB / 468 MB, free: 7.031 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003956/0.4025, allocations: 4.145 MB / 472.1 MB, free: 6.461 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4025, allocations: 1 kB / 472.1 MB, free: 6.461 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4025, allocations: 0 / 472.1 MB, free: 6.461 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001178/0.4026, allocations: 2.719 kB / 472.1 MB, free: 6.461 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.003599/0.4062, allocations: 3.936 MB / 476.1 MB, free: 4.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.4062, allocations: 10.66 kB / 476.1 MB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.4079, allocations: 1.413 MB / 477.5 MB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.4092, allocations: 1.192 MB / 478.7 MB, free: 4.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.4095, allocations: 0.5505 MB / 479.3 MB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.4097, allocations: 331.5 kB / 479.6 MB, free: 4.031 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/0.4125, allocations: 3.479 MB / 483.1 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/0.4125, allocations: 192 / 483.1 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.4126, allocations: 132.2 kB / 483.2 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003121/0.4129, allocations: 0.4965 MB / 483.7 MB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003246/0.4162, allocations: 4.271 MB / 488 MB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01407/0.4303, allocations: 12.99 MB / 0.4892 GB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.4318, allocations: 0.9178 MB / 0.4901 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008687/0.4327, allocations: 438.7 kB / 0.4905 GB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009093/0.4336, allocations: 0.6936 MB / 0.4912 GB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.4336, allocations: 45.09 kB / 0.4912 GB, free: 1.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.248e-06/0.4336, allocations: 0 / 0.4912 GB, free: 1.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=232): time 0.06564/0.4992, allocations: 16.79 MB / 0.5076 GB, free: 7.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06013/0.5594, allocations: 20.7 MB / 0.5278 GB, free: 2.754 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.5605, allocations: 1.358 MB / 0.5292 GB, free: 1.602 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007686/0.5613, allocations: 61.7 kB / 0.5292 GB, free: 1.535 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/0.5619, allocations: 1.406 MB / 0.5306 GB, free: 192 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007943/0.5627, allocations: 0.8081 MB / 0.5314 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/0.564, allocations: 0.5743 MB / 0.532 GB, free: 14.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.5641, allocations: 311.7 kB / 0.5323 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002247/0.5663, allocations: 1.062 MB / 0.5333 GB, free: 13.53 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/0.5688, allocations: 1.392 MB / 0.5346 GB, free: 12.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006434/0.5752, allocations: 3.96 MB / 0.5385 GB, free: 8.074 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.5752, allocations: 4 kB / 0.5385 GB, free: 8.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01618/0.5914, allocations: 4.445 MB / 0.5429 GB, free: 3.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.5914, allocations: 8 kB / 0.5429 GB, free: 3.672 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.5914, allocations: 12.14 kB / 0.5429 GB, free: 3.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02575/0.6172, allocations: 7.703 MB / 0.5504 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003968/0.6211, allocations: 0.7654 MB / 0.5511 GB, free: 11.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03777/0.6589, allocations: 11.68 MB / 0.5626 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/0.6615, allocations: 103.9 kB / 0.5627 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007234/0.6622, allocations: 499.7 kB / 0.5631 GB, free: 14.8 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.001685/0.6639, allocations: 240 kB / 0.5634 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000978/0.6649, allocations: 202.4 kB / 0.5635 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/0.6811, allocations: 5.271 MB / 0.5687 GB, free: 9.215 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009914/0.691, allocations: 3.118 MB / 0.5717 GB, free: 6.121 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.691, allocations: 11.94 kB / 0.5718 GB, free: 6.109 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.6911, allocations: 11.95 kB / 0.5718 GB, free: 6.098 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/0.7082, allocations: 8.1 MB / 0.5797 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.7082, allocations: 4 kB / 0.5797 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.71, allocations: 419.4 kB / 0.5801 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03248/0.7425, allocations: 7.735 MB / 0.5876 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003989/0.7429, allocations: 111.9 kB / 0.5877 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/0.7558, allocations: 8.386 MB / 0.5959 GB, free: 13.44 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.03577/0.7916, allocations: 11.39 MB / 0.607 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/0.805, allocations: 4.728 MB / 0.6117 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.8055, allocations: 209.4 kB / 0.6119 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000406/0.8059, allocations: 48 kB / 0.6119 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.8073, allocations: 75.95 kB / 0.612 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005992/0.8079, allocations: 232.5 kB / 0.6122 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002946/0.8082, allocations: 223.8 kB / 0.6124 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007254/0.8089, allocations: 0.7934 MB / 0.6132 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8089, allocations: 0 / 0.6132 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00306/0.812, allocations: 1.461 MB / 0.6146 GB, free: 10.29 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.0009824/0.813, allocations: 449.3 kB / 0.615 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005451/0.8184, allocations: 3.254 MB / 0.6182 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.045e-05/0.8185, allocations: 20.69 kB / 0.6182 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003398/0.8219, allocations: 2.06 MB / 0.6203 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.8233, allocations: 0.6056 MB / 0.6208 GB, free: 4.074 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4068:9-4068:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:790:5-790: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.810723998118192]