Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001329/0.001329, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00158/0.00158, allocations: 216.5 kB / 23.03 MB, free: 4.922 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1374/0.1374, allocations: 23.91 MB / 337.1 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 master/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.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Examples_WaterSublimation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Examples_WaterSublimation",fmuType="cs",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.001999/0.001999, allocations: 63.91 kB / 471.9 MB, free: 7.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.304, allocations: 59.86 MB / 0.5193 GB, free: 9.512 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1562:5-1562: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 master/Interfaces.mo:1562:5-1562: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.07676/0.3807, allocations: 32.04 MB / 0.5506 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1655/0.5462, allocations: 126.9 MB / 0.6745 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.549, allocations: 43.81 kB / 0.6746 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003861/0.5529, allocations: 1.184 MB / 0.6757 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.5573, allocations: 1.319 MB / 0.677 GB, free: 8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.5616, allocations: 1.634 MB / 0.6786 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006147/0.5677, allocations: 3.72 MB / 0.6822 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.5689, allocations: 0.7254 MB / 0.683 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.5706, allocations: 1.284 MB / 0.6842 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.5725, allocations: 1.521 MB / 0.6857 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004432/0.5729, allocations: 340 kB / 0.686 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.5759, allocations: 1.303 MB / 0.6873 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008719/0.5768, allocations: 0.9849 MB / 0.6883 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.5784, allocations: 1.449 MB / 0.6897 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007422/0.5858, allocations: 5.577 MB / 0.6951 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5858, allocations: 0 / 0.6951 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5858, allocations: 0 / 0.6951 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.331e-05/0.5859, allocations: 4 kB / 0.6951 GB, free: 5.34 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.006604/0.5925, allocations: 4.014 MB / 0.699 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.5925, allocations: 8.031 kB / 0.699 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.94e-05/0.5926, allocations: 90.62 kB / 0.6991 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005814/0.5932, allocations: 0.4918 MB / 0.6996 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.5957, allocations: 0.7858 MB / 0.7004 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002833/0.5985, allocations: 1.723 MB / 0.7021 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005722/0.5991, allocations: 0.552 MB / 0.7026 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004646/0.5995, allocations: 333 kB / 0.7029 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/0.615, allocations: 12.36 MB / 0.715 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-05/0.615, allocations: 11.86 kB / 0.715 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/0.6153, allocations: 135.9 kB / 0.7151 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005617/0.6158, allocations: 0.4917 MB / 0.7156 GB, free: 192 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2712/0.8871, allocations: 21.4 MB / 0.7365 GB, free: 185.5 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.04405/0.9311, allocations: 29.15 MB / 0.765 GB, free: 172 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006337/0.9374, allocations: 5.394 MB / 0.7702 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004555/0.942, allocations: 4.338 MB / 0.7745 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001795/0.9438, allocations: 0.7097 MB / 0.7752 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.9438, allocations: 47.88 kB / 0.7752 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.707e-06/0.9438, allocations: 0 / 0.7752 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1536/1.097, allocations: 48.45 MB / 0.8225 GB, free: 114.8 MB / 0.5606 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.1047/1.202, allocations: 29.14 MB / 0.851 GB, free: 85.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/1.206, allocations: 3.745 MB / 0.8547 GB, free: 81.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00101/1.207, allocations: 61.7 kB / 0.8547 GB, free: 81.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008643/1.208, allocations: 1.619 MB / 0.8563 GB, free: 80.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/1.209, allocations: 0.8236 MB / 0.8571 GB, free: 79.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002049/1.211, allocations: 0.7695 MB / 0.8578 GB, free: 78.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.173e-05/1.211, allocations: 301.1 kB / 0.8581 GB, free: 78.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007774/1.219, allocations: 7.538 MB / 0.8655 GB, free: 70.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008251/1.227, allocations: 7.869 MB / 0.8732 GB, free: 62.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2097/1.437, allocations: 42.61 MB / 0.9148 GB, free: 20.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/1.437, allocations: 0 / 0.9148 GB, free: 20.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04318/1.48, allocations: 20.82 MB / 0.9351 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/1.48, allocations: 21.44 kB / 0.9351 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/1.48, allocations: 8 kB / 0.9351 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04441/1.524, allocations: 10.51 MB / 0.9454 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006886/1.531, allocations: 0.9727 MB / 0.9464 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2651/1.796, allocations: 41.32 MB / 0.9867 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005367/1.802, allocations: 275.3 kB / 0.987 GB, free: 177.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008914/1.803, allocations: 0.528 MB / 0.9875 GB, free: 177.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 {(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.00213/1.805, allocations: 0.8866 MB / 0.9884 GB, free: 177.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.806, allocations: 339.2 kB / 0.9887 GB, free: 177.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03715/1.843, allocations: 14.08 MB / 1.002 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03134/1.874, allocations: 11.47 MB / 1.014 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/1.874, allocations: 10.66 kB / 1.014 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.938e-05/1.874, allocations: 13.7 kB / 1.014 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.045/1.919, allocations: 21.72 MB / 1.035 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-05/1.919, allocations: 4 kB / 1.035 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004354/1.924, allocations: 0.5084 MB / 1.035 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07736/2.001, allocations: 10.89 MB / 1.046 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007843/2.002, allocations: 143.8 kB / 1.046 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0348/2.037, allocations: 19.69 MB / 1.065 GB, free: 101.9 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.09307/2.13, allocations: 19.97 MB / 1.085 GB, free: 81.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04134/2.171, allocations: 17.99 MB / 1.102 GB, free: 63.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/2.172, allocations: 468.3 kB / 1.103 GB, free: 63.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/2.173, allocations: 53.92 kB / 1.103 GB, free: 63.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004254/2.178, allocations: 202.4 kB / 1.103 GB, free: 62.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001103/2.179, allocations: 289.5 kB / 1.103 GB, free: 62.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000486/2.179, allocations: 251.8 kB / 1.104 GB, free: 62.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003517/2.183, allocations: 3.427 MB / 1.107 GB, free: 59.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.183, allocations: 0 / 1.107 GB, free: 59.01 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003987/2.187, allocations: 1.48 MB / 1.108 GB, free: 57.55 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 ($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.03949/2.226, allocations: 17.57 MB / 1.126 GB, free: 40 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01807/2.244, allocations: 11.69 MB / 1.137 GB, free: 28.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/2.244, allocations: 2.688 kB / 1.137 GB, free: 28.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01086/2.255, allocations: 4.786 MB / 1.142 GB, free: 23.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/2.259, allocations: 0.7142 MB / 1.142 GB, free: 22.86 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.644406788982451] Failed to read output from testmodel.py, exit status != 0: 2.267081864993088 2.277150652 1.689063727 Calling exit ...