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.001135/0.001135, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.00136/0.00136, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.933/0.933, allocations: 177.2 MB / 203.7 MB, free: 5.5 MB / 186.7 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.0818/0.0818, allocations: 17.37 MB / 277.6 MB, free: 11.49 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 353.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.026e-05, allocations: 2.312 kB / 353.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.009994/0.01001, allocations: 12.98 MB / 366.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.2836/0.2936, allocations: 136.5 MB / 0.4915 GB, free: 38.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.2956, allocations: 46.56 kB / 0.4916 GB, free: 38.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.2979, allocations: 1.185 MB / 0.4927 GB, free: 38.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.3003, allocations: 1.352 MB / 0.4941 GB, free: 37.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.3033, allocations: 1.657 MB / 0.4957 GB, free: 36.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003708/0.307, allocations: 3.857 MB / 0.4994 GB, free: 34.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000758/0.3078, allocations: 0.7183 MB / 0.5001 GB, free: 34.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.3095, allocations: 1.962 MB / 0.5021 GB, free: 33.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008662/0.3103, allocations: 1.131 MB / 0.5032 GB, free: 33.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.3106, allocations: 335.8 kB / 0.5035 GB, free: 33.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.3128, allocations: 1.278 MB / 0.5047 GB, free: 33.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004435/0.3133, allocations: 1.007 MB / 0.5057 GB, free: 32.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006999/0.314, allocations: 1.168 MB / 0.5068 GB, free: 32.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002793/0.3168, allocations: 4.148 MB / 0.5109 GB, free: 30.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3168, allocations: 3.938 kB / 0.5109 GB, free: 30.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3168, allocations: 0 / 0.5109 GB, free: 30.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.279e-05/0.3168, allocations: 0 / 0.5109 GB, free: 30.26 MB / 410.7 MB 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.00322/0.32, allocations: 4.323 MB / 0.5151 GB, free: 27.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3201, allocations: 7.969 kB / 0.5151 GB, free: 27.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.3217, allocations: 1.569 MB / 0.5167 GB, free: 27.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.3229, allocations: 1.477 MB / 0.5181 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003158/0.3232, allocations: 0.5501 MB / 0.5186 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/0.3235, allocations: 330.8 kB / 0.519 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/0.3263, allocations: 3.263 MB / 0.5221 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/0.3264, allocations: 192 / 0.5221 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.3265, allocations: 132 kB / 0.5223 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002813/0.3268, allocations: 0.4893 MB / 0.5228 GB, free: 25.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003038/0.3298, allocations: 4.469 MB / 0.5271 GB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/0.3432, allocations: 15.57 MB / 0.5423 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.3446, allocations: 1.018 MB / 0.5433 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008135/0.3454, allocations: 0.5569 MB / 0.5439 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008469/0.3463, allocations: 0.7131 MB / 0.5446 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3463, allocations: 50.7 kB / 0.5446 GB, free: 10.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.136e-06/0.3463, allocations: 4 kB / 0.5446 GB, free: 10.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=232): time 0.06007/0.4064, allocations: 17.19 MB / 0.5614 GB, free: 9.527 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0759/0.4823, allocations: 24.89 MB / 0.5857 GB, free: 224 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.4837, allocations: 1.527 MB / 0.5872 GB, free: 14.67 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006839/0.4844, allocations: 65.69 kB / 0.5873 GB, free: 14.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009343/0.4853, allocations: 1.796 MB / 0.589 GB, free: 12.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008372/0.4862, allocations: 0.821 MB / 0.5898 GB, free: 11.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/0.4874, allocations: 0.7321 MB / 0.5905 GB, free: 11.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.4875, allocations: 480.8 kB / 0.591 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.4896, allocations: 1.226 MB / 0.5922 GB, free: 9.512 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.4919, allocations: 1.684 MB / 0.5938 GB, free: 7.668 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006506/0.4984, allocations: 4.38 MB / 0.5981 GB, free: 3.133 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.4984, allocations: 0 / 0.5981 GB, free: 3.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.1995/0.6979, allocations: 5.565 MB / 0.6035 GB, free: 70.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.6979, allocations: 9.125 kB / 0.6035 GB, free: 70.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.6979, allocations: 7.406 kB / 0.6036 GB, free: 70.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02048/0.7184, allocations: 7.792 MB / 0.6112 GB, free: 70.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/0.7216, allocations: 0.9244 MB / 0.6121 GB, free: 70.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02299/0.7446, allocations: 18.52 MB / 0.6302 GB, free: 59.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.7471, allocations: 103.3 kB / 0.6303 GB, free: 59.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006748/0.7478, allocations: 0.5147 MB / 0.6308 GB, free: 59.99 MB / 458.7 MB 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(3,5), (5,13), (3,8), (2,1), (6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001506/0.7493, allocations: 278.2 kB / 0.631 GB, free: 59.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008499/0.7502, allocations: 295.6 kB / 0.6313 GB, free: 59.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/0.7651, allocations: 6.209 MB / 0.6374 GB, free: 59.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01175/0.7768, allocations: 3.891 MB / 0.6412 GB, free: 59.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/0.7768, allocations: 6.594 kB / 0.6412 GB, free: 59.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.7769, allocations: 12.09 kB / 0.6412 GB, free: 59.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01971/0.7966, allocations: 11.55 MB / 0.6525 GB, free: 56.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.7966, allocations: 8.031 kB / 0.6525 GB, free: 56.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/0.7986, allocations: 469.1 kB / 0.6529 GB, free: 56.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0344/0.833, allocations: 7.601 MB / 0.6603 GB, free: 54.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005174/0.8335, allocations: 139.2 kB / 0.6605 GB, free: 54.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/0.8476, allocations: 11.29 MB / 0.6715 GB, free: 44.88 MB / 458.7 MB 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.0415/0.8891, allocations: 13.11 MB / 0.6843 GB, free: 35.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/0.9074, allocations: 5.598 MB / 0.6898 GB, free: 29.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.9079, allocations: 229.1 kB / 0.69 GB, free: 29.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004464/0.9083, allocations: 47.98 kB / 0.69 GB, free: 29.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/0.9105, allocations: 71.97 kB / 0.6901 GB, free: 29.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008273/0.9113, allocations: 268 kB / 0.6903 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003838/0.9117, allocations: 239.9 kB / 0.6906 GB, free: 29.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000963/0.9126, allocations: 1.061 MB / 0.6916 GB, free: 28.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.9126, allocations: 0 / 0.6916 GB, free: 28.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003315/0.9159, allocations: 1.345 MB / 0.6929 GB, free: 26.8 MB / 458.7 MB 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.0007423/0.9167, allocations: 446.7 kB / 0.6933 GB, free: 26.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006983/0.9237, allocations: 3.415 MB / 0.6967 GB, free: 23.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9237, allocations: 0 / 0.6967 GB, free: 23.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004648/0.9283, allocations: 2.427 MB / 0.6991 GB, free: 20.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.9303, allocations: 0.6626 MB / 0.6997 GB, free: 20.07 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4595:9-4595:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.6369973300024867]