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.001264/0.001264, allocations: 113 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.001471/0.001471, allocations: 210.1 kB / 22.25 MB, free: 5.086 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 8.035 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.1329/0.1329, allocations: 23.86 MB / 336.3 MB, free: 11.23 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me",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.002043/0.002043, allocations: 67.89 kB / 471.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3405, allocations: 59.86 MB / 0.5186 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01187/0.3523, allocations: 13.65 MB / 0.5319 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1825/0.5348, allocations: 147.1 MB / 0.6755 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/0.5376, allocations: 39.81 kB / 0.6756 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004175/0.5418, allocations: 1.258 MB / 0.6768 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004881/0.5467, allocations: 1.303 MB / 0.6781 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00506/0.5517, allocations: 1.673 MB / 0.6797 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007114/0.5588, allocations: 3.724 MB / 0.6834 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.5603, allocations: 0.7287 MB / 0.6841 GB, free: 32 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00206/0.5623, allocations: 1.292 MB / 0.6853 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/0.5652, allocations: 1.513 MB / 0.6868 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000735/0.5659, allocations: 336 kB / 0.6871 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005802/0.5717, allocations: 1.877 MB / 0.689 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.5729, allocations: 0.9926 MB / 0.6899 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002928/0.5758, allocations: 1.908 MB / 0.6918 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.587, allocations: 5.736 MB / 0.6974 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.587, allocations: 0 / 0.6974 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.314e-06/0.587, allocations: 0 / 0.6974 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001713/0.5872, allocations: 0 / 0.6974 GB, free: 2.336 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.009423/0.5966, allocations: 4.01 MB / 0.7013 GB, free: 14.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.5967, allocations: 8.031 kB / 0.7013 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006383/0.5973, allocations: 0.4918 MB / 0.7018 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.5991, allocations: 0.697 MB / 0.7025 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.6021, allocations: 1.708 MB / 0.7041 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006094/0.6027, allocations: 0.5636 MB / 0.7047 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004599/0.6032, allocations: 320.3 kB / 0.705 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/0.6184, allocations: 12.35 MB / 0.7171 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.558e-05/0.6185, allocations: 0 / 0.7171 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/0.6187, allocations: 136 kB / 0.7172 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000544/0.6193, allocations: 499.5 kB / 0.7177 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2453/0.8645, allocations: 21.36 MB / 0.7385 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.04458/0.9091, allocations: 31.08 MB / 0.7689 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005573/0.9147, allocations: 5.37 MB / 0.7741 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004207/0.9189, allocations: 4.306 MB / 0.7783 GB, free: 163 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002265/0.9211, allocations: 0.7917 MB / 0.7791 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.9212, allocations: 58 kB / 0.7792 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 4.047e-06/0.9212, allocations: 0 / 0.7792 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1444/1.066, allocations: 48.31 MB / 0.8263 GB, free: 114 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1562/1.222, allocations: 61.26 MB / 0.8862 GB, free: 52.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004058/1.226, allocations: 3.747 MB / 0.8898 GB, free: 48.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001177/1.227, allocations: 65.69 kB / 0.8899 GB, free: 48.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009677/1.228, allocations: 1.612 MB / 0.8915 GB, free: 46.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/1.229, allocations: 0.8133 MB / 0.8923 GB, free: 46.01 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/1.231, allocations: 0.7774 MB / 0.893 GB, free: 45.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.584e-05/1.231, allocations: 301.1 kB / 0.8933 GB, free: 44.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007299/1.238, allocations: 7.5 MB / 0.9006 GB, free: 37.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007864/1.246, allocations: 7.851 MB / 0.9083 GB, free: 29.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2142/1.46, allocations: 44.07 MB / 0.9513 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.46, allocations: 0 / 0.9513 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.2727/1.733, allocations: 20.72 MB / 0.9716 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/1.733, allocations: 8.781 kB / 0.9716 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/1.733, allocations: 7.625 kB / 0.9716 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03846/1.772, allocations: 10.52 MB / 0.9818 GB, free: 189.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005887/1.777, allocations: 0.962 MB / 0.9828 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05162/1.829, allocations: 41.9 MB / 1.024 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00535/1.834, allocations: 255.6 kB / 1.024 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/1.836, allocations: 0.5302 MB / 1.024 GB, free: 150.3 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.002492/1.838, allocations: 0.8822 MB / 1.025 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/1.839, allocations: 346.7 kB / 1.026 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03575/1.875, allocations: 14.07 MB / 1.039 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03179/1.907, allocations: 11.53 MB / 1.051 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.476e-05/1.907, allocations: 10.45 kB / 1.051 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.868e-05/1.907, allocations: 11.95 kB / 1.051 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0428/1.95, allocations: 23.38 MB / 1.074 GB, free: 99.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/1.95, allocations: 4 kB / 1.074 GB, free: 99.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003974/1.954, allocations: 0.4997 MB / 1.074 GB, free: 99.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06778/2.021, allocations: 10.89 MB / 1.085 GB, free: 88.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008158/2.022, allocations: 135.9 kB / 1.085 GB, free: 88.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03359/2.056, allocations: 20.1 MB / 1.104 GB, free: 67.77 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.08597/2.142, allocations: 20.27 MB / 1.124 GB, free: 47.22 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03781/2.18, allocations: 17.78 MB / 1.142 GB, free: 29.35 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/2.181, allocations: 471.6 kB / 1.142 GB, free: 28.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/2.182, allocations: 45.97 kB / 1.142 GB, free: 28.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003943/2.186, allocations: 187.7 kB / 1.142 GB, free: 28.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/2.187, allocations: 293.4 kB / 1.142 GB, free: 28.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004568/2.188, allocations: 243.8 kB / 1.143 GB, free: 28.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004018/2.192, allocations: 3.434 MB / 1.146 GB, free: 24.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.192, allocations: 0 / 1.146 GB, free: 24.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004779/2.196, allocations: 1.484 MB / 1.148 GB, free: 23.25 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.03702/2.233, allocations: 17.37 MB / 1.164 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2455/2.479, allocations: 11.62 MB / 1.176 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/2.479, allocations: 1.188 kB / 1.176 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01137/2.49, allocations: 4.748 MB / 1.18 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003575/2.494, allocations: 0.7173 MB / 1.181 GB, free: 194.9 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: 4.788837635998789] Failed to read output from testmodel.py, exit status != 0: 2.5023095450014807 2.513888502 1.923913037 Calling exit ...