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.00174/0.00174, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002271/0.002271, allocations: 210.3 kB / 22.24 MB, free: 5.262 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.809 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.1606/0.1606, allocations: 23.88 MB / 336.3 MB, free: 10.98 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.003156/0.003156, allocations: 63.91 kB / 471.1 MB, free: 7.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4567, allocations: 59.86 MB / 0.5185 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01662/0.4733, allocations: 11.55 MB / 0.5298 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1899/0.6631, allocations: 126.1 MB / 0.653 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003865/0.667, allocations: 39.81 kB / 0.653 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005078/0.6721, allocations: 1.168 MB / 0.6542 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006323/0.6784, allocations: 1.307 MB / 0.6554 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005667/0.6841, allocations: 1.607 MB / 0.657 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008439/0.6925, allocations: 3.719 MB / 0.6606 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.6941, allocations: 0.7092 MB / 0.6613 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.6965, allocations: 1.288 MB / 0.6626 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.6988, allocations: 1.314 MB / 0.6639 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005753/0.6994, allocations: 336 kB / 0.6642 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004066/0.7034, allocations: 1.268 MB / 0.6654 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.7045, allocations: 0.9849 MB / 0.6664 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002886/0.7074, allocations: 1.453 MB / 0.6678 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.7186, allocations: 5.581 MB / 0.6733 GB, free: 10.81 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.7186, allocations: 0 / 0.6733 GB, free: 10.81 MB / 0.5138 GB Notification: Performance of FrontEnd: time 4.027e-06/0.7186, allocations: 4 kB / 0.6733 GB, free: 10.8 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.0001361/0.7187, allocations: 0 / 0.6733 GB, free: 10.8 MB / 0.5138 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.008168/0.7269, allocations: 4.002 MB / 0.6772 GB, free: 6.75 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.7269, allocations: 12.03 kB / 0.6772 GB, free: 6.738 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00069/0.7276, allocations: 0.4957 MB / 0.6777 GB, free: 6.234 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/0.7303, allocations: 0.7984 MB / 0.6785 GB, free: 5.434 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/0.7341, allocations: 1.715 MB / 0.6801 GB, free: 3.68 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000754/0.7348, allocations: 0.5558 MB / 0.6807 GB, free: 3.086 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007324/0.7355, allocations: 332.3 kB / 0.681 GB, free: 2.762 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01864/0.7542, allocations: 12.36 MB / 0.6931 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.094e-05/0.7542, allocations: 7.938 kB / 0.6931 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/0.7545, allocations: 136 kB / 0.6932 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008179/0.7553, allocations: 499.5 kB / 0.6937 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0288/0.7841, allocations: 21.37 MB / 0.7145 GB, free: 376 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.3027/1.087, allocations: 29.14 MB / 0.743 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007445/1.094, allocations: 5.397 MB / 0.7483 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005855/1.1, allocations: 4.343 MB / 0.7525 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002042/1.102, allocations: 0.7002 MB / 0.7532 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/1.102, allocations: 46.72 kB / 0.7532 GB, free: 178 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.606e-06/1.102, allocations: 0 / 0.7532 GB, free: 178 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1707/1.273, allocations: 48.56 MB / 0.8007 GB, free: 139 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2655/1.538, allocations: 60.34 MB / 0.8596 GB, free: 78.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/1.549, allocations: 3.775 MB / 0.8633 GB, free: 74.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001411/1.55, allocations: 63.97 kB / 0.8633 GB, free: 74.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001906/1.552, allocations: 1.612 MB / 0.8649 GB, free: 72.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002329/1.554, allocations: 0.8171 MB / 0.8657 GB, free: 72.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004439/1.559, allocations: 0.7772 MB / 0.8665 GB, free: 71.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.189e-05/1.559, allocations: 301.1 kB / 0.8668 GB, free: 71.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01374/1.572, allocations: 7.532 MB / 0.8741 GB, free: 63.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01428/1.587, allocations: 7.878 MB / 0.8818 GB, free: 55.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.279/1.866, allocations: 42.62 MB / 0.9234 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/1.866, allocations: 0 / 0.9234 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04918/1.915, allocations: 20.82 MB / 0.9438 GB, free: 7.867 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/1.915, allocations: 12 kB / 0.9438 GB, free: 7.855 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/1.915, allocations: 8 kB / 0.9438 GB, free: 7.848 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3157/2.231, allocations: 10.5 MB / 0.954 GB, free: 195.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006946/2.238, allocations: 0.9751 MB / 0.955 GB, free: 195.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06459/2.302, allocations: 41.33 MB / 0.9953 GB, free: 176 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005934/2.308, allocations: 278.3 kB / 0.9956 GB, free: 176 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001809/2.31, allocations: 0.5297 MB / 0.9961 GB, free: 175.9 MB / 0.5763 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.003747/2.314, allocations: 0.8786 MB / 0.997 GB, free: 175.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/2.315, allocations: 347 kB / 0.9973 GB, free: 175.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03743/2.353, allocations: 14.01 MB / 1.011 GB, free: 162.7 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03243/2.385, allocations: 11.46 MB / 1.022 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.814e-05/2.385, allocations: 4 kB / 1.022 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.327e-05/2.385, allocations: 15.95 kB / 1.022 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04667/2.432, allocations: 21.6 MB / 1.043 GB, free: 129.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.113e-05/2.432, allocations: 7.969 kB / 1.043 GB, free: 129.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004718/2.436, allocations: 0.5134 MB / 1.044 GB, free: 128.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07613/2.513, allocations: 10.87 MB / 1.054 GB, free: 118 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008017/2.513, allocations: 139.8 kB / 1.055 GB, free: 117.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03522/2.549, allocations: 19.71 MB / 1.074 GB, free: 97.75 MB / 0.5763 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.09372/2.642, allocations: 19.95 MB / 1.093 GB, free: 77.52 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04193/2.684, allocations: 17.88 MB / 1.111 GB, free: 59.55 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/2.686, allocations: 467.6 kB / 1.111 GB, free: 59.09 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00141/2.687, allocations: 53.91 kB / 1.111 GB, free: 59.04 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005192/2.692, allocations: 199.7 kB / 1.111 GB, free: 58.84 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001429/2.694, allocations: 297.3 kB / 1.112 GB, free: 58.55 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000856/2.694, allocations: 244 kB / 1.112 GB, free: 58.32 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004766/2.699, allocations: 3.43 MB / 1.115 GB, free: 54.89 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1e-07/2.699, allocations: 0 / 1.115 GB, free: 54.89 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004986/2.704, allocations: 1.491 MB / 1.117 GB, free: 53.43 MB / 0.5763 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.04199/2.746, allocations: 17.44 MB / 1.134 GB, free: 35.96 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01995/2.766, allocations: 11.7 MB / 1.145 GB, free: 24.23 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/2.766, allocations: 1.812 kB / 1.145 GB, free: 24.23 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01131/2.777, allocations: 4.786 MB / 1.15 GB, free: 19.41 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/2.783, allocations: 0.7254 MB / 1.151 GB, free: 18.71 MB / 0.5763 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.535833414178342] Failed to read output from testmodel.py, exit status != 0: 2.7939024069346488 2.806412635 2.084196827 Calling exit ...