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.001803/0.001803, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00229/0.00229, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.543/1.543, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1439/0.1439, allocations: 23.89 MB / 333.4 MB, free: 1.176 MB / 254.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.001914/0.001914, allocations: 72.25 kB / 466.7 MB, free: 30.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.1017, allocations: 59.83 MB / 0.5142 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01578/0.1175, allocations: 13.62 MB / 0.5275 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.4027/0.5202, allocations: 147.1 MB / 0.6712 GB, free: 8.176 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.5222, allocations: 39.31 kB / 0.6712 GB, free: 8.164 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003447/0.5256, allocations: 1.287 MB / 0.6725 GB, free: 7.266 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003656/0.5293, allocations: 1.31 MB / 0.6737 GB, free: 6.18 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003771/0.533, allocations: 1.688 MB / 0.6754 GB, free: 4.816 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005239/0.5383, allocations: 3.721 MB / 0.679 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.5396, allocations: 0.7752 MB / 0.6798 GB, free: 1.633 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.5415, allocations: 1.288 MB / 0.681 GB, free: 348 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/0.5438, allocations: 1.529 MB / 0.6825 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005526/0.5443, allocations: 336 kB / 0.6828 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004585/0.5489, allocations: 1.869 MB / 0.6847 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.55, allocations: 0.981 MB / 0.6856 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002501/0.5525, allocations: 1.919 MB / 0.6875 GB, free: 9.691 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00896/0.5615, allocations: 5.729 MB / 0.6931 GB, free: 3.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5615, allocations: 0 / 0.6931 GB, free: 3.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5615, allocations: 4 kB / 0.6931 GB, free: 3.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001212/0.5616, allocations: 0 / 0.6931 GB, free: 3.938 MB / 494.1 MB 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.008392/0.57, allocations: 4.073 MB / 0.6971 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.57, allocations: 12.03 kB / 0.6971 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001004/0.5701, allocations: 90.62 kB / 0.6972 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006458/0.5708, allocations: 0.5073 MB / 0.6977 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.5726, allocations: 0.69 MB / 0.6983 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.5755, allocations: 1.773 MB / 0.7001 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005478/0.5761, allocations: 480 kB / 0.7005 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000466/0.5765, allocations: 324.3 kB / 0.7008 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01464/0.5912, allocations: 11.82 MB / 0.7124 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.301e-05/0.5912, allocations: 0 / 0.7124 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002778/0.5915, allocations: 132 kB / 0.7125 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005848/0.5921, allocations: 0.4917 MB / 0.713 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/0.6156, allocations: 20.47 MB / 0.733 GB, free: 10.92 MB / 0.5294 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.04878/0.6644, allocations: 30.54 MB / 0.7628 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008229/0.6726, allocations: 5.31 MB / 0.768 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006132/0.6788, allocations: 4.253 MB / 0.7721 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003308/0.6821, allocations: 1.833 MB / 0.7739 GB, free: 360 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.6821, allocations: 51.86 kB / 0.774 GB, free: 300 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.356e-06/0.6821, allocations: 3.938 kB / 0.774 GB, free: 296 kB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.4427/1.125, allocations: 48.29 MB / 0.8211 GB, free: 132.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1812/1.306, allocations: 61.02 MB / 0.8807 GB, free: 105.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003749/1.31, allocations: 3.73 MB / 0.8844 GB, free: 101.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0009652/1.311, allocations: 69.55 kB / 0.8845 GB, free: 101.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008203/1.311, allocations: 1.617 MB / 0.886 GB, free: 100.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/1.313, allocations: 0.8154 MB / 0.8868 GB, free: 99.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/1.315, allocations: 0.7737 MB / 0.8876 GB, free: 98.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.355e-05/1.315, allocations: 305.7 kB / 0.8879 GB, free: 98.61 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007502/1.322, allocations: 7.373 MB / 0.8951 GB, free: 91.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007872/1.33, allocations: 7.719 MB / 0.9026 GB, free: 83.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2382/1.568, allocations: 43.96 MB / 0.9455 GB, free: 39.71 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.568, allocations: 4 kB / 0.9455 GB, free: 39.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04463/1.613, allocations: 20.43 MB / 0.9655 GB, free: 19.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/1.613, allocations: 8 kB / 0.9655 GB, free: 19.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/1.613, allocations: 8 kB / 0.9655 GB, free: 19.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03923/1.652, allocations: 10.37 MB / 0.9756 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006604/1.659, allocations: 0.9682 MB / 0.9766 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07046/1.729, allocations: 41.57 MB / 1.017 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005773/1.735, allocations: 267.7 kB / 1.017 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/1.736, allocations: 0.527 MB / 1.018 GB, free: 13.2 MB / 0.6544 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.002573/1.739, allocations: 0.8797 MB / 1.019 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/1.74, allocations: 345.7 kB / 1.019 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04643/1.786, allocations: 14.05 MB / 1.033 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03994/1.826, allocations: 11.5 MB / 1.044 GB, free: 2.445 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.683e-05/1.826, allocations: 7.938 kB / 1.044 GB, free: 2.438 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.967e-05/1.826, allocations: 11.95 kB / 1.044 GB, free: 2.426 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05551/1.882, allocations: 23.36 MB / 1.067 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-05/1.882, allocations: 4 kB / 1.067 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004891/1.887, allocations: 0.4943 MB / 1.067 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3137/2.201, allocations: 10.88 MB / 1.078 GB, free: 321.2 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008033/2.201, allocations: 142.3 kB / 1.078 GB, free: 321.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04083/2.242, allocations: 20.42 MB / 1.098 GB, free: 312.3 MB / 0.7012 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.09795/2.34, allocations: 20.45 MB / 1.118 GB, free: 303.6 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03997/2.38, allocations: 17.74 MB / 1.135 GB, free: 290.5 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/2.381, allocations: 0.5308 MB / 1.136 GB, free: 290 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/2.382, allocations: 63.16 kB / 1.136 GB, free: 290 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004948/2.387, allocations: 183.8 kB / 1.136 GB, free: 289.8 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00152/2.389, allocations: 288.9 kB / 1.136 GB, free: 289.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005386/2.389, allocations: 247.8 kB / 1.137 GB, free: 289.3 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003453/2.393, allocations: 3.421 MB / 1.14 GB, free: 285.9 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/2.393, allocations: 0 / 1.14 GB, free: 285.9 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004294/2.397, allocations: 1.488 MB / 1.141 GB, free: 284.4 MB / 0.7012 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.03696/2.434, allocations: 17.32 MB / 1.158 GB, free: 267.1 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0162/2.45, allocations: 11.49 MB / 1.17 GB, free: 255.6 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/2.45, allocations: 0 / 1.17 GB, free: 255.6 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.009729/2.46, allocations: 4.75 MB / 1.174 GB, free: 250.9 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/2.463, allocations: 0.7182 MB / 1.175 GB, free: 250.2 MB / 0.7012 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818: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: 5.105322847957723] Failed to read output from testmodel.py, exit status != 0: 2.4704342230106704 2.479985765 1.916214664 Calling exit ...