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.001301/0.001301, allocations: 79.81 kB / 19.76 MB, free: 2.031 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.001407/0.001407, allocations: 157.6 kB / 23.01 MB, free: 4.945 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.364/1.364, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 179] 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.1266/0.1266, allocations: 17.36 MB / 277.1 MB, free: 15.27 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: translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") [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.002069/0.002069, allocations: 71.88 kB / 412.4 MB, free: 5.723 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1034, allocations: 59.85 MB / 472.3 MB, free: 9.762 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.2107/0.3141, allocations: 11.52 MB / 483.8 MB, free: 43.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1325/0.4466, allocations: 126.1 MB / 0.5956 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.4482, allocations: 39.81 kB / 0.5957 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003219/0.4514, allocations: 1.164 MB / 0.5968 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003176/0.4546, allocations: 1.309 MB / 0.5981 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003603/0.4582, allocations: 1.607 MB / 0.5997 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004911/0.4631, allocations: 3.719 MB / 0.6033 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.4642, allocations: 0.7121 MB / 0.604 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.4656, allocations: 1.284 MB / 0.6053 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.4673, allocations: 1.314 MB / 0.6065 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004088/0.4677, allocations: 337.1 kB / 0.6069 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.4705, allocations: 1.276 MB / 0.6081 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008369/0.4713, allocations: 0.9849 MB / 0.6091 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.4727, allocations: 1.453 MB / 0.6105 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006338/0.4791, allocations: 5.585 MB / 0.6159 GB, free: 348 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4791, allocations: 0 / 0.6159 GB, free: 348 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4791, allocations: 0 / 0.6159 GB, free: 348 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.821e-05/0.4791, allocations: 0 / 0.6159 GB, free: 348 kB / 0.4981 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.006445/0.4856, allocations: 4.01 MB / 0.6199 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.4856, allocations: 8.031 kB / 0.6199 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.488, allocations: 0.7877 MB / 0.6206 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.4906, allocations: 1.723 MB / 0.6223 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005465/0.4912, allocations: 0.5636 MB / 0.6229 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004164/0.4916, allocations: 320.3 kB / 0.6232 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.014/0.5056, allocations: 12.38 MB / 0.6353 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.702e-05/0.5056, allocations: 0 / 0.6353 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/0.5059, allocations: 136 kB / 0.6354 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005344/0.5064, allocations: 495.5 kB / 0.6359 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02358/0.53, allocations: 21.38 MB / 0.6567 GB, free: 6.398 MB / 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.04253/0.5725, allocations: 27.93 MB / 0.684 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008019/0.5805, allocations: 5.397 MB / 0.6893 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006066/0.5866, allocations: 4.339 MB / 0.6935 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2026/0.7892, allocations: 0.7025 MB / 0.6942 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.7893, allocations: 53.03 kB / 0.6943 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=150): time 3.576e-06/0.7893, allocations: 0 / 0.6943 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=232): time 0.1548/0.944, allocations: 48.49 MB / 0.7416 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1689/1.113, allocations: 60.37 MB / 0.8006 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/1.115, allocations: 1.817 MB / 0.8023 GB, free: 116 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007788/1.116, allocations: 61.7 kB / 0.8024 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007505/1.117, allocations: 1.66 MB / 0.804 GB, free: 114.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.118, allocations: 0.8105 MB / 0.8048 GB, free: 113.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002227/1.12, allocations: 0.7915 MB / 0.8056 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.194e-05/1.12, allocations: 309.2 kB / 0.8059 GB, free: 112.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00771/1.128, allocations: 7.535 MB / 0.8132 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007926/1.136, allocations: 7.874 MB / 0.8209 GB, free: 97.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.217/1.353, allocations: 42.93 MB / 0.8628 GB, free: 54.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/1.353, allocations: 4 kB / 0.8628 GB, free: 54.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04354/1.396, allocations: 20.7 MB / 0.8831 GB, free: 33.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/1.396, allocations: 12 kB / 0.8831 GB, free: 33.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.396, allocations: 8 kB / 0.8831 GB, free: 33.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03808/1.434, allocations: 10.55 MB / 0.8934 GB, free: 22.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006305/1.441, allocations: 0.9792 MB / 0.8943 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2721/1.713, allocations: 41.25 MB / 0.9346 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005187/1.718, allocations: 282.3 kB / 0.9349 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008254/1.719, allocations: 0.5296 MB / 0.9354 GB, free: 167.4 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.002072/1.721, allocations: 0.8795 MB / 0.9363 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009186/1.722, allocations: 219.5 kB / 0.9365 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03565/1.757, allocations: 13.88 MB / 0.95 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03435/1.792, allocations: 11.47 MB / 0.9612 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.773e-05/1.792, allocations: 9 kB / 0.9613 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.731e-05/1.792, allocations: 13.27 kB / 0.9613 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05062/1.842, allocations: 22.01 MB / 0.9828 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.339e-05/1.842, allocations: 9.078 kB / 0.9828 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004512/1.847, allocations: 0.5081 MB / 0.9833 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07761/1.925, allocations: 10.99 MB / 0.994 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007987/1.925, allocations: 139.8 kB / 0.9941 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03462/1.96, allocations: 19.64 MB / 1.013 GB, free: 121.8 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.09267/2.053, allocations: 20.02 MB / 1.033 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03925/2.092, allocations: 17.75 MB / 1.05 GB, free: 83.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007747/2.093, allocations: 244.6 kB / 1.05 GB, free: 83.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009543/2.094, allocations: 45.97 kB / 1.05 GB, free: 83.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004292/2.098, allocations: 207.7 kB / 1.051 GB, free: 83.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/2.099, allocations: 285.4 kB / 1.051 GB, free: 82.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006113/2.1, allocations: 251.8 kB / 1.051 GB, free: 82.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002371/2.102, allocations: 2.044 MB / 1.053 GB, free: 80.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/2.102, allocations: 3.281 kB / 1.053 GB, free: 80.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004614/2.107, allocations: 1.451 MB / 1.055 GB, free: 79.22 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.001099/2.108, allocations: 435.5 kB / 1.055 GB, free: 78.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01668/2.124, allocations: 11.69 MB / 1.066 GB, free: 67.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.124, allocations: 0 / 1.066 GB, free: 67.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009984/2.134, allocations: 4.772 MB / 1.071 GB, free: 62.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/2.138, allocations: 0.4919 MB / 1.072 GB, free: 61.89 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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.396346329012886] Failed to read output from testmodel.py, exit status != 0: 2.1458061430603266 2.154532574 1.673268388 Calling exit ...