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.001171/0.001171, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001497/0.001497, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.112/1.112, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.09908/0.09908, allocations: 17.38 MB / 278.4 MB, free: 11.5 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.773e-06/1.773e-06, allocations: 0 / 354.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.103e-05, allocations: 2.312 kB / 354.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01531/0.01534, allocations: 12.98 MB / 367.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3294/0.3448, allocations: 136.5 MB / 0.4923 GB, free: 38.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.3479, allocations: 38.59 kB / 0.4923 GB, free: 38.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003922/0.3518, allocations: 1.182 MB / 0.4935 GB, free: 38.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004491/0.3563, allocations: 1.351 MB / 0.4948 GB, free: 37.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004007/0.3603, allocations: 1.665 MB / 0.4964 GB, free: 36.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006473/0.3668, allocations: 3.854 MB / 0.5002 GB, free: 34.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.3681, allocations: 0.715 MB / 0.5009 GB, free: 34.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003837/0.3719, allocations: 1.958 MB / 0.5028 GB, free: 33.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.3739, allocations: 1.136 MB / 0.5039 GB, free: 33.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007933/0.3747, allocations: 334.7 kB / 0.5042 GB, free: 33.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00341/0.3781, allocations: 1.276 MB / 0.5055 GB, free: 33.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006456/0.3788, allocations: 1.003 MB / 0.5065 GB, free: 32.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001687/0.3805, allocations: 1.178 MB / 0.5076 GB, free: 31.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006495/0.387, allocations: 4.144 MB / 0.5117 GB, free: 30.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.387, allocations: 2.531 kB / 0.5117 GB, free: 30.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.387, allocations: 0 / 0.5117 GB, free: 30.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001609/0.3871, allocations: 3.938 kB / 0.5117 GB, free: 30.19 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.006119/0.3933, allocations: 4.319 MB / 0.5159 GB, free: 27.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3933, allocations: 8.219 kB / 0.5159 GB, free: 27.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002531/0.3958, allocations: 1.578 MB / 0.5174 GB, free: 27.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.398, allocations: 1.477 MB / 0.5189 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004232/0.3984, allocations: 0.5487 MB / 0.5194 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003659/0.3988, allocations: 327.2 kB / 0.5197 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004285/0.4031, allocations: 3.262 MB / 0.5229 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.527e-05/0.4031, allocations: 192 / 0.5229 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/0.4033, allocations: 137 kB / 0.523 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004201/0.4038, allocations: 0.4934 MB / 0.5235 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005152/0.4089, allocations: 4.464 MB / 0.5279 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02197/0.4309, allocations: 15.57 MB / 0.5431 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.4326, allocations: 1.018 MB / 0.5441 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009351/0.4336, allocations: 0.5579 MB / 0.5446 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009587/0.4345, allocations: 0.6855 MB / 0.5453 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.4345, allocations: 50.7 kB / 0.5453 GB, free: 10.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 6.802e-06/0.4346, allocations: 0 / 0.5453 GB, free: 10.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=232): time 0.0632/0.4978, allocations: 17.16 MB / 0.5621 GB, free: 9.555 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.08907/0.5868, allocations: 24.88 MB / 0.5864 GB, free: 284 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.5884, allocations: 1.516 MB / 0.5879 GB, free: 14.74 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008666/0.5892, allocations: 65.83 kB / 0.5879 GB, free: 14.67 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009855/0.5902, allocations: 1.804 MB / 0.5897 GB, free: 12.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.5915, allocations: 0.817 MB / 0.5905 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001634/0.5932, allocations: 0.7321 MB / 0.5912 GB, free: 11.28 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5933, allocations: 480.8 kB / 0.5917 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002907/0.5962, allocations: 1.23 MB / 0.5929 GB, free: 9.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002553/0.5988, allocations: 1.684 MB / 0.5945 GB, free: 7.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007129/0.6059, allocations: 4.373 MB / 0.5988 GB, free: 3.203 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.6059, allocations: 4 kB / 0.5988 GB, free: 3.199 MB / 458.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.2488/0.8547, allocations: 5.539 MB / 0.6042 GB, free: 70.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.8547, allocations: 10 kB / 0.6042 GB, free: 70.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.8548, allocations: 8.125 kB / 0.6042 GB, free: 70.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03167/0.8864, allocations: 7.795 MB / 0.6118 GB, free: 70.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005541/0.892, allocations: 0.9212 MB / 0.6127 GB, free: 70.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/0.9142, allocations: 15.73 MB / 0.6281 GB, free: 61.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/0.9174, allocations: 109 kB / 0.6282 GB, free: 61.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008328/0.9183, allocations: 0.5143 MB / 0.6287 GB, free: 61.66 MB / 458.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.001865/0.9201, allocations: 270.2 kB / 0.629 GB, free: 61.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/0.9212, allocations: 295.5 kB / 0.6292 GB, free: 61.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01816/0.9393, allocations: 6.204 MB / 0.6353 GB, free: 61.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01348/0.9528, allocations: 3.9 MB / 0.6391 GB, free: 60.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.579e-05/0.9528, allocations: 4.562 kB / 0.6391 GB, free: 60.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.422e-05/0.9529, allocations: 12.8 kB / 0.6391 GB, free: 60.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02352/0.9764, allocations: 11.53 MB / 0.6504 GB, free: 58.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.9765, allocations: 5.875 kB / 0.6504 GB, free: 58.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002347/0.9788, allocations: 473 kB / 0.6508 GB, free: 58.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0395/1.018, allocations: 7.601 MB / 0.6583 GB, free: 56.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000954/1.019, allocations: 139.5 kB / 0.6584 GB, free: 56.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01573/1.035, allocations: 11.28 MB / 0.6694 GB, free: 47.23 MB / 458.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.04206/1.077, allocations: 13.1 MB / 0.6822 GB, free: 38.24 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/1.093, allocations: 5.585 MB / 0.6877 GB, free: 32.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006181/1.094, allocations: 234.9 kB / 0.6879 GB, free: 32.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004853/1.094, allocations: 46.53 kB / 0.6879 GB, free: 32.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/1.096, allocations: 83.27 kB / 0.688 GB, free: 32.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009519/1.097, allocations: 267.8 kB / 0.6883 GB, free: 32.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000444/1.098, allocations: 235.8 kB / 0.6885 GB, free: 32.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001132/1.099, allocations: 1.061 MB / 0.6895 GB, free: 31.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.099, allocations: 0 / 0.6895 GB, free: 31.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004173/1.103, allocations: 1.455 MB / 0.6909 GB, free: 29.67 MB / 458.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.0009532/1.104, allocations: 454.2 kB / 0.6914 GB, free: 29.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008698/1.113, allocations: 3.88 MB / 0.6952 GB, free: 25.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/1.113, allocations: 0 / 0.6952 GB, free: 25.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005448/1.118, allocations: 2.433 MB / 0.6975 GB, free: 23.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/1.121, allocations: 0.655 MB / 0.6982 GB, free: 22.43 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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: 3.1140605667605996]