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.001677/0.001677, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001726/0.001726, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.466/1.466, 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 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.1383/0.1383, allocations: 23.89 MB / 336.3 MB, free: 10.96 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.002192/0.002192, allocations: 63.89 kB / 471.6 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3587, allocations: 59.85 MB / 0.519 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01275/0.3715, allocations: 11.55 MB / 0.5303 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1937/0.5651, allocations: 126.1 MB / 0.6534 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003627/0.5688, allocations: 43.81 kB / 0.6535 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0051/0.5739, allocations: 1.175 MB / 0.6546 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005844/0.5797, allocations: 1.311 MB / 0.6559 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006062/0.5858, allocations: 1.606 MB / 0.6575 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007535/0.5933, allocations: 3.723 MB / 0.6611 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.5949, allocations: 0.7014 MB / 0.6618 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003026/0.5979, allocations: 1.296 MB / 0.6631 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003651/0.6016, allocations: 1.31 MB / 0.6644 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001205/0.6028, allocations: 340 kB / 0.6647 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005384/0.6082, allocations: 1.26 MB / 0.6659 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001618/0.6098, allocations: 0.9888 MB / 0.6669 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002691/0.6125, allocations: 1.453 MB / 0.6683 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009592/0.6221, allocations: 5.585 MB / 0.6737 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6221, allocations: 0 / 0.6737 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.835e-06/0.6221, allocations: 0 / 0.6737 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.923e-05/0.6222, allocations: 4 kB / 0.6737 GB, free: 10.74 MB / 0.5137 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.007311/0.6295, allocations: 4.002 MB / 0.6777 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.6295, allocations: 12.03 kB / 0.6777 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/0.6321, allocations: 0.7867 MB / 0.6784 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/0.635, allocations: 1.715 MB / 0.6801 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005494/0.6355, allocations: 0.5636 MB / 0.6807 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004346/0.6359, allocations: 324.3 kB / 0.681 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.6517, allocations: 12.38 MB / 0.6931 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.424e-05/0.6517, allocations: 0 / 0.6931 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/0.652, allocations: 136 kB / 0.6932 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005842/0.6526, allocations: 499.5 kB / 0.6937 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02542/0.678, allocations: 21.37 MB / 0.7145 GB, free: 0.8164 MB / 0.545 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.3201/0.9981, allocations: 27.93 MB / 0.7418 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00732/1.005, allocations: 5.399 MB / 0.7471 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005685/1.011, allocations: 4.336 MB / 0.7513 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002081/1.013, allocations: 0.7002 MB / 0.752 GB, free: 179 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.013, allocations: 54.16 kB / 0.7521 GB, free: 179 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.867e-06/1.013, allocations: 0 / 0.7521 GB, free: 179 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1518/1.165, allocations: 48.44 MB / 0.7994 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1612/1.326, allocations: 60.24 MB / 0.8582 GB, free: 80.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/1.328, allocations: 1.815 MB / 0.86 GB, free: 78.33 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009429/1.329, allocations: 65.7 kB / 0.86 GB, free: 78.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007163/1.33, allocations: 1.667 MB / 0.8616 GB, free: 76.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009583/1.331, allocations: 0.8152 MB / 0.8624 GB, free: 76.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001708/1.332, allocations: 0.78 MB / 0.8632 GB, free: 75.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.568e-05/1.333, allocations: 309.1 kB / 0.8635 GB, free: 74.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00744/1.34, allocations: 7.525 MB / 0.8709 GB, free: 67.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007898/1.348, allocations: 7.882 MB / 0.8785 GB, free: 59.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2056/1.553, allocations: 42.62 MB / 0.9202 GB, free: 16.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/1.553, allocations: 4 kB / 0.9202 GB, free: 16.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.0445/1.598, allocations: 20.7 MB / 0.9404 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/1.598, allocations: 8 kB / 0.9404 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/1.598, allocations: 8 kB / 0.9404 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04161/1.64, allocations: 10.52 MB / 0.9507 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006377/1.646, allocations: 0.9792 MB / 0.9516 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.308/1.954, allocations: 41.25 MB / 0.9919 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004982/1.959, allocations: 280.3 kB / 0.9922 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008465/1.96, allocations: 0.5303 MB / 0.9927 GB, free: 176.7 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.002041/1.962, allocations: 0.8772 MB / 0.9935 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008489/1.963, allocations: 222.7 kB / 0.9938 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03452/1.997, allocations: 13.88 MB / 1.007 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0297/2.027, allocations: 11.47 MB / 1.019 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/2.027, allocations: 6.188 kB / 1.019 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.214e-05/2.027, allocations: 11.95 kB / 1.019 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04359/2.071, allocations: 22.02 MB / 1.04 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/2.071, allocations: 4 kB / 1.04 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004276/2.075, allocations: 0.5143 MB / 1.041 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0734/2.148, allocations: 10.88 MB / 1.051 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007438/2.149, allocations: 143.8 kB / 1.051 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03342/2.182, allocations: 19.62 MB / 1.07 GB, free: 101.8 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.08848/2.271, allocations: 19.9 MB / 1.09 GB, free: 81.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0374/2.308, allocations: 17.75 MB / 1.107 GB, free: 63.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007426/2.309, allocations: 252.5 kB / 1.107 GB, free: 63.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008464/2.31, allocations: 45.97 kB / 1.108 GB, free: 63.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003813/2.314, allocations: 203.7 kB / 1.108 GB, free: 63.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009381/2.315, allocations: 301 kB / 1.108 GB, free: 62.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004134/2.315, allocations: 251.8 kB / 1.108 GB, free: 62.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001891/2.317, allocations: 2.037 MB / 1.11 GB, free: 60.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/2.317, allocations: 0 / 1.11 GB, free: 60.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004011/2.321, allocations: 1.451 MB / 1.112 GB, free: 59.26 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.0009051/2.322, allocations: 418.9 kB / 1.112 GB, free: 58.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01647/2.338, allocations: 11.69 MB / 1.123 GB, free: 47.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/2.338, allocations: 4 kB / 1.123 GB, free: 47.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009734/2.348, allocations: 4.775 MB / 1.128 GB, free: 42.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/2.351, allocations: 0.4905 MB / 1.129 GB, free: 41.93 MB / 0.5762 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.821107534691691] Failed to read output from testmodel.py, exit status != 0: 2.359513111412525 2.369771595 1.745223366 Calling exit ...