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.001393/0.001393, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001459/0.001459, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1417/0.1417, allocations: 23.91 MB / 337.1 MB, free: 10.96 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.002033/0.002033, allocations: 59.91 kB / 471.9 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2993, allocations: 59.87 MB / 0.5193 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01105/0.3104, allocations: 11.54 MB / 0.5306 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1667/0.4771, allocations: 126 MB / 0.6537 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00368/0.4807, allocations: 39.81 kB / 0.6537 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00475/0.4855, allocations: 1.196 MB / 0.6549 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005702/0.4912, allocations: 1.33 MB / 0.6562 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004745/0.4959, allocations: 1.626 MB / 0.6578 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006581/0.5025, allocations: 3.72 MB / 0.6614 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.5038, allocations: 0.7209 MB / 0.6621 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.5057, allocations: 1.296 MB / 0.6634 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.508, allocations: 1.521 MB / 0.6649 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005982/0.5086, allocations: 336 kB / 0.6652 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/0.5122, allocations: 1.299 MB / 0.6665 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009497/0.5132, allocations: 0.9849 MB / 0.6674 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.515, allocations: 1.457 MB / 0.6689 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008929/0.524, allocations: 5.584 MB / 0.6743 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.524, allocations: 0 / 0.6743 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.995e-06/0.524, allocations: 0 / 0.6743 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000145/0.5241, allocations: 0 / 0.6743 GB, free: 10.52 MB / 0.5137 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.007408/0.5315, allocations: 3.998 MB / 0.6782 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.5316, allocations: 16.03 kB / 0.6782 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.686e-05/0.5317, allocations: 86.62 kB / 0.6783 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006051/0.5323, allocations: 0.4995 MB / 0.6788 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/0.5348, allocations: 0.7945 MB / 0.6796 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.5377, allocations: 1.711 MB / 0.6813 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005789/0.5383, allocations: 0.5636 MB / 0.6818 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004714/0.5388, allocations: 332 kB / 0.6821 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01507/0.5539, allocations: 12.37 MB / 0.6942 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.399e-05/0.5539, allocations: 0 / 0.6942 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/0.5542, allocations: 132 kB / 0.6943 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005547/0.5547, allocations: 495.5 kB / 0.6948 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0244/0.5791, allocations: 21.41 MB / 0.7157 GB, free: 15.96 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.2392/0.8183, allocations: 29.14 MB / 0.7442 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006933/0.8252, allocations: 5.399 MB / 0.7494 GB, free: 180 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005452/0.8307, allocations: 4.332 MB / 0.7537 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002003/0.8327, allocations: 0.7033 MB / 0.7544 GB, free: 178 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.8327, allocations: 50.34 kB / 0.7544 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 4.538e-06/0.8327, allocations: 3.094 kB / 0.7544 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.2185/1.051, allocations: 48.56 MB / 0.8018 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1684/1.22, allocations: 60.35 MB / 0.8608 GB, free: 77.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/1.223, allocations: 3.759 MB / 0.8644 GB, free: 73.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008398/1.224, allocations: 61.7 kB / 0.8645 GB, free: 73.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008668/1.225, allocations: 1.618 MB / 0.8661 GB, free: 72.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/1.226, allocations: 0.8096 MB / 0.8669 GB, free: 71.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002083/1.228, allocations: 0.7798 MB / 0.8676 GB, free: 70.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 2.998e-05/1.228, allocations: 301.1 kB / 0.8679 GB, free: 70.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007866/1.236, allocations: 7.538 MB / 0.8753 GB, free: 63.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0082/1.244, allocations: 7.878 MB / 0.883 GB, free: 55.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2137/1.458, allocations: 42.61 MB / 0.9246 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/1.458, allocations: 0 / 0.9246 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04767/1.506, allocations: 20.82 MB / 0.9449 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/1.506, allocations: 8.188 kB / 0.9449 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/1.506, allocations: 12 kB / 0.9449 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2968/1.803, allocations: 10.51 MB / 0.9552 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006803/1.809, allocations: 0.9675 MB / 0.9561 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06034/1.87, allocations: 41.33 MB / 0.9965 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005423/1.875, allocations: 281.1 kB / 0.9968 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009827/1.876, allocations: 0.5263 MB / 0.9973 GB, free: 175.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.002153/1.878, allocations: 0.8862 MB / 0.9981 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.879, allocations: 342.3 kB / 0.9985 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03666/1.916, allocations: 14.01 MB / 1.012 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0319/1.948, allocations: 11.47 MB / 1.023 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.981e-05/1.948, allocations: 10.73 kB / 1.023 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.201e-05/1.948, allocations: 11.95 kB / 1.023 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0446/1.993, allocations: 21.6 MB / 1.044 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/1.993, allocations: 4 kB / 1.044 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004401/1.997, allocations: 0.5108 MB / 1.045 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07693/2.074, allocations: 10.87 MB / 1.056 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008067/2.075, allocations: 143.8 kB / 1.056 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03492/2.11, allocations: 19.7 MB / 1.075 GB, free: 97.29 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.08991/2.2, allocations: 19.95 MB / 1.094 GB, free: 77.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03869/2.238, allocations: 17.87 MB / 1.112 GB, free: 59.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009923/2.239, allocations: 467.6 kB / 1.112 GB, free: 58.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009477/2.24, allocations: 58.19 kB / 1.112 GB, free: 58.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004237/2.244, allocations: 195.7 kB / 1.113 GB, free: 58.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001083/2.246, allocations: 297.4 kB / 1.113 GB, free: 58.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004833/2.246, allocations: 251.8 kB / 1.113 GB, free: 57.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003686/2.25, allocations: 3.434 MB / 1.116 GB, free: 54.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/2.25, allocations: 4 kB / 1.116 GB, free: 54.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004868/2.255, allocations: 1.486 MB / 1.118 GB, free: 52.96 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.03737/2.292, allocations: 17.44 MB / 1.135 GB, free: 35.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01695/2.309, allocations: 11.7 MB / 1.146 GB, free: 23.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/2.309, allocations: 0 / 1.146 GB, free: 23.76 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009798/2.319, allocations: 4.775 MB / 1.151 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/2.322, allocations: 0.712 MB / 1.152 GB, free: 18.26 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 658] [Calling sys.exit(0), Time elapsed: 4.7380771529860795] Failed to read output from testmodel.py, exit status != 0: 2.3297949159750715 2.339513996 1.81310021 Calling exit ...