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.001254/0.001254, 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.001412/0.001412, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1672/0.1672, allocations: 23.89 MB / 337.1 MB, free: 10.98 MB / 270.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_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.00203/0.00203, allocations: 67.91 kB / 471.9 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4124, allocations: 59.87 MB / 0.5193 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01239/0.4248, allocations: 11.54 MB / 0.5306 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1935/0.6183, allocations: 126 MB / 0.6537 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003979/0.6223, allocations: 47.75 kB / 0.6537 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004909/0.6272, allocations: 1.196 MB / 0.6549 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005518/0.6327, allocations: 1.315 MB / 0.6562 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005412/0.6381, allocations: 1.63 MB / 0.6577 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007892/0.646, allocations: 3.716 MB / 0.6614 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.6475, allocations: 0.7248 MB / 0.6621 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.6498, allocations: 1.292 MB / 0.6633 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.652, allocations: 1.525 MB / 0.6648 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004904/0.6525, allocations: 336 kB / 0.6652 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004336/0.6568, allocations: 1.295 MB / 0.6664 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.6579, allocations: 0.9927 MB / 0.6674 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001935/0.6598, allocations: 1.445 MB / 0.6688 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009696/0.6695, allocations: 5.588 MB / 0.6743 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.6695, allocations: 7.938 kB / 0.6743 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6695, allocations: 0 / 0.6743 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001243/0.6696, allocations: 0 / 0.6743 GB, free: 10.59 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.007916/0.6775, allocations: 3.998 MB / 0.6782 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.6776, allocations: 8.031 kB / 0.6782 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.605e-05/0.6777, allocations: 90.62 kB / 0.6783 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006188/0.6783, allocations: 0.5034 MB / 0.6788 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/0.6808, allocations: 0.7906 MB / 0.6795 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002962/0.6838, allocations: 1.719 MB / 0.6812 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006067/0.6844, allocations: 0.5597 MB / 0.6818 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004694/0.6849, allocations: 324.1 kB / 0.6821 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.701, allocations: 12.37 MB / 0.6941 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.933e-05/0.7011, allocations: 3.938 kB / 0.6941 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/0.7013, allocations: 136 kB / 0.6943 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006646/0.702, allocations: 495.5 kB / 0.6947 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02867/0.7307, allocations: 21.41 MB / 0.7157 GB, free: 28 kB / 0.545 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.3546/1.085, allocations: 29.15 MB / 0.7441 GB, free: 183.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008564/1.094, allocations: 5.391 MB / 0.7494 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006467/1.1, allocations: 4.337 MB / 0.7536 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002257/1.103, allocations: 0.7038 MB / 0.7543 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/1.103, allocations: 51.08 kB / 0.7544 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 4.528e-06/1.103, allocations: 0 / 0.7544 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.159/1.262, allocations: 48.56 MB / 0.8018 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1661/1.428, allocations: 60.35 MB / 0.8607 GB, free: 78.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004195/1.432, allocations: 3.759 MB / 0.8644 GB, free: 74.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009963/1.433, allocations: 61.7 kB / 0.8644 GB, free: 74.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009236/1.434, allocations: 1.616 MB / 0.866 GB, free: 73.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.435, allocations: 0.8139 MB / 0.8668 GB, free: 72.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002044/1.437, allocations: 0.7774 MB / 0.8676 GB, free: 71.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.942e-05/1.437, allocations: 309.1 kB / 0.8679 GB, free: 71.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008039/1.445, allocations: 7.528 MB / 0.8752 GB, free: 63.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008506/1.454, allocations: 7.882 MB / 0.8829 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2131/1.667, allocations: 42.62 MB / 0.9245 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/1.667, allocations: 4 kB / 0.9245 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04751/1.714, allocations: 20.82 MB / 0.9449 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/1.714, allocations: 10.81 kB / 0.9449 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/1.714, allocations: 8 kB / 0.9449 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2974/2.012, allocations: 10.52 MB / 0.9552 GB, free: 196 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007087/2.019, allocations: 0.9778 MB / 0.9561 GB, free: 196 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06392/2.083, allocations: 41.32 MB / 0.9965 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005923/2.089, allocations: 272.8 kB / 0.9967 GB, free: 176.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/2.09, allocations: 0.53 MB / 0.9972 GB, free: 176.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.003068/2.093, allocations: 0.885 MB / 0.9981 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/2.094, allocations: 338.8 kB / 0.9984 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03724/2.132, allocations: 14.02 MB / 1.012 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03186/2.163, allocations: 11.47 MB / 1.023 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.242e-05/2.163, allocations: 4 kB / 1.023 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.344e-05/2.164, allocations: 11.95 kB / 1.023 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04648/2.21, allocations: 21.59 MB / 1.044 GB, free: 130.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.041e-05/2.21, allocations: 7.562 kB / 1.044 GB, free: 130.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004426/2.214, allocations: 0.5145 MB / 1.045 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0757/2.29, allocations: 10.87 MB / 1.056 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008337/2.291, allocations: 135.9 kB / 1.056 GB, free: 118.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03527/2.326, allocations: 19.7 MB / 1.075 GB, free: 98.57 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.09292/2.419, allocations: 19.96 MB / 1.094 GB, free: 78.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0383/2.457, allocations: 17.88 MB / 1.112 GB, free: 60.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/2.459, allocations: 477.6 kB / 1.112 GB, free: 59.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/2.46, allocations: 48.97 kB / 1.112 GB, free: 59.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004081/2.464, allocations: 199.7 kB / 1.113 GB, free: 59.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001114/2.465, allocations: 289.4 kB / 1.113 GB, free: 59.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004727/2.466, allocations: 247.8 kB / 1.113 GB, free: 59.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003658/2.469, allocations: 3.43 MB / 1.116 GB, free: 55.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/2.469, allocations: 3.938 kB / 1.116 GB, free: 55.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00511/2.474, allocations: 1.49 MB / 1.118 GB, free: 54.23 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.03858/2.513, allocations: 17.44 MB / 1.135 GB, free: 36.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01811/2.531, allocations: 11.69 MB / 1.146 GB, free: 25.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/2.531, allocations: 1.812 kB / 1.146 GB, free: 25.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01087/2.542, allocations: 4.783 MB / 1.151 GB, free: 20.22 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004293/2.546, allocations: 0.7199 MB / 1.152 GB, free: 19.53 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.316794304992072] Failed to read output from testmodel.py, exit status != 0: 2.5553797379834577 2.5652339189999998 1.893298756 Calling exit ...