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.0006747/0.0006747, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008725/0.001547, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 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.0007168/0.0007168, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001721, allocations: 475.6 kB / 11.64 MB, free: 2.531 MB / 13.93 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.9508/0.9508, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07306/1.024, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.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.07657/0.07657, allocations: 17.37 MB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008503/0.08507, allocations: 6.932 MB / 268.2 MB, free: 6.516 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 269.4 MB, free: 5.293 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.176e-06/9.579e-06, allocations: 2.312 kB / 269.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.1112/0.1112, allocations: 13.03 MB / 282.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1187/0.2299, allocations: 138.6 MB / 421.1 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.2313, allocations: 39.81 kB / 421.1 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002388/0.2337, allocations: 1.226 MB / 422.4 MB, free: 9.336 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.2359, allocations: 1.345 MB / 423.7 MB, free: 7.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.2385, allocations: 1.665 MB / 425.4 MB, free: 6.309 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003162/0.2417, allocations: 3.811 MB / 429.2 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007669/0.2425, allocations: 0.757 MB / 429.9 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1497/0.3922, allocations: 2.132 MB / 432.1 MB, free: 5.977 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.3937, allocations: 1.136 MB / 433.2 MB, free: 5.977 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005693/0.3943, allocations: 335.4 kB / 433.5 MB, free: 5.977 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/0.397, allocations: 1.308 MB / 434.8 MB, free: 5.977 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006355/0.3976, allocations: 0.8294 MB / 435.7 MB, free: 5.977 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.3989, allocations: 0.9784 MB / 436.6 MB, free: 5.977 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004084/0.4029, allocations: 3.85 MB / 440.5 MB, free: 5.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.403, allocations: 1.062 kB / 440.5 MB, free: 5.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.403, allocations: 0.9375 kB / 440.5 MB, free: 5.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.187e-05/0.403, allocations: 0 / 440.5 MB, free: 5.68 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.00375/0.4068, allocations: 4.658 MB / 445.2 MB, free: 3.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.4068, allocations: 10.59 kB / 445.2 MB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000308/0.4071, allocations: 0.5168 MB / 445.7 MB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.4085, allocations: 1.494 MB / 447.2 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.4097, allocations: 1.189 MB / 448.4 MB, free: 3.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.4099, allocations: 0.5614 MB / 448.9 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.4102, allocations: 321 kB / 449.2 MB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.4127, allocations: 3.49 MB / 452.7 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/0.4127, allocations: 1.188 kB / 452.7 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.4128, allocations: 137.8 kB / 452.9 MB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002649/0.4131, allocations: 0.4892 MB / 453.4 MB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002812/0.4159, allocations: 4.265 MB / 457.6 MB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/0.4295, allocations: 14.02 MB / 471.6 MB, free: 1.133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.4309, allocations: 0.9208 MB / 472.6 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00084/0.4318, allocations: 441.9 kB / 473 MB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008934/0.4327, allocations: 0.6852 MB / 473.7 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.4327, allocations: 49.12 kB / 473.7 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 2.886e-06/0.4327, allocations: 0 / 473.7 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of matching and sorting (n=232): time 0.06457/0.4973, allocations: 17.03 MB / 490.8 MB, free: 9.645 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06545/0.5627, allocations: 21.01 MB / 0.4998 GB, free: 7.668 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.5648, allocations: 2.599 MB / 0.5023 GB, free: 5.473 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003455/0.5652, allocations: 61.7 kB / 0.5024 GB, free: 5.406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/0.5657, allocations: 1.045 MB / 0.5034 GB, free: 4.484 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006381/0.5663, allocations: 0.8179 MB / 0.5042 GB, free: 3.719 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001238/0.5676, allocations: 0.5614 MB / 0.5047 GB, free: 3.195 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.092e-05/0.5676, allocations: 304.2 kB / 0.505 GB, free: 2.898 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/0.5697, allocations: 1.051 MB / 0.5061 GB, free: 1.844 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002208/0.5719, allocations: 1.395 MB / 0.5074 GB, free: 392 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006209/0.5781, allocations: 3.953 MB / 0.5113 GB, free: 12.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.5781, allocations: 0 / 0.5113 GB, free: 12.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01493/0.5931, allocations: 4.525 MB / 0.5157 GB, free: 7.926 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5931, allocations: 12 kB / 0.5157 GB, free: 7.914 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.5931, allocations: 8 kB / 0.5157 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01995/0.613, allocations: 7.697 MB / 0.5232 GB, free: 248 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/0.6174, allocations: 1.164 MB / 0.5244 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01844/0.6358, allocations: 11.82 MB / 0.5359 GB, free: 3.082 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.638, allocations: 107.9 kB / 0.536 GB, free: 2.977 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005506/0.6385, allocations: 0.4958 MB / 0.5365 GB, free: 2.48 MB / 474.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.001183/0.6397, allocations: 234.8 kB / 0.5367 GB, free: 2.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007906/0.6405, allocations: 263.7 kB / 0.537 GB, free: 2.012 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.6545, allocations: 5.375 MB / 0.5422 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01079/0.6653, allocations: 3.12 MB / 0.5453 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6653, allocations: 4 kB / 0.5453 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.6653, allocations: 15.95 kB / 0.5453 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.6819, allocations: 8.092 MB / 0.5532 GB, free: 1.809 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.682, allocations: 4 kB / 0.5532 GB, free: 1.805 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/0.6846, allocations: 0.6561 MB / 0.5538 GB, free: 1.164 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.685, allocations: 372.7 kB / 0.5542 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03447/0.7195, allocations: 7.847 MB / 0.5619 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000284/0.7198, allocations: 111.8 kB / 0.562 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.733, allocations: 8.505 MB / 0.5703 GB, free: 208 kB / 0.4948 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.0388/0.7718, allocations: 11.5 MB / 0.5815 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.7853, allocations: 4.797 MB / 0.5862 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005812/0.7859, allocations: 63.88 kB / 0.5862 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/0.7876, allocations: 67.97 kB / 0.5863 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006932/0.7883, allocations: 236.4 kB / 0.5865 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000311/0.7886, allocations: 223.8 kB / 0.5867 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001423/0.79, allocations: 1.381 MB / 0.5881 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.79, allocations: 0 / 0.5881 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00298/0.793, allocations: 1.476 MB / 0.5895 GB, free: 12.52 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.01304/0.8061, allocations: 5.521 MB / 0.5949 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005963/0.812, allocations: 3.269 MB / 0.5981 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.566e-05/0.812, allocations: 32.5 kB / 0.5982 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003613/0.8157, allocations: 2.046 MB / 0.6001 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.8179, allocations: 1.164 MB / 0.6013 GB, free: 0.6445 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4091:9-4091:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:743:5-743: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.2380871027708054]