Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001363/0.001363, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001483/0.001483, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1403/0.1403, allocations: 23.89 MB / 337.1 MB, free: 11.14 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Examples_WaterVaporization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_master_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.002026/0.002026, allocations: 63.91 kB / 472 MB, free: 7.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2926, allocations: 59.87 MB / 0.5194 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01132/0.304, allocations: 13.64 MB / 0.5327 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2005/0.5044, allocations: 147.1 MB / 0.6764 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002571/0.507, allocations: 39.81 kB / 0.6764 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004484/0.5115, allocations: 1.281 MB / 0.6777 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005055/0.5165, allocations: 1.319 MB / 0.6789 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005271/0.5218, allocations: 1.7 MB / 0.6806 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007256/0.529, allocations: 3.712 MB / 0.6842 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.5307, allocations: 0.7248 MB / 0.6849 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.5328, allocations: 1.296 MB / 0.6862 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.5355, allocations: 1.517 MB / 0.6877 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008357/0.5363, allocations: 336 kB / 0.688 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005223/0.5416, allocations: 1.873 MB / 0.6898 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.5428, allocations: 0.9888 MB / 0.6908 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002558/0.5454, allocations: 1.912 MB / 0.6927 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009455/0.5549, allocations: 5.733 MB / 0.6983 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5549, allocations: 4 kB / 0.6983 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5549, allocations: 0 / 0.6983 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001017/0.555, allocations: 0 / 0.6983 GB, free: 2.168 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.00855/0.5635, allocations: 4.01 MB / 0.7022 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5636, allocations: 8.031 kB / 0.7022 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001046/0.5637, allocations: 90.62 kB / 0.7023 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006244/0.5643, allocations: 499.6 kB / 0.7027 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.5661, allocations: 0.6931 MB / 0.7034 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.5692, allocations: 1.715 MB / 0.7051 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005839/0.5697, allocations: 0.5636 MB / 0.7057 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004758/0.5702, allocations: 336 kB / 0.706 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01532/0.5855, allocations: 12.33 MB / 0.718 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-05/0.5856, allocations: 0 / 0.718 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002705/0.5859, allocations: 128 kB / 0.7181 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005814/0.5864, allocations: 0.4917 MB / 0.7186 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2483/0.8347, allocations: 21.36 MB / 0.7395 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.03591/0.8706, allocations: 31.08 MB / 0.7698 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005304/0.8759, allocations: 5.378 MB / 0.7751 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003923/0.8799, allocations: 4.303 MB / 0.7793 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002181/0.882, allocations: 0.7921 MB / 0.7801 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.8821, allocations: 51.88 kB / 0.7801 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.155e-06/0.8821, allocations: 0 / 0.7801 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1544/1.037, allocations: 48.32 MB / 0.8273 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1734/1.21, allocations: 61.25 MB / 0.8871 GB, free: 51.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004914/1.215, allocations: 3.756 MB / 0.8908 GB, free: 48.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001162/1.216, allocations: 61.7 kB / 0.8908 GB, free: 48.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/1.217, allocations: 1.625 MB / 0.8924 GB, free: 46.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/1.219, allocations: 0.8133 MB / 0.8932 GB, free: 45.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002991/1.222, allocations: 0.7694 MB / 0.894 GB, free: 44.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.144e-05/1.222, allocations: 305.1 kB / 0.8943 GB, free: 44.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007961/1.23, allocations: 7.497 MB / 0.9016 GB, free: 37.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008225/1.238, allocations: 7.847 MB / 0.9092 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2428/1.481, allocations: 44.07 MB / 0.9523 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/1.481, allocations: 4 kB / 0.9523 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.2497/1.73, allocations: 20.72 MB / 0.9725 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/1.73, allocations: 8.594 kB / 0.9725 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/1.73, allocations: 7.844 kB / 0.9725 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04172/1.772, allocations: 10.52 MB / 0.9828 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006987/1.779, allocations: 0.9593 MB / 0.9837 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05679/1.836, allocations: 41.91 MB / 1.025 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005728/1.842, allocations: 251.6 kB / 1.025 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.843, allocations: 0.5309 MB / 1.025 GB, free: 149.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.002812/1.846, allocations: 0.8854 MB / 1.026 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/1.847, allocations: 341.8 kB / 1.027 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03888/1.886, allocations: 14.07 MB / 1.04 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03423/1.92, allocations: 11.52 MB / 1.052 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.492e-05/1.92, allocations: 14.45 kB / 1.052 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.578e-05/1.92, allocations: 19.94 kB / 1.052 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04721/1.968, allocations: 23.37 MB / 1.074 GB, free: 99.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-05/1.968, allocations: 8 kB / 1.074 GB, free: 99.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004677/1.972, allocations: 0.4917 MB / 1.075 GB, free: 98.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07901/2.051, allocations: 10.88 MB / 1.086 GB, free: 87.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000855/2.052, allocations: 139.8 kB / 1.086 GB, free: 87.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03652/2.089, allocations: 20.1 MB / 1.105 GB, free: 67.35 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.09388/2.183, allocations: 20.27 MB / 1.125 GB, free: 46.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0407/2.223, allocations: 17.78 MB / 1.143 GB, free: 28.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009752/2.224, allocations: 468.3 kB / 1.143 GB, free: 28.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/2.226, allocations: 50.66 kB / 1.143 GB, free: 28.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004641/2.23, allocations: 187.7 kB / 1.143 GB, free: 28.24 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001254/2.231, allocations: 292.6 kB / 1.143 GB, free: 27.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006769/2.232, allocations: 247.8 kB / 1.144 GB, free: 27.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004147/2.236, allocations: 3.434 MB / 1.147 GB, free: 24.29 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/2.236, allocations: 0 / 1.147 GB, free: 24.29 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004449/2.241, allocations: 1.484 MB / 1.148 GB, free: 22.83 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.03907/2.28, allocations: 17.36 MB / 1.165 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2353/2.515, allocations: 11.62 MB / 1.177 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/2.515, allocations: 0.9688 kB / 1.177 GB, free: 196.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01208/2.527, allocations: 4.738 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.004204/2.531, allocations: 0.7165 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: 4.954055487993173] Failed to read output from testmodel.py, exit status != 0: 2.5395278109936044 2.552958662 1.994560896 Calling exit ...