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.00148/0.00148, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001973/0.001973, allocations: 213.5 kB / 23.04 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.1626/0.1626, allocations: 23.85 MB / 337.1 MB, free: 11.2 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: "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="cs",version="2.0",platforms={"static"}) [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.002361/0.002361, allocations: 63.91 kB / 471.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4315, allocations: 59.86 MB / 0.5193 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01318/0.4446, allocations: 13.64 MB / 0.5327 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2138/0.6585, allocations: 147.1 MB / 0.6763 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004018/0.6625, allocations: 39.81 kB / 0.6763 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.005236/0.6677, allocations: 1.285 MB / 0.6776 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006978/0.6747, allocations: 1.323 MB / 0.6789 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006406/0.6811, allocations: 1.692 MB / 0.6805 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008231/0.6894, allocations: 3.722 MB / 0.6842 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002365/0.6917, allocations: 0.7287 MB / 0.6849 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004314/0.696, allocations: 1.284 MB / 0.6861 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/0.6997, allocations: 1.521 MB / 0.6876 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.7009, allocations: 336 kB / 0.6879 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006271/0.7071, allocations: 1.873 MB / 0.6898 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001713/0.7088, allocations: 0.9965 MB / 0.6908 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003889/0.7127, allocations: 1.904 MB / 0.6926 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.7253, allocations: 5.74 MB / 0.6982 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7253, allocations: 0 / 0.6982 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7253, allocations: 0 / 0.6982 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002199/0.7256, allocations: 4 kB / 0.6982 GB, free: 2.25 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.01144/0.737, allocations: 3.998 MB / 0.7021 GB, free: 14.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.737, allocations: 12.03 kB / 0.7021 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001321/0.7372, allocations: 90.62 kB / 0.7022 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001183/0.7384, allocations: 0.4996 MB / 0.7027 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.7408, allocations: 0.6931 MB / 0.7034 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004477/0.7452, allocations: 1.711 MB / 0.7051 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009054/0.7462, allocations: 0.5558 MB / 0.7056 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008956/0.747, allocations: 336 kB / 0.7059 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0176/0.7646, allocations: 12.34 MB / 0.718 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.601e-05/0.7647, allocations: 0 / 0.718 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002782/0.765, allocations: 124 kB / 0.7181 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006042/0.7656, allocations: 0.4956 MB / 0.7186 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3005/1.066, allocations: 21.36 MB / 0.7394 GB, free: 189.4 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.04471/1.111, allocations: 31.08 MB / 0.7698 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005871/1.117, allocations: 5.369 MB / 0.775 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004478/1.121, allocations: 4.31 MB / 0.7792 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002311/1.123, allocations: 0.7906 MB / 0.78 GB, free: 162 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/1.123, allocations: 55.47 kB / 0.7801 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.597e-06/1.123, allocations: 4 kB / 0.7801 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1524/1.276, allocations: 48.31 MB / 0.8272 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1683/1.444, allocations: 61.26 MB / 0.8871 GB, free: 52.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006306/1.45, allocations: 3.742 MB / 0.8907 GB, free: 48.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001324/1.452, allocations: 65.78 kB / 0.8908 GB, free: 48.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/1.453, allocations: 1.625 MB / 0.8924 GB, free: 46.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001972/1.455, allocations: 0.8094 MB / 0.8932 GB, free: 45.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002883/1.458, allocations: 0.7773 MB / 0.8939 GB, free: 45.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.697e-05/1.458, allocations: 301.1 kB / 0.8942 GB, free: 44.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007825/1.466, allocations: 7.497 MB / 0.9015 GB, free: 37.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008545/1.474, allocations: 7.843 MB / 0.9092 GB, free: 29.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2341/1.708, allocations: 44.08 MB / 0.9522 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/1.709, allocations: 4 kB / 0.9522 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.3316/2.04, allocations: 20.71 MB / 0.9725 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/2.04, allocations: 9.781 kB / 0.9725 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/2.04, allocations: 10.41 kB / 0.9725 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03972/2.08, allocations: 10.52 MB / 0.9828 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006376/2.086, allocations: 0.9554 MB / 0.9837 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05374/2.14, allocations: 41.91 MB / 1.025 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005925/2.146, allocations: 266 kB / 1.025 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/2.147, allocations: 0.527 MB / 1.025 GB, free: 150.2 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.00254/2.15, allocations: 0.8804 MB / 1.026 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/2.151, allocations: 337.8 kB / 1.027 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03667/2.188, allocations: 14.07 MB / 1.04 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03249/2.22, allocations: 11.52 MB / 1.052 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/2.22, allocations: 11.94 kB / 1.052 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-05/2.22, allocations: 11.95 kB / 1.052 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04551/2.266, allocations: 23.37 MB / 1.074 GB, free: 99.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/2.266, allocations: 4 kB / 1.074 GB, free: 99.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004516/2.27, allocations: 0.4994 MB / 1.075 GB, free: 99.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07485/2.345, allocations: 10.88 MB / 1.086 GB, free: 88.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009862/2.346, allocations: 143.8 kB / 1.086 GB, free: 88.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03692/2.383, allocations: 20.1 MB / 1.105 GB, free: 67.59 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.09063/2.474, allocations: 20.27 MB / 1.125 GB, free: 47.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04021/2.514, allocations: 17.78 MB / 1.142 GB, free: 29.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/2.515, allocations: 467.8 kB / 1.143 GB, free: 28.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001512/2.517, allocations: 54.23 kB / 1.143 GB, free: 28.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004306/2.521, allocations: 179.7 kB / 1.143 GB, free: 28.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/2.522, allocations: 293.4 kB / 1.143 GB, free: 28.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004817/2.523, allocations: 251.8 kB / 1.144 GB, free: 27.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003892/2.526, allocations: 3.434 MB / 1.147 GB, free: 24.53 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/2.526, allocations: 0 / 1.147 GB, free: 24.53 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004985/2.531, allocations: 1.481 MB / 1.148 GB, free: 23.07 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.03726/2.569, allocations: 17.37 MB / 1.165 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2775/2.846, allocations: 11.62 MB / 1.177 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/2.846, allocations: 3.812 kB / 1.177 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01203/2.858, allocations: 4.739 MB / 1.181 GB, free: 195 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004147/2.862, allocations: 0.7162 MB / 1.182 GB, free: 194.8 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 657] [Calling sys.exit(0), Time elapsed: 5.570143393008038] Failed to read output from testmodel.py, exit status != 0: 2.872011575032957 2.884302634 2.155832937 Calling exit ...