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.001247/0.001247, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001391/0.001391, allocations: 217.3 kB / 22.26 MB, free: 5.078 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.368/1.368, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.1315/0.1315, allocations: 23.85 MB / 336.3 MB, free: 11.21 MB / 270.1 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: 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.002043/0.002043, allocations: 63.91 kB / 471.6 MB, free: 7.219 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2772, allocations: 59.86 MB / 0.519 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01055/0.2878, allocations: 13.64 MB / 0.5324 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1706/0.4584, allocations: 147.1 MB / 0.676 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.4602, allocations: 39.81 kB / 0.676 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003291/0.4635, allocations: 1.26 MB / 0.6773 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003196/0.4667, allocations: 1.303 MB / 0.6786 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003637/0.4703, allocations: 1.681 MB / 0.6802 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004972/0.4753, allocations: 3.716 MB / 0.6838 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.4764, allocations: 0.7249 MB / 0.6845 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.4778, allocations: 1.296 MB / 0.6858 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.4795, allocations: 1.513 MB / 0.6873 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003938/0.4799, allocations: 336 kB / 0.6876 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.4837, allocations: 1.876 MB / 0.6894 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008026/0.4845, allocations: 0.9888 MB / 0.6904 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.4862, allocations: 1.908 MB / 0.6923 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006755/0.4929, allocations: 5.74 MB / 0.6979 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4929, allocations: 0 / 0.6979 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4929, allocations: 0 / 0.6979 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.227e-05/0.493, allocations: 3.938 kB / 0.6979 GB, free: 2.246 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.006115/0.4991, allocations: 3.997 MB / 0.7018 GB, free: 14.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4991, allocations: 16.02 kB / 0.7018 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.5007, allocations: 0.6931 MB / 0.7025 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.5033, allocations: 1.711 MB / 0.7041 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005163/0.5038, allocations: 0.5675 MB / 0.7047 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004085/0.5042, allocations: 324.3 kB / 0.705 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.5175, allocations: 12.34 MB / 0.717 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.245e-05/0.5176, allocations: 0 / 0.717 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/0.5178, allocations: 136 kB / 0.7172 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005079/0.5183, allocations: 0.4917 MB / 0.7177 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.204/0.7223, allocations: 21.36 MB / 0.7385 GB, free: 190 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.03536/0.7576, allocations: 31.08 MB / 0.7689 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/0.7627, allocations: 5.369 MB / 0.7741 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003699/0.7664, allocations: 4.308 MB / 0.7783 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002113/0.7685, allocations: 0.7947 MB / 0.7791 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.7686, allocations: 47.88 kB / 0.7791 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.396e-06/0.7686, allocations: 3.719 kB / 0.7791 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1411/0.9097, allocations: 48.31 MB / 0.8263 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1561/1.066, allocations: 61.25 MB / 0.8861 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004049/1.07, allocations: 3.754 MB / 0.8898 GB, free: 48.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009325/1.071, allocations: 61.8 kB / 0.8899 GB, free: 48.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009087/1.072, allocations: 1.622 MB / 0.8914 GB, free: 47.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/1.073, allocations: 0.8094 MB / 0.8922 GB, free: 46.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0023/1.075, allocations: 0.7811 MB / 0.893 GB, free: 45.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 2.863e-05/1.075, allocations: 301.1 kB / 0.8933 GB, free: 45.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007155/1.082, allocations: 7.5 MB / 0.9006 GB, free: 37.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007356/1.09, allocations: 7.843 MB / 0.9083 GB, free: 29.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2162/1.306, allocations: 44.07 MB / 0.9513 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/1.306, allocations: 4 kB / 0.9513 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.2376/1.544, allocations: 20.71 MB / 0.9715 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/1.544, allocations: 11.31 kB / 0.9716 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/1.544, allocations: 8.844 kB / 0.9716 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03683/1.58, allocations: 10.53 MB / 0.9818 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005802/1.586, allocations: 0.9551 MB / 0.9828 GB, free: 190 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05201/1.638, allocations: 41.9 MB / 1.024 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005361/1.644, allocations: 263.7 kB / 1.024 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/1.645, allocations: 0.5304 MB / 1.024 GB, free: 150.8 MB / 0.5762 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: 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.002771/1.648, allocations: 0.8923 MB / 1.025 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.649, allocations: 341.8 kB / 1.026 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03729/1.686, allocations: 14.06 MB / 1.039 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03221/1.719, allocations: 11.52 MB / 1.051 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-05/1.719, allocations: 15.92 kB / 1.051 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.055e-05/1.719, allocations: 11.95 kB / 1.051 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04446/1.763, allocations: 23.37 MB / 1.073 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/1.763, allocations: 4 kB / 1.074 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003919/1.767, allocations: 0.4991 MB / 1.074 GB, free: 99.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07059/1.838, allocations: 10.88 MB / 1.085 GB, free: 88.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007025/1.838, allocations: 139.8 kB / 1.085 GB, free: 88.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03422/1.873, allocations: 20.1 MB / 1.104 GB, free: 68.22 MB / 0.5762 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.08691/1.959, allocations: 20.26 MB / 1.124 GB, free: 47.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03687/1.996, allocations: 17.78 MB / 1.142 GB, free: 29.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.997, allocations: 461.7 kB / 1.142 GB, free: 29.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/1.999, allocations: 54.66 kB / 1.142 GB, free: 29.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004449/2.003, allocations: 187.7 kB / 1.142 GB, free: 29.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001199/2.004, allocations: 285.4 kB / 1.142 GB, free: 28.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006614/2.005, allocations: 251.8 kB / 1.143 GB, free: 28.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004091/2.009, allocations: 3.438 MB / 1.146 GB, free: 25.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.009, allocations: 0 / 1.146 GB, free: 25.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004453/2.013, allocations: 1.484 MB / 1.148 GB, free: 23.7 MB / 0.5762 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.001175/2.015, allocations: 435.8 kB / 1.148 GB, free: 23.35 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0166/2.031, allocations: 11.63 MB / 1.159 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/2.031, allocations: 0 / 1.159 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009888/2.041, allocations: 4.751 MB / 1.164 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/2.045, allocations: 0.7148 MB / 1.165 GB, free: 6.215 MB / 0.5762 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.48404176812619] Failed to read output from testmodel.py, exit status != 0: 2.0541699298191816 2.227709417 1.732288385 Calling exit ...