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.001284/0.001284, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001435/0.001435, allocations: 210.5 kB / 22.99 MB, free: 4.957 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.1423/0.1423, allocations: 23.93 MB / 337.1 MB, free: 10.95 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.002083/0.002083, allocations: 71.89 kB / 472.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.37, allocations: 59.88 MB / 0.5198 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01178/0.3818, allocations: 11.54 MB / 0.5311 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2519/0.6337, allocations: 146.8 MB / 0.6745 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004795/0.6385, allocations: 59.69 kB / 0.6745 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004945/0.6434, allocations: 1.118 MB / 0.6756 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008927/0.6523, allocations: 1.346 MB / 0.6769 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00582/0.6582, allocations: 1.611 MB / 0.6785 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007814/0.666, allocations: 3.712 MB / 0.6821 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.6675, allocations: 0.7248 MB / 0.6828 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.6698, allocations: 1.312 MB / 0.6841 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003289/0.6731, allocations: 1.782 MB / 0.6859 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007124/0.6738, allocations: 324 kB / 0.6862 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004346/0.6781, allocations: 1.202 MB / 0.6874 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.6793, allocations: 0.9185 MB / 0.6882 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002216/0.6815, allocations: 1.398 MB / 0.6896 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.6918, allocations: 5.397 MB / 0.6949 GB, free: 6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.6918, allocations: 4 kB / 0.6949 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.246e-06/0.6918, allocations: 0 / 0.6949 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001663/0.692, allocations: 3.938 kB / 0.6949 GB, free: 5.992 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.008167/0.7002, allocations: 3.94 MB / 0.6987 GB, free: 2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.7002, allocations: 12.03 kB / 0.6988 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.7024, allocations: 0.7321 MB / 0.6995 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002744/0.7052, allocations: 1.376 MB / 0.7008 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004562/0.7056, allocations: 437.2 kB / 0.7012 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004745/0.7061, allocations: 320.3 kB / 0.7015 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/0.7205, allocations: 10.24 MB / 0.7115 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/0.7206, allocations: 0 / 0.7115 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.7208, allocations: 136 kB / 0.7117 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005368/0.7214, allocations: 471.5 kB / 0.7121 GB, free: 4.203 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02233/0.7437, allocations: 18.75 MB / 0.7304 GB, free: 1.445 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.329/1.073, allocations: 16.38 MB / 0.7464 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004028/1.077, allocations: 2.298 MB / 0.7487 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00265/1.079, allocations: 1.636 MB / 0.7503 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01556/1.095, allocations: 7.651 MB / 0.7577 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/1.095, allocations: 47.22 kB / 0.7578 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 4.548e-06/1.095, allocations: 2.672 kB / 0.7578 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=185): time 0.09836/1.193, allocations: 22.48 MB / 0.7797 GB, free: 159 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05646/1.25, allocations: 16.27 MB / 0.7956 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/1.252, allocations: 1.68 MB / 0.7973 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008672/1.253, allocations: 56.36 kB / 0.7973 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/1.254, allocations: 1.83 MB / 0.7991 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001126/1.255, allocations: 0.6658 MB / 0.7998 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/1.257, allocations: 0.6645 MB / 0.8004 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.639e-05/1.257, allocations: 305.1 kB / 0.8007 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/1.26, allocations: 2.424 MB / 0.8031 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003602/1.263, allocations: 3.187 MB / 0.8062 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1499/1.413, allocations: 26.35 MB / 0.8319 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.137e-05/1.413, allocations: 8 kB / 0.8319 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.02334/1.437, allocations: 7.942 MB / 0.8397 GB, free: 97.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/1.437, allocations: 16 kB / 0.8397 GB, free: 97.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-05/1.437, allocations: 26.66 kB / 0.8397 GB, free: 97.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02321/1.46, allocations: 4.39 MB / 0.844 GB, free: 92.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004468/1.464, allocations: 0.7697 MB / 0.8448 GB, free: 92.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/1.477, allocations: 9.866 MB / 0.8544 GB, free: 81.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00401/1.481, allocations: 142.6 kB / 0.8545 GB, free: 81.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/1.482, allocations: 414.8 kB / 0.8549 GB, free: 81.34 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.003042/1.485, allocations: 0.9062 MB / 0.8558 GB, free: 80.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/1.486, allocations: 226.5 kB / 0.856 GB, free: 80.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02776/1.514, allocations: 8.042 MB / 0.8639 GB, free: 72.24 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.12e-05/1.514, allocations: 20 kB / 0.8639 GB, free: 72.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.897e-05/1.514, allocations: 4 kB / 0.8639 GB, free: 72.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-05/1.514, allocations: 10.62 kB / 0.8639 GB, free: 72.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03463/1.549, allocations: 12.5 MB / 0.8761 GB, free: 59.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/1.549, allocations: 6.281 kB / 0.8761 GB, free: 59.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003393/1.552, allocations: 462.9 kB / 0.8766 GB, free: 59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03501/1.587, allocations: 5.12 MB / 0.8816 GB, free: 53.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007647/1.588, allocations: 107.9 kB / 0.8817 GB, free: 53.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02654/1.615, allocations: 15.72 MB / 0.897 GB, free: 37.5 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.02249/1.637, allocations: 3.539 MB / 0.9005 GB, free: 33.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0274/1.664, allocations: 9.446 MB / 0.9097 GB, free: 24.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006292/1.665, allocations: 198.5 kB / 0.9099 GB, free: 24.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.666, allocations: 40 kB / 0.9099 GB, free: 24.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003284/1.669, allocations: 99.83 kB / 0.91 GB, free: 24.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009656/1.67, allocations: 209.6 kB / 0.9102 GB, free: 23.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000345/1.671, allocations: 195.8 kB / 0.9104 GB, free: 23.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001617/1.672, allocations: 1.333 MB / 0.9117 GB, free: 22.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/1.672, allocations: 0 / 0.9117 GB, free: 22.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003421/1.676, allocations: 0.9137 MB / 0.9126 GB, free: 21.41 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.0008887/1.677, allocations: 428.7 kB / 0.913 GB, free: 20.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.687, allocations: 5.317 MB / 0.9182 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.687, allocations: 192 / 0.9182 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007155/1.695, allocations: 3.069 MB / 0.9212 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/1.697, allocations: 481.5 kB / 0.9217 GB, free: 12.07 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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.212456387991551] Failed to read output from testmodel.py, exit status != 0: 1.7062833840027452 1.715341115 1.020339841 Calling exit ...