Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001621/0.001621, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.002241/0.002241, allocations: 222.5 kB / 22.25 MB, free: 5.254 MB / 14.72 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1616/0.1616, allocations: 23.93 MB / 336.3 MB, free: 11.03 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterVaporization") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 63.91 kB / 471.7 MB, free: 6.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4309, allocations: 59.88 MB / 0.5191 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01322/0.4441, allocations: 11.53 MB / 0.5304 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2602/0.7044, allocations: 146.9 MB / 0.6738 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003547/0.7079, allocations: 59.62 kB / 0.6739 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004479/0.7124, allocations: 1.118 MB / 0.675 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006293/0.7187, allocations: 1.342 MB / 0.6763 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.7238, allocations: 1.611 MB / 0.6779 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007588/0.7314, allocations: 3.708 MB / 0.6815 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.7328, allocations: 0.7287 MB / 0.6822 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.7352, allocations: 1.312 MB / 0.6835 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/0.7381, allocations: 1.774 MB / 0.6852 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005752/0.7386, allocations: 324 kB / 0.6855 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004052/0.7427, allocations: 1.206 MB / 0.6867 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009251/0.7436, allocations: 0.9224 MB / 0.6876 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001765/0.7454, allocations: 1.398 MB / 0.689 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008968/0.7543, allocations: 5.405 MB / 0.6942 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.7543, allocations: 0 / 0.6942 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7543, allocations: 0 / 0.6942 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001276/0.7545, allocations: 0 / 0.6942 GB, free: 5.859 MB / 0.5294 GB 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.008377/0.7629, allocations: 3.94 MB / 0.6981 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.7629, allocations: 12.03 kB / 0.6981 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/0.7652, allocations: 0.7282 MB / 0.6988 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/0.7679, allocations: 1.384 MB / 0.7002 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004434/0.7684, allocations: 433.2 kB / 0.7006 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004933/0.7689, allocations: 328.3 kB / 0.7009 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/0.7836, allocations: 10.24 MB / 0.7109 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.417e-05/0.7837, allocations: 7.938 kB / 0.7109 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/0.7839, allocations: 128 kB / 0.711 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005875/0.7845, allocations: 471.5 kB / 0.7115 GB, free: 4.062 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02422/0.8087, allocations: 18.74 MB / 0.7298 GB, free: 1.309 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3191/1.128, allocations: 16.39 MB / 0.7458 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004488/1.132, allocations: 2.297 MB / 0.748 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002989/1.135, allocations: 1.639 MB / 0.7496 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01623/1.152, allocations: 7.648 MB / 0.7571 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/1.152, allocations: 45.06 kB / 0.7571 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 4.669e-06/1.152, allocations: 0 / 0.7571 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=185): time 0.09344/1.245, allocations: 22.48 MB / 0.7791 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05191/1.297, allocations: 16.28 MB / 0.795 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/1.299, allocations: 1.685 MB / 0.7966 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009795/1.3, allocations: 53.7 kB / 0.7967 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/1.302, allocations: 1.83 MB / 0.7985 GB, free: 139 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001308/1.303, allocations: 0.667 MB / 0.7991 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002333/1.305, allocations: 0.6723 MB / 0.7998 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.911e-05/1.305, allocations: 301.1 kB / 0.8001 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003663/1.309, allocations: 2.42 MB / 0.8024 GB, free: 135 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003897/1.313, allocations: 3.184 MB / 0.8055 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1657/1.479, allocations: 26.36 MB / 0.8313 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.795e-05/1.479, allocations: 8 kB / 0.8313 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.02136/1.5, allocations: 7.938 MB / 0.839 GB, free: 97.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.717e-05/1.5, allocations: 16 kB / 0.839 GB, free: 97.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.429e-05/1.5, allocations: 26.69 kB / 0.8391 GB, free: 97.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02221/1.522, allocations: 4.394 MB / 0.8434 GB, free: 92.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004736/1.527, allocations: 0.7657 MB / 0.8441 GB, free: 91.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/1.538, allocations: 9.878 MB / 0.8538 GB, free: 81.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/1.542, allocations: 138.5 kB / 0.8539 GB, free: 81.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.543, allocations: 411.8 kB / 0.8543 GB, free: 81.18 MB / 0.5606 GB 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: 112 * Number of states: 0 () * Number of discrete variables: 4 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 242 * Array equations: 0 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(3,5), (5,13), (2,3), (1,2), (4,14), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0031/1.546, allocations: 0.9069 MB / 0.8552 GB, free: 80.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.548, allocations: 222.5 kB / 0.8554 GB, free: 80.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02599/1.574, allocations: 8.049 MB / 0.8632 GB, free: 72.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.793e-05/1.574, allocations: 18.66 kB / 0.8633 GB, free: 72.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.928e-05/1.574, allocations: 8 kB / 0.8633 GB, free: 72.06 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.884e-05/1.574, allocations: 7.969 kB / 0.8633 GB, free: 72.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03568/1.609, allocations: 12.5 MB / 0.8755 GB, free: 59.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.572e-05/1.609, allocations: 3.562 kB / 0.8755 GB, free: 59.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003652/1.613, allocations: 466.6 kB / 0.8759 GB, free: 58.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03307/1.646, allocations: 5.124 MB / 0.8809 GB, free: 53.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008535/1.647, allocations: 107.9 kB / 0.881 GB, free: 53.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02776/1.675, allocations: 15.71 MB / 0.8964 GB, free: 37.36 MB / 0.5606 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.02114/1.696, allocations: 3.531 MB / 0.8998 GB, free: 33.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02757/1.724, allocations: 9.454 MB / 0.9091 GB, free: 24.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.725, allocations: 198.4 kB / 0.9093 GB, free: 24.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001389/1.726, allocations: 44 kB / 0.9093 GB, free: 24.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003166/1.729, allocations: 95.89 kB / 0.9094 GB, free: 23.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/1.73, allocations: 209.6 kB / 0.9096 GB, free: 23.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006201/1.731, allocations: 195.9 kB / 0.9098 GB, free: 23.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002361/1.733, allocations: 1.329 MB / 0.9111 GB, free: 22.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.733, allocations: 0 / 0.9111 GB, free: 22.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004487/1.738, allocations: 0.9137 MB / 0.912 GB, free: 21.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET1.x,H2O_gaseuous.logn,otherSubstances.logn,liquidWater.substance.amountOfBonds,liquidWater.logm,gasVolatility.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 124 * Array equations: 0 * 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 {(5,13,80.0%), (1,4,100.0%), (3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(9,25), (2,3), (1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001293/1.739, allocations: 424.8 kB / 0.9124 GB, free: 20.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.751, allocations: 5.321 MB / 0.9176 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.751, allocations: 192 / 0.9176 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00791/1.759, allocations: 3.069 MB / 0.9206 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/1.763, allocations: 473.4 kB / 0.921 GB, free: 11.93 MB / 0.5606 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.484934248030186] Failed to read output from testmodel.py, exit status != 0: 1.7736577009782195 1.7858236379999999 1.028066265 Calling exit ...