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.0008031/0.0008031, allocations: 72.17 kB / 9.874 MB, free: 0.8125 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001854, allocations: 443.8 kB / 10.31 MB, free: 388 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.000714/0.000714, allocations: 153.1 kB / 11.19 MB, free: 2.977 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008629/0.001577, allocations: 467.6 kB / 11.65 MB, free: 2.516 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 1.131/1.131, allocations: 177.1 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1153/1.247, allocations: 53.66 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.1045/0.1045, allocations: 17.36 MB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01051/0.1151, allocations: 6.932 MB / 268.2 MB, free: 6.512 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 2.074e-06/2.074e-06, allocations: 0 / 269.5 MB, free: 5.281 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.121e-05, allocations: 5.547 kB / 269.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.1471/0.1472, allocations: 13.02 MB / 282.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1401/0.2872, allocations: 138.6 MB / 421.1 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.2892, allocations: 47.69 kB / 421.1 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.2918, allocations: 1.226 MB / 422.4 MB, free: 9.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.2944, allocations: 1.349 MB / 423.7 MB, free: 7.961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003022/0.2975, allocations: 1.661 MB / 425.4 MB, free: 6.293 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003402/0.3009, allocations: 3.819 MB / 429.2 MB, free: 2.465 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008099/0.3017, allocations: 0.7531 MB / 430 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1981/0.4997, allocations: 2.126 MB / 432.1 MB, free: 6.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/0.5025, allocations: 1.139 MB / 433.2 MB, free: 6.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009184/0.5034, allocations: 337.4 kB / 433.5 MB, free: 6.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003975/0.5074, allocations: 1.304 MB / 434.9 MB, free: 6.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008636/0.5082, allocations: 0.8329 MB / 435.7 MB, free: 6.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001844/0.5101, allocations: 0.9772 MB / 436.7 MB, free: 6.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005444/0.5155, allocations: 3.848 MB / 440.5 MB, free: 5.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.037e-05/0.5155, allocations: 1 kB / 440.5 MB, free: 5.773 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5155, allocations: 0.5625 kB / 440.5 MB, free: 5.773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001231/0.5157, allocations: 0.5 kB / 440.5 MB, free: 5.773 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.5218, allocations: 4.66 MB / 445.2 MB, free: 4.078 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5218, allocations: 10.05 kB / 445.2 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000429/0.5223, allocations: 0.5172 MB / 445.7 MB, free: 4.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/0.5243, allocations: 1.494 MB / 447.2 MB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.526, allocations: 1.194 MB / 448.4 MB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/0.5264, allocations: 0.5519 MB / 448.9 MB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/0.5266, allocations: 333.5 kB / 449.3 MB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003478/0.5301, allocations: 3.484 MB / 452.7 MB, free: 2.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.848e-05/0.5302, allocations: 384 / 452.7 MB, free: 2.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.5303, allocations: 135.7 kB / 452.9 MB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004041/0.5308, allocations: 0.4927 MB / 453.4 MB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003993/0.5347, allocations: 4.263 MB / 457.6 MB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01871/0.5535, allocations: 14.02 MB / 471.7 MB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.5554, allocations: 0.9167 MB / 472.6 MB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.5565, allocations: 444.3 kB / 473 MB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.5576, allocations: 0.6845 MB / 473.7 MB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.5577, allocations: 48.47 kB / 473.7 MB, free: 1.035 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.008e-06/0.5577, allocations: 3.094 kB / 473.7 MB, free: 1.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=232): time 0.06564/0.6233, allocations: 17.07 MB / 490.8 MB, free: 9.781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06409/0.6874, allocations: 21.06 MB / 0.4999 GB, free: 7.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/0.69, allocations: 2.6 MB / 0.5024 GB, free: 5.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007124/0.6907, allocations: 62.91 kB / 0.5025 GB, free: 5.414 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000513/0.6912, allocations: 1.041 MB / 0.5035 GB, free: 4.496 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007926/0.692, allocations: 0.8169 MB / 0.5043 GB, free: 3.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.6933, allocations: 0.56 MB / 0.5048 GB, free: 3.211 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.655e-05/0.6933, allocations: 305 kB / 0.5051 GB, free: 2.914 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.6955, allocations: 1.055 MB / 0.5062 GB, free: 1.855 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.6977, allocations: 1.391 MB / 0.5075 GB, free: 408 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006295/0.704, allocations: 3.963 MB / 0.5114 GB, free: 12.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.704, allocations: 4 kB / 0.5114 GB, free: 12.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01443/0.7185, allocations: 4.512 MB / 0.5158 GB, free: 7.938 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.7185, allocations: 8 kB / 0.5158 GB, free: 7.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.7185, allocations: 8 kB / 0.5158 GB, free: 7.922 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01938/0.7379, allocations: 7.717 MB / 0.5233 GB, free: 264 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004417/0.7423, allocations: 1.172 MB / 0.5245 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/0.761, allocations: 11.83 MB / 0.536 GB, free: 3.094 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/0.7641, allocations: 111.6 kB / 0.5361 GB, free: 2.988 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006905/0.7648, allocations: 0.4919 MB / 0.5366 GB, free: 2.496 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.002051/0.7669, allocations: 230.5 kB / 0.5368 GB, free: 2.281 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008395/0.7677, allocations: 262.9 kB / 0.5371 GB, free: 2.027 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/0.7834, allocations: 5.383 MB / 0.5424 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01311/0.7965, allocations: 3.122 MB / 0.5454 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.7965, allocations: 4 kB / 0.5454 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.7965, allocations: 11.95 kB / 0.5454 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02219/0.8187, allocations: 8.083 MB / 0.5533 GB, free: 1.828 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.8187, allocations: 4.062 kB / 0.5533 GB, free: 1.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003405/0.8221, allocations: 0.6651 MB / 0.554 GB, free: 1.184 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007813/0.8229, allocations: 377.6 kB / 0.5543 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0373/0.8602, allocations: 7.891 MB / 0.562 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005197/0.8607, allocations: 115.8 kB / 0.5621 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/0.8745, allocations: 8.501 MB / 0.5704 GB, free: 216 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.03732/0.9118, allocations: 11.54 MB / 0.5817 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/0.9252, allocations: 4.802 MB / 0.5864 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008546/0.926, allocations: 47.95 kB / 0.5864 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/0.9278, allocations: 83.89 kB / 0.5865 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000762/0.9285, allocations: 233.1 kB / 0.5867 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003143/0.9288, allocations: 219.8 kB / 0.587 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001719/0.9305, allocations: 1.376 MB / 0.5883 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9305, allocations: 0 / 0.5883 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003397/0.9339, allocations: 1.484 MB / 0.5898 GB, free: 12.53 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.947, allocations: 5.511 MB / 0.5951 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006224/0.9532, allocations: 3.279 MB / 0.5983 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.612e-05/0.9532, allocations: 32.5 kB / 0.5984 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003643/0.9569, allocations: 2.049 MB / 0.6004 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/0.9595, allocations: 1.167 MB / 0.6015 GB, free: 0.6484 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.818181360140443]