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.001542/0.001542, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001738/0.001738, allocations: 214.8 kB / 23.01 MB, free: 4.566 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.1341/0.1341, allocations: 23.85 MB / 337 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.002166/0.002166, allocations: 75.89 kB / 472.4 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3244, allocations: 59.86 MB / 0.5198 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01148/0.3359, allocations: 13.63 MB / 0.5331 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1785/0.5144, allocations: 147.1 MB / 0.6768 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.517, allocations: 39.81 kB / 0.6768 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004176/0.5211, allocations: 1.26 MB / 0.678 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004489/0.5256, allocations: 1.315 MB / 0.6793 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004631/0.5303, allocations: 1.665 MB / 0.6809 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00821/0.5385, allocations: 3.727 MB / 0.6846 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.5404, allocations: 0.7249 MB / 0.6853 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.543, allocations: 1.288 MB / 0.6865 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003238/0.5462, allocations: 1.521 MB / 0.688 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009016/0.5471, allocations: 336 kB / 0.6883 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006138/0.5533, allocations: 1.876 MB / 0.6902 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0019/0.5552, allocations: 0.9888 MB / 0.6911 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003556/0.5587, allocations: 1.908 MB / 0.693 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.571, allocations: 5.736 MB / 0.6986 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.571, allocations: 0 / 0.6986 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.571, allocations: 0 / 0.6986 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000145/0.5712, allocations: 0 / 0.6986 GB, free: 2.289 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.008141/0.5793, allocations: 4.005 MB / 0.7025 GB, free: 14.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.5794, allocations: 15.97 kB / 0.7025 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.5813, allocations: 0.6892 MB / 0.7032 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/0.5844, allocations: 1.715 MB / 0.7049 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005686/0.585, allocations: 0.5597 MB / 0.7054 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004905/0.5855, allocations: 324.3 kB / 0.7057 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/0.6007, allocations: 12.34 MB / 0.7178 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.833e-05/0.6008, allocations: 8 kB / 0.7178 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004092/0.6012, allocations: 132 kB / 0.7179 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005759/0.6018, allocations: 0.4917 MB / 0.7184 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2298/0.8316, allocations: 21.36 MB / 0.7393 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.03728/0.8689, allocations: 31.07 MB / 0.7696 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005326/0.8742, allocations: 5.375 MB / 0.7749 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003816/0.878, allocations: 4.308 MB / 0.7791 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002256/0.8803, allocations: 0.7953 MB / 0.7798 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.8803, allocations: 47.88 kB / 0.7799 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 4.077e-06/0.8803, allocations: 0 / 0.7799 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1417/1.022, allocations: 48.32 MB / 0.8271 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.166/1.188, allocations: 61.25 MB / 0.8869 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003721/1.192, allocations: 3.75 MB / 0.8906 GB, free: 49.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/1.193, allocations: 65.69 kB / 0.8906 GB, free: 48.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008742/1.194, allocations: 1.62 MB / 0.8922 GB, free: 47.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001028/1.195, allocations: 0.8094 MB / 0.893 GB, free: 46.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001813/1.196, allocations: 0.7734 MB / 0.8937 GB, free: 45.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.141e-05/1.196, allocations: 305.1 kB / 0.894 GB, free: 45.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007568/1.204, allocations: 7.5 MB / 0.9014 GB, free: 38.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007942/1.212, allocations: 7.843 MB / 0.909 GB, free: 30.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.234/1.446, allocations: 44.09 MB / 0.9521 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/1.446, allocations: 4 kB / 0.9521 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.2642/1.71, allocations: 20.71 MB / 0.9723 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/1.71, allocations: 9 kB / 0.9723 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/1.71, allocations: 9.062 kB / 0.9723 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04016/1.75, allocations: 10.52 MB / 0.9826 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006217/1.757, allocations: 0.9613 MB / 0.9835 GB, free: 190 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05251/1.809, allocations: 41.89 MB / 1.024 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005319/1.814, allocations: 266.9 kB / 1.025 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000755/1.815, allocations: 0.5309 MB / 1.025 GB, free: 150.9 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.002353/1.818, allocations: 0.8904 MB / 1.026 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009839/1.819, allocations: 337.8 kB / 1.026 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0375/1.856, allocations: 14.07 MB / 1.04 GB, free: 135.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03299/1.889, allocations: 11.52 MB / 1.051 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/1.889, allocations: 7.938 kB / 1.051 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-05/1.889, allocations: 15.95 kB / 1.051 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04465/1.934, allocations: 23.37 MB / 1.074 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/1.934, allocations: 4 kB / 1.074 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004189/1.938, allocations: 0.4956 MB / 1.075 GB, free: 99.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07518/2.013, allocations: 10.89 MB / 1.085 GB, free: 88.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006855/2.014, allocations: 139.8 kB / 1.085 GB, free: 88.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03451/2.048, allocations: 20.11 MB / 1.105 GB, free: 68.31 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.09278/2.141, allocations: 20.25 MB / 1.125 GB, free: 47.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03854/2.18, allocations: 17.78 MB / 1.142 GB, free: 29.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/2.181, allocations: 464.2 kB / 1.143 GB, free: 29.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008823/2.182, allocations: 51.22 kB / 1.143 GB, free: 29.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00404/2.186, allocations: 187.7 kB / 1.143 GB, free: 29.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000914/2.187, allocations: 293.3 kB / 1.143 GB, free: 28.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004293/2.187, allocations: 251.8 kB / 1.143 GB, free: 28.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003338/2.19, allocations: 3.434 MB / 1.147 GB, free: 25.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/2.19, allocations: 0 / 1.147 GB, free: 25.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003565/2.194, allocations: 1.483 MB / 1.148 GB, free: 23.81 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.0008504/2.195, allocations: 441.9 kB / 1.149 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01653/2.211, allocations: 11.61 MB / 1.16 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/2.211, allocations: 4 kB / 1.16 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009795/2.221, allocations: 4.747 MB / 1.165 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/2.224, allocations: 0.7187 MB / 1.165 GB, free: 6.328 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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.769189340993762] Failed to read output from testmodel.py, exit status != 0: 2.2333228611387312 2.42352632 1.849776471 Calling exit ...