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.001377/0.001377, 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.001739/0.001739, allocations: 210.5 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.781 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.1512/0.1512, allocations: 23.88 MB / 336.3 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 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.002337/0.002337, allocations: 63.91 kB / 471.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4179, allocations: 59.86 MB / 0.5185 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.0142/0.4321, allocations: 11.55 MB / 0.5298 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.195/0.6271, allocations: 126.1 MB / 0.653 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003706/0.6308, allocations: 39.81 kB / 0.653 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004872/0.6357, allocations: 1.184 MB / 0.6542 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00631/0.642, allocations: 1.299 MB / 0.6554 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005842/0.6479, allocations: 1.607 MB / 0.657 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007764/0.6556, allocations: 3.723 MB / 0.6606 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.6571, allocations: 0.7053 MB / 0.6613 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.6592, allocations: 1.292 MB / 0.6626 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.6618, allocations: 1.306 MB / 0.6639 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006119/0.6624, allocations: 336 kB / 0.6642 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004438/0.6669, allocations: 1.28 MB / 0.6654 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.6679, allocations: 0.981 MB / 0.6664 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002345/0.6703, allocations: 1.449 MB / 0.6678 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.6804, allocations: 5.588 MB / 0.6733 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.6804, allocations: 0 / 0.6733 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.245e-06/0.6804, allocations: 0 / 0.6733 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.00015/0.6805, allocations: 0 / 0.6733 GB, free: 10.78 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.01121/0.6918, allocations: 4.002 MB / 0.6772 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.6918, allocations: 12.03 kB / 0.6772 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008102/0.6926, allocations: 0.4957 MB / 0.6777 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/0.6954, allocations: 0.7867 MB / 0.6784 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004862/0.7003, allocations: 1.719 MB / 0.6801 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008476/0.7011, allocations: 0.5597 MB / 0.6807 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008523/0.702, allocations: 324.3 kB / 0.681 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/0.7237, allocations: 12.37 MB / 0.6931 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.13e-05/0.7238, allocations: 7.938 kB / 0.6931 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/0.724, allocations: 136 kB / 0.6932 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005669/0.7246, allocations: 495.5 kB / 0.6937 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02595/0.7506, allocations: 21.37 MB / 0.7145 GB, free: 360 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.328/1.079, allocations: 29.15 MB / 0.743 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00752/1.086, allocations: 5.395 MB / 0.7483 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005795/1.092, allocations: 4.333 MB / 0.7525 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002065/1.094, allocations: 0.7072 MB / 0.7532 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/1.094, allocations: 52.88 kB / 0.7532 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.888e-06/1.094, allocations: 0 / 0.7532 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1885/1.282, allocations: 48.56 MB / 0.8007 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2036/1.486, allocations: 60.35 MB / 0.8596 GB, free: 78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004173/1.49, allocations: 3.769 MB / 0.8633 GB, free: 74.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009007/1.491, allocations: 61.7 kB / 0.8633 GB, free: 74.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009615/1.492, allocations: 1.615 MB / 0.8649 GB, free: 72.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/1.493, allocations: 0.8125 MB / 0.8657 GB, free: 71.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001852/1.495, allocations: 0.7771 MB / 0.8665 GB, free: 71.19 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.494e-05/1.495, allocations: 305.1 kB / 0.8668 GB, free: 70.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008275/1.503, allocations: 7.532 MB / 0.8741 GB, free: 63.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008718/1.512, allocations: 7.872 MB / 0.8818 GB, free: 55.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2168/1.729, allocations: 42.62 MB / 0.9234 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/1.729, allocations: 0 / 0.9234 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04786/1.777, allocations: 20.82 MB / 0.9438 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/1.777, allocations: 8 kB / 0.9438 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/1.777, allocations: 15.92 kB / 0.9438 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2883/2.065, allocations: 10.5 MB / 0.954 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006949/2.072, allocations: 0.9756 MB / 0.955 GB, free: 195.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06671/2.139, allocations: 41.33 MB / 0.9953 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006035/2.145, allocations: 278 kB / 0.9956 GB, free: 175.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/2.146, allocations: 0.5298 MB / 0.9961 GB, free: 175.7 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.002607/2.149, allocations: 0.8835 MB / 0.997 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/2.15, allocations: 345.8 kB / 0.9973 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0378/2.188, allocations: 14.01 MB / 1.011 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03277/2.22, allocations: 11.46 MB / 1.022 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-05/2.221, allocations: 4 kB / 1.022 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.942e-05/2.221, allocations: 12.95 kB / 1.022 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04749/2.268, allocations: 21.61 MB / 1.043 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.425e-05/2.268, allocations: 4 kB / 1.043 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004728/2.273, allocations: 0.5106 MB / 1.044 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07742/2.35, allocations: 10.87 MB / 1.054 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001008/2.351, allocations: 143.8 kB / 1.055 GB, free: 117.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03599/2.387, allocations: 19.7 MB / 1.074 GB, free: 97.55 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.09399/2.481, allocations: 19.95 MB / 1.093 GB, free: 77.31 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04043/2.522, allocations: 17.87 MB / 1.111 GB, free: 59.35 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/2.523, allocations: 466.5 kB / 1.111 GB, free: 58.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001145/2.524, allocations: 57.2 kB / 1.111 GB, free: 58.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004588/2.529, allocations: 203.7 kB / 1.111 GB, free: 58.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/2.53, allocations: 297.3 kB / 1.112 GB, free: 58.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004489/2.53, allocations: 243.8 kB / 1.112 GB, free: 58.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003787/2.534, allocations: 3.437 MB / 1.115 GB, free: 54.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.534, allocations: 0 / 1.115 GB, free: 54.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004516/2.538, allocations: 1.483 MB / 1.117 GB, free: 53.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.0391/2.578, allocations: 17.45 MB / 1.134 GB, free: 35.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01827/2.596, allocations: 11.7 MB / 1.145 GB, free: 24.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/2.596, allocations: 4.062 kB / 1.145 GB, free: 24.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01059/2.606, allocations: 4.78 MB / 1.15 GB, free: 19.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/2.61, allocations: 0.7178 MB / 1.151 GB, free: 18.54 MB / 0.5762 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.239539015106857] Failed to read output from testmodel.py, exit status != 0: 2.6192879718728364 2.62927018 1.946276604 Calling exit ...