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.0007356/0.0007356, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.001761, allocations: 440 kB / 10.41 MB, free: 284 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.0006988/0.0006988, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009248/0.001624, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9642/0.9642, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0943/1.058, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.08806/0.08806, allocations: 17.36 MB / 261.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01083/0.09889, allocations: 6.933 MB / 268.4 MB, free: 6.406 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.213e-06/1.213e-06, allocations: 0 / 269.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.227e-05, allocations: 2.312 kB / 269.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.1417/0.1417, allocations: 13.14 MB / 282.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1456/0.2873, allocations: 139.1 MB / 422 MB, free: 9.801 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.2893, allocations: 39.81 kB / 422 MB, free: 9.762 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.2924, allocations: 1.23 MB / 423.2 MB, free: 8.523 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.2954, allocations: 1.349 MB / 424.6 MB, free: 7.164 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.2989, allocations: 1.672 MB / 426.3 MB, free: 5.484 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003881/0.3028, allocations: 3.811 MB / 430.1 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009363/0.3037, allocations: 0.757 MB / 430.8 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1943/0.4981, allocations: 2.129 MB / 433 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.4995, allocations: 1.139 MB / 434.1 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005092/0.5, allocations: 336.7 kB / 434.4 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.5031, allocations: 1.311 MB / 435.7 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006828/0.5038, allocations: 0.8367 MB / 436.6 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.505, allocations: 0.9771 MB / 437.5 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004344/0.5094, allocations: 3.836 MB / 441.4 MB, free: 5.461 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.5094, allocations: 0 / 441.4 MB, free: 5.461 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5094, allocations: 3.469 kB / 441.4 MB, free: 5.461 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.592e-05/0.5095, allocations: 0.8438 kB / 441.4 MB, free: 5.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.003766/0.5132, allocations: 4.65 MB / 446 MB, free: 3.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.5132, allocations: 9.938 kB / 446 MB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.5147, allocations: 1.489 MB / 447.5 MB, free: 3.645 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.5159, allocations: 1.199 MB / 448.7 MB, free: 3.145 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.5161, allocations: 0.5569 MB / 449.3 MB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.5164, allocations: 330.2 kB / 449.6 MB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/0.519, allocations: 3.478 MB / 453.1 MB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.519, allocations: 192 / 453.1 MB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.5192, allocations: 134.4 kB / 453.2 MB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002726/0.5194, allocations: 484.8 kB / 453.7 MB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003016/0.5224, allocations: 4.267 MB / 458 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/0.5354, allocations: 13.04 MB / 471 MB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.5369, allocations: 0.9102 MB / 471.9 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007902/0.5377, allocations: 445.8 kB / 472.3 MB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000927/0.5386, allocations: 0.6904 MB / 473 MB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.5387, allocations: 44.38 kB / 473.1 MB, free: 1.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 2.915e-06/0.5387, allocations: 3.812 kB / 473.1 MB, free: 1.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=204): time 0.04917/0.5878, allocations: 13.91 MB / 487 MB, free: 12.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06548/0.6533, allocations: 21.29 MB / 0.4964 GB, free: 11.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.6548, allocations: 1.369 MB / 0.4977 GB, free: 10.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006886/0.6555, allocations: 62.7 kB / 0.4978 GB, free: 10.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008793/0.6564, allocations: 1.393 MB / 0.4991 GB, free: 8.707 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000703/0.6571, allocations: 0.7253 MB / 0.4998 GB, free: 8.027 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009982/0.6581, allocations: 0.5153 MB / 0.5003 GB, free: 7.551 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.6581, allocations: 301.1 kB / 0.5006 GB, free: 7.254 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.6597, allocations: 0.7417 MB / 0.5014 GB, free: 6.512 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.6613, allocations: 1.076 MB / 0.5024 GB, free: 5.367 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004866/0.6662, allocations: 2.977 MB / 0.5053 GB, free: 2.359 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.6662, allocations: 0.875 kB / 0.5053 GB, free: 2.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01414/0.6804, allocations: 3.765 MB / 0.509 GB, free: 14.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.6804, allocations: 8.938 kB / 0.509 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.6804, allocations: 8 kB / 0.509 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02077/0.7012, allocations: 8.086 MB / 0.5169 GB, free: 6.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/0.7041, allocations: 0.9585 MB / 0.5178 GB, free: 5.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/0.7232, allocations: 11.74 MB / 0.5293 GB, free: 9.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/0.7253, allocations: 95.92 kB / 0.5294 GB, free: 9.746 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004969/0.7258, allocations: 477.5 kB / 0.5299 GB, free: 9.281 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 (184): * Single equations (assignments): 173 * 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 {(1,4,100.0%), (3,5,88.9%), (5,13,80.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.001701/0.7275, allocations: 222.2 kB / 0.5301 GB, free: 9.078 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/0.7281, allocations: 183.8 kB / 0.5302 GB, free: 8.898 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.7409, allocations: 4.454 MB / 0.5346 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01235/0.7532, allocations: 2.579 MB / 0.5371 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.7532, allocations: 4 kB / 0.5371 GB, free: 1.965 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.7533, allocations: 7.969 kB / 0.5371 GB, free: 1.957 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02106/0.7743, allocations: 7.18 MB / 0.5441 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.7743, allocations: 4 kB / 0.5441 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/0.7763, allocations: 0.5241 MB / 0.5446 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006526/0.7829, allocations: 205.4 kB / 0.5448 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07574/0.8586, allocations: 8.399 MB / 0.553 GB, free: 1.965 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000389/0.859, allocations: 95.89 kB / 0.5531 GB, free: 1.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/0.8722, allocations: 8.443 MB / 0.5614 GB, free: 9.262 MB / 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.03875/0.9109, allocations: 12.28 MB / 0.5734 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/0.9227, allocations: 3.843 MB / 0.5771 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004476/0.9231, allocations: 54.44 kB / 0.5772 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.9242, allocations: 59.97 kB / 0.5772 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006422/0.9248, allocations: 204.7 kB / 0.5774 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002437/0.9251, allocations: 207.9 kB / 0.5776 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001152/0.9262, allocations: 0.8417 MB / 0.5785 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9262, allocations: 4.031 kB / 0.5785 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003376/0.9296, allocations: 1.304 MB / 0.5797 GB, free: 6.535 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (108): * Single equations (assignments): 103 * 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%), (3,5,88.9%), (5,13,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(8,17), (15,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006672/0.9303, allocations: 422.2 kB / 0.5801 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004771/0.935, allocations: 2.666 MB / 0.5827 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.773e-05/0.9351, allocations: 28.5 kB / 0.5828 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003437/0.9385, allocations: 2.001 MB / 0.5847 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.9409, allocations: 3.553 MB / 0.5882 GB, free: 13.41 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4633:9-4633:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:793:5-793: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.4792409893125296]