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.001417/0.001417, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001807/0.001807, allocations: 222.7 kB / 22.26 MB, free: 5.215 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 8.008 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.1653/0.1653, allocations: 23.85 MB / 336.3 MB, free: 11.18 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.002033/0.002033, allocations: 71.89 kB / 471.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4393, allocations: 59.85 MB / 0.5186 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01568/0.455, allocations: 13.63 MB / 0.5319 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2252/0.6801, allocations: 147.1 MB / 0.6755 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00491/0.685, allocations: 39.81 kB / 0.6756 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.006014/0.6911, allocations: 1.27 MB / 0.6768 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00764/0.6987, allocations: 1.299 MB / 0.6781 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007329/0.706, allocations: 1.677 MB / 0.6797 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009615/0.7156, allocations: 3.725 MB / 0.6833 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.7182, allocations: 0.7288 MB / 0.6841 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.7218, allocations: 1.284 MB / 0.6853 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004347/0.7261, allocations: 1.517 MB / 0.6868 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0018/0.7279, allocations: 336 kB / 0.6871 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008702/0.7366, allocations: 1.88 MB / 0.689 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001755/0.7384, allocations: 0.9888 MB / 0.6899 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004543/0.7429, allocations: 1.908 MB / 0.6918 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01507/0.758, allocations: 5.74 MB / 0.6974 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.758, allocations: 0 / 0.6974 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.494e-06/0.758, allocations: 0 / 0.6974 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002702/0.7583, allocations: 0 / 0.6974 GB, free: 2.289 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.01311/0.7714, allocations: 3.998 MB / 0.7013 GB, free: 14.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/0.7715, allocations: 12.03 kB / 0.7013 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001854/0.7733, allocations: 0.4996 MB / 0.7018 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/0.776, allocations: 0.697 MB / 0.7025 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004004/0.78, allocations: 1.711 MB / 0.7041 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007208/0.7807, allocations: 0.5558 MB / 0.7047 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000503/0.7812, allocations: 324.3 kB / 0.705 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01716/0.7983, allocations: 12.34 MB / 0.717 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-05/0.7984, allocations: 0 / 0.717 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/0.7987, allocations: 140 kB / 0.7172 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005847/0.7993, allocations: 499.5 kB / 0.7177 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3589/1.158, 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.05003/1.208, allocations: 31.07 MB / 0.7689 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005759/1.214, allocations: 5.377 MB / 0.7741 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004223/1.218, allocations: 4.301 MB / 0.7783 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002312/1.22, allocations: 0.7986 MB / 0.7791 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/1.22, allocations: 51.88 kB / 0.7791 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 4.268e-06/1.22, allocations: 1.969 kB / 0.7791 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1505/1.371, allocations: 48.32 MB / 0.8263 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1606/1.532, allocations: 61.25 MB / 0.8861 GB, free: 52.13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004044/1.536, allocations: 3.751 MB / 0.8898 GB, free: 48.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001206/1.537, allocations: 65.8 kB / 0.8899 GB, free: 48.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000964/1.538, allocations: 1.62 MB / 0.8915 GB, free: 46.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001156/1.539, allocations: 0.8094 MB / 0.8922 GB, free: 45.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001744/1.541, allocations: 0.7734 MB / 0.893 GB, free: 45.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.575e-05/1.541, allocations: 305.1 kB / 0.8933 GB, free: 44.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007526/1.548, allocations: 7.493 MB / 0.9006 GB, free: 37.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008093/1.556, allocations: 7.85 MB / 0.9083 GB, free: 29.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2305/1.787, allocations: 44.09 MB / 0.9513 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/1.787, allocations: 3.938 kB / 0.9513 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.3344/2.121, allocations: 20.72 MB / 0.9716 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/2.121, allocations: 8.359 kB / 0.9716 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.088e-05/2.121, allocations: 8.312 kB / 0.9716 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04166/2.163, allocations: 10.51 MB / 0.9818 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006735/2.17, allocations: 0.9633 MB / 0.9828 GB, free: 189.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06185/2.232, allocations: 41.91 MB / 1.024 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005953/2.237, allocations: 255.6 kB / 1.024 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/2.239, allocations: 0.5309 MB / 1.024 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.003427/2.242, allocations: 0.8854 MB / 1.025 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0019/2.244, allocations: 341.8 kB / 1.026 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04042/2.285, allocations: 14.07 MB / 1.039 GB, free: 135 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03617/2.321, allocations: 11.52 MB / 1.051 GB, free: 123.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.663e-05/2.321, allocations: 7.938 kB / 1.051 GB, free: 123.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001112/2.321, allocations: 15.95 kB / 1.051 GB, free: 123.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.052/2.373, allocations: 23.37 MB / 1.073 GB, free: 99.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.28e-05/2.373, allocations: 4 kB / 1.074 GB, free: 99.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004661/2.378, allocations: 0.4955 MB / 1.074 GB, free: 99.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07577/2.453, allocations: 10.89 MB / 1.085 GB, free: 88.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001073/2.455, allocations: 139.8 kB / 1.085 GB, free: 88.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03733/2.492, allocations: 20.11 MB / 1.104 GB, free: 67.66 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.09056/2.582, allocations: 20.25 MB / 1.124 GB, free: 47.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03839/2.621, allocations: 17.79 MB / 1.142 GB, free: 29.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/2.622, allocations: 461.7 kB / 1.142 GB, free: 28.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/2.623, allocations: 54.23 kB / 1.142 GB, free: 28.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004213/2.627, allocations: 183.7 kB / 1.142 GB, free: 28.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/2.628, allocations: 289.4 kB / 1.142 GB, free: 28.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004656/2.629, allocations: 251.8 kB / 1.143 GB, free: 28.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003852/2.633, allocations: 3.43 MB / 1.146 GB, free: 24.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/2.633, allocations: 0 / 1.146 GB, free: 24.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0047/2.637, allocations: 1.486 MB / 1.148 GB, free: 23.16 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.03774/2.675, allocations: 17.38 MB / 1.164 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2968/2.972, allocations: 11.61 MB / 1.176 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/2.972, allocations: 0 / 1.176 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01313/2.985, allocations: 4.748 MB / 1.18 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00419/2.989, allocations: 0.7182 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: 5.759032916976139] Failed to read output from testmodel.py, exit status != 0: 2.9985158268827945 3.012826877 2.251514136 Calling exit ...