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.00101/0.00101, allocations: 84.44 kB / 19.18 MB, free: 0.7383 MB / 13.93 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.0009712/0.0009712, allocations: 173.9 kB / 22.46 MB, free: 2.105 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.9367/0.9367, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.1016/0.1016, allocations: 17.37 MB / 276.6 MB, free: 11.86 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 413 MB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.632e-05, allocations: 2.281 kB / 413 MB, free: 14.87 MB / 394.7 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.3088/0.3088, allocations: 41.63 MB / 454.6 MB, free: 42.31 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.1058/0.4146, allocations: 127 MB / 0.568 GB, free: 5.301 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.4165, allocations: 40.25 kB / 0.5681 GB, free: 5.289 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.419, allocations: 1.171 MB / 0.5692 GB, free: 4.48 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.4216, allocations: 1.366 MB / 0.5705 GB, free: 3.332 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.4243, allocations: 1.619 MB / 0.5721 GB, free: 2.031 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.003716/0.428, allocations: 3.843 MB / 0.5759 GB, free: 14.4 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009271/0.429, allocations: 0.717 MB / 0.5766 GB, free: 13.63 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.4307, allocations: 1.945 MB / 0.5785 GB, free: 11.68 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000976/0.4317, allocations: 1.098 MB / 0.5795 GB, free: 10.58 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.432, allocations: 336 kB / 0.5799 GB, free: 10.25 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.4342, allocations: 1.283 MB / 0.5811 GB, free: 8.969 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004761/0.4347, allocations: 0.9965 MB / 0.5821 GB, free: 7.969 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0009954/0.4357, allocations: 1.169 MB / 0.5832 GB, free: 6.797 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005062/0.4407, allocations: 5.565 MB / 0.5887 GB, free: 1.215 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4407, allocations: 0 / 0.5887 GB, free: 1.215 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4407, allocations: 0 / 0.5887 GB, free: 1.215 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.0001301/0.4408, allocations: 0 / 0.5887 GB, free: 1.215 MB / 474.8 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.005105/0.446, allocations: 3.968 MB / 0.5925 GB, free: 13.2 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.446, allocations: 15.91 kB / 0.5926 GB, free: 13.18 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003907/0.4464, allocations: 0.4918 MB / 0.593 GB, free: 12.68 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.4479, allocations: 0.786 MB / 0.5938 GB, free: 11.89 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.45, allocations: 1.722 MB / 0.5955 GB, free: 10.14 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000472/0.4505, allocations: 0.5593 MB / 0.596 GB, free: 9.543 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.4508, allocations: 328.3 kB / 0.5963 GB, free: 9.223 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.4613, allocations: 12.37 MB / 0.6084 GB, free: 12.83 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.034e-05/0.4613, allocations: 192 / 0.6084 GB, free: 12.83 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.4615, allocations: 135.9 kB / 0.6085 GB, free: 12.7 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004142/0.4619, allocations: 0.4917 MB / 0.609 GB, free: 12.21 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1651/0.627, allocations: 21.37 MB / 0.6299 GB, free: 155.6 MB / 0.4949 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.02931/0.6563, allocations: 29.13 MB / 0.6583 GB, free: 142.6 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005353/0.6617, allocations: 5.399 MB / 0.6636 GB, free: 140.2 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004015/0.6657, allocations: 4.336 MB / 0.6679 GB, free: 138.3 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.6668, allocations: 0.7033 MB / 0.6685 GB, free: 138.1 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.6669, allocations: 50.66 kB / 0.6686 GB, free: 138.1 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=150): time 4.649e-06/0.6669, allocations: 2.688 kB / 0.6686 GB, free: 138.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=232): time 0.09114/0.758, allocations: 48.52 MB / 0.716 GB, free: 94.55 MB / 0.4949 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.05577/0.8138, allocations: 29.23 MB / 0.7445 GB, free: 65.16 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.8172, allocations: 3.759 MB / 0.7482 GB, free: 61.41 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000978/0.8182, allocations: 65.7 kB / 0.7482 GB, free: 61.34 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006522/0.8188, allocations: 1.611 MB / 0.7498 GB, free: 59.81 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008952/0.8197, allocations: 0.8105 MB / 0.7506 GB, free: 59.02 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/0.821, allocations: 0.7694 MB / 0.7514 GB, free: 58.24 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.291e-05/0.821, allocations: 305.1 kB / 0.7517 GB, free: 57.94 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005468/0.8265, allocations: 7.533 MB / 0.759 GB, free: 50.41 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005985/0.8325, allocations: 7.875 MB / 0.7667 GB, free: 42.42 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2974/1.13, allocations: 42.9 MB / 0.8086 GB, free: 151.4 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/1.13, allocations: 3.094 kB / 0.8086 GB, free: 151.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.02863/1.159, allocations: 20.83 MB / 0.8289 GB, free: 145.1 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/1.159, allocations: 9.25 kB / 0.829 GB, free: 145.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/1.159, allocations: 6 kB / 0.829 GB, free: 145.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02178/1.18, allocations: 10.56 MB / 0.8393 GB, free: 142.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003882/1.184, allocations: 0.9764 MB / 0.8402 GB, free: 142.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04019/1.224, allocations: 41.33 MB / 0.8806 GB, free: 114.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/1.228, allocations: 276.6 kB / 0.8809 GB, free: 114 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005599/1.229, allocations: 0.5309 MB / 0.8814 GB, free: 113.5 MB / 0.4949 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.002029/1.231, allocations: 0.8797 MB / 0.8822 GB, free: 112.6 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000679/1.231, allocations: 345.7 kB / 0.8826 GB, free: 112.3 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02129/1.253, allocations: 14.08 MB / 0.8963 GB, free: 98.26 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01864/1.271, allocations: 11.47 MB / 0.9075 GB, free: 86.8 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/1.271, allocations: 8.656 kB / 0.9075 GB, free: 86.79 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.986e-05/1.271, allocations: 15.89 kB / 0.9075 GB, free: 86.78 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02801/1.299, allocations: 21.72 MB / 0.9287 GB, free: 64.78 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/1.299, allocations: 7.938 kB / 0.9287 GB, free: 64.77 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002484/1.302, allocations: 0.5112 MB / 0.9292 GB, free: 64.26 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03848/1.34, allocations: 10.98 MB / 0.94 GB, free: 53.46 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007882/1.341, allocations: 139.8 kB / 0.9401 GB, free: 53.33 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02195/1.363, allocations: 19.71 MB / 0.9593 GB, free: 33.28 MB / 0.4949 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.04864/1.412, allocations: 20.06 MB / 0.9789 GB, free: 13.04 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02521/1.437, allocations: 17.99 MB / 0.9965 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.438, allocations: 465.7 kB / 0.9969 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007491/1.439, allocations: 50.11 kB / 0.997 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/1.441, allocations: 206.3 kB / 0.9972 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007266/1.442, allocations: 293.4 kB / 0.9975 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003404/1.442, allocations: 243.8 kB / 0.9977 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003697/1.446, allocations: 3.441 MB / 1.001 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/1.446, allocations: 0 / 1.001 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004005/1.45, allocations: 1.479 MB / 1.003 GB, free: 4.887 MB / 0.5105 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.1847/1.635, allocations: 17.56 MB / 1.02 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0127/1.647, allocations: 11.68 MB / 1.031 GB, free: 154 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.647, allocations: 2.406 kB / 1.031 GB, free: 154 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007049/1.654, allocations: 4.791 MB / 1.036 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/1.657, allocations: 0.7165 MB / 1.036 GB, free: 151.9 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4683:9-4683:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:843:5-843: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: 3.463296658359468]