Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterSublimation.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.001264/0.001264, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001346/0.001346, allocations: 156.8 kB / 23.01 MB, free: 4.598 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.338/1.338, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.1185/0.1185, 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.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") translateModel(Chemical.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterSublimation") [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.001992/0.001992, allocations: 59.91 kB / 412.4 MB, free: 5.723 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1059, allocations: 59.86 MB / 472.3 MB, free: 9.742 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterSublimation): time 0.2781/0.3839, allocations: 32.37 MB / 0.4928 GB, free: 37.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1444/0.5283, allocations: 127 MB / 0.6168 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.5298, allocations: 43.81 kB / 0.6169 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003882/0.5337, allocations: 1.168 MB / 0.618 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.5373, allocations: 1.292 MB / 0.6193 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.5414, allocations: 1.615 MB / 0.6208 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005682/0.5471, allocations: 3.716 MB / 0.6245 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.5482, allocations: 0.7095 MB / 0.6252 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/0.5506, allocations: 1.292 MB / 0.6264 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00187/0.5525, allocations: 1.302 MB / 0.6277 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004471/0.5529, allocations: 336 kB / 0.628 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003685/0.5566, allocations: 1.28 MB / 0.6293 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008951/0.5575, allocations: 0.9849 MB / 0.6302 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.5591, allocations: 1.453 MB / 0.6316 GB, free: 404 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007693/0.5668, allocations: 5.588 MB / 0.6371 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5668, allocations: 0 / 0.6371 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.176e-06/0.5668, allocations: 0 / 0.6371 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.512e-05/0.5668, allocations: 0 / 0.6371 GB, free: 10.79 MB / 0.5294 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.006733/0.5736, allocations: 4.003 MB / 0.641 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5736, allocations: 8.031 kB / 0.641 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/0.5759, allocations: 0.7906 MB / 0.6418 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/0.5786, allocations: 1.719 MB / 0.6435 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005253/0.5791, allocations: 0.5519 MB / 0.644 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004115/0.5795, allocations: 332.3 kB / 0.6443 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/0.5937, allocations: 12.37 MB / 0.6564 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.937e-05/0.5938, allocations: 0 / 0.6564 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.594, allocations: 135.9 kB / 0.6565 GB, free: 6.734 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005285/0.5946, allocations: 0.4917 MB / 0.657 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02277/0.6173, allocations: 21.38 MB / 0.6779 GB, free: 0.8555 MB / 0.5606 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.2867/0.904, allocations: 27.93 MB / 0.7052 GB, free: 68.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005428/0.9095, allocations: 5.392 MB / 0.7104 GB, free: 68.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004182/0.9136, allocations: 4.338 MB / 0.7147 GB, free: 68.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/0.9153, allocations: 0.7024 MB / 0.7153 GB, free: 68.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.9153, allocations: 51.72 kB / 0.7154 GB, free: 68.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=150): time 3.416e-06/0.9153, allocations: 2.688 kB / 0.7154 GB, free: 68.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=232): time 0.1524/1.068, allocations: 48.39 MB / 0.7627 GB, free: 52.68 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 inlineWhenForInitialization (initialization): time 0.1012/1.169, allocations: 29.19 MB / 0.7912 GB, free: 29.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/1.171, allocations: 1.802 MB / 0.7929 GB, free: 27.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007991/1.171, allocations: 72.31 kB / 0.793 GB, free: 27.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/1.172, allocations: 1.668 MB / 0.7946 GB, free: 26.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008076/1.173, allocations: 0.8128 MB / 0.7954 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/1.174, allocations: 0.7838 MB / 0.7962 GB, free: 24.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.049e-05/1.174, allocations: 301.1 kB / 0.7965 GB, free: 24.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007017/1.181, allocations: 7.54 MB / 0.8038 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007233/1.189, allocations: 7.872 MB / 0.8115 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2236/1.412, allocations: 42.91 MB / 0.8534 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/1.412, allocations: 6.688 kB / 0.8534 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.0516/1.464, allocations: 20.69 MB / 0.8736 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/1.464, allocations: 12 kB / 0.8736 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/1.464, allocations: 12 kB / 0.8737 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0421/1.506, allocations: 10.56 MB / 0.884 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006963/1.513, allocations: 0.9803 MB / 0.8849 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06946/1.582, allocations: 41.25 MB / 0.9252 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005996/1.588, allocations: 276.2 kB / 0.9255 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/1.59, allocations: 0.5328 MB / 0.926 GB, free: 3.848 MB / 0.6856 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 {(5,13,76.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(6,20), (4,3), (3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.002576/1.592, allocations: 0.888 MB / 0.9269 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009697/1.593, allocations: 219.9 kB / 0.9271 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04233/1.635, allocations: 13.96 MB / 0.9407 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2511/1.887, allocations: 11.46 MB / 0.9519 GB, free: 300.3 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/1.887, allocations: 3 kB / 0.9519 GB, free: 300.3 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.939e-05/1.887, allocations: 16.25 kB / 0.9519 GB, free: 300.3 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04512/1.932, allocations: 22.15 MB / 0.9736 GB, free: 290.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/1.932, allocations: 6.312 kB / 0.9736 GB, free: 290.4 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004415/1.936, allocations: 0.5117 MB / 0.9741 GB, free: 290.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07932/2.016, allocations: 10.98 MB / 0.9848 GB, free: 288.4 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008066/2.016, allocations: 140.1 kB / 0.9849 GB, free: 288.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0361/2.052, allocations: 19.63 MB / 1.004 GB, free: 276.9 MB / 0.7012 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.09238/2.145, allocations: 20.03 MB / 1.024 GB, free: 266.3 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0386/2.183, allocations: 17.87 MB / 1.041 GB, free: 248.5 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005679/2.184, allocations: 237.6 kB / 1.041 GB, free: 248.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000589/2.185, allocations: 64.55 kB / 1.041 GB, free: 248.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003831/2.188, allocations: 200.5 kB / 1.042 GB, free: 248.1 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008931/2.189, allocations: 289.4 kB / 1.042 GB, free: 247.8 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004083/2.19, allocations: 247.8 kB / 1.042 GB, free: 247.6 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001754/2.191, allocations: 2.036 MB / 1.044 GB, free: 245.6 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/2.191, allocations: 0 / 1.044 GB, free: 245.6 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003772/2.195, allocations: 1.458 MB / 1.045 GB, free: 244.1 MB / 0.7012 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 ($cse37,$cse30,$cse23) * 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.0007249/2.196, allocations: 421.8 kB / 1.046 GB, free: 243.8 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01514/2.211, allocations: 11.68 MB / 1.057 GB, free: 232.2 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/2.211, allocations: 0 / 1.057 GB, free: 232.2 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.009496/2.221, allocations: 4.793 MB / 1.062 GB, free: 227.4 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/2.223, allocations: 489.8 kB / 1.062 GB, free: 226.9 MB / 0.7012 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.43677759799175] Failed to read output from testmodel.py, exit status != 0: 2.230949955061078 2.239666891 1.670824455 Calling exit ...