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.001339/0.001339, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001507/0.001507, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.1624/0.1624, allocations: 23.88 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 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: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_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.002354/0.002354, allocations: 67.91 kB / 471.9 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.429, allocations: 59.86 MB / 0.5193 GB, free: 9.531 MB / 382.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.08558/0.5146, allocations: 32.04 MB / 0.5506 GB, free: 7.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.187/0.7016, allocations: 126.9 MB / 0.6745 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003913/0.7055, allocations: 39.81 kB / 0.6745 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004605/0.7101, allocations: 1.196 MB / 0.6757 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006134/0.7163, allocations: 1.319 MB / 0.677 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005365/0.7216, allocations: 1.626 MB / 0.6786 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008175/0.7298, allocations: 3.72 MB / 0.6822 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.7316, allocations: 0.7215 MB / 0.6829 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.7341, allocations: 1.3 MB / 0.6842 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/0.7368, allocations: 1.509 MB / 0.6856 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005809/0.7374, allocations: 336 kB / 0.686 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004442/0.7418, allocations: 1.303 MB / 0.6872 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.7429, allocations: 0.9927 MB / 0.6882 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002231/0.7452, allocations: 1.445 MB / 0.6896 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.7561, allocations: 5.588 MB / 0.6951 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.7561, allocations: 0 / 0.6951 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.043e-06/0.7561, allocations: 0 / 0.6951 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001474/0.7563, allocations: 0 / 0.6951 GB, free: 5.332 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.009222/0.7655, allocations: 4.006 MB / 0.699 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.7655, allocations: 12.03 kB / 0.699 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001377/0.7657, allocations: 90.62 kB / 0.6991 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007944/0.7665, allocations: 0.4957 MB / 0.6996 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/0.7692, allocations: 0.7858 MB / 0.7003 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003471/0.7727, allocations: 1.723 MB / 0.702 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006656/0.7733, allocations: 0.5559 MB / 0.7026 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005106/0.7738, allocations: 325.1 kB / 0.7029 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02164/0.7955, allocations: 12.37 MB / 0.7149 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.758e-05/0.7956, allocations: 4 kB / 0.715 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003895/0.7959, allocations: 135.9 kB / 0.7151 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007862/0.7967, allocations: 499.5 kB / 0.7156 GB, free: 196 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3578/1.154, allocations: 21.4 MB / 0.7365 GB, free: 185.7 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.05/1.204, allocations: 29.15 MB / 0.7649 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006775/1.211, allocations: 5.405 MB / 0.7702 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004851/1.216, allocations: 4.329 MB / 0.7744 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/1.218, allocations: 0.7005 MB / 0.7751 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/1.218, allocations: 55.86 kB / 0.7752 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 5.05e-06/1.218, allocations: 5.109 kB / 0.7752 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1631/1.381, allocations: 48.45 MB / 0.8225 GB, free: 114.9 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.1057/1.487, allocations: 29.13 MB / 0.8509 GB, free: 85.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004592/1.491, allocations: 3.748 MB / 0.8546 GB, free: 81.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.492, allocations: 61.7 kB / 0.8547 GB, free: 81.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000957/1.493, allocations: 1.623 MB / 0.8562 GB, free: 80.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001336/1.495, allocations: 0.8158 MB / 0.857 GB, free: 79.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002539/1.497, allocations: 0.7695 MB / 0.8578 GB, free: 78.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.947e-05/1.497, allocations: 305.1 kB / 0.8581 GB, free: 78.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007897/1.505, allocations: 7.538 MB / 0.8654 GB, free: 70.76 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008182/1.513, allocations: 7.869 MB / 0.8731 GB, free: 62.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2164/1.73, allocations: 42.61 MB / 0.9147 GB, free: 20.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/1.73, allocations: 4 kB / 0.9147 GB, free: 20.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.04676/1.777, allocations: 20.82 MB / 0.9351 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/1.777, allocations: 8 kB / 0.9351 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/1.777, allocations: 11.94 kB / 0.9351 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04416/1.821, allocations: 10.51 MB / 0.9454 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007306/1.828, allocations: 0.9766 MB / 0.9463 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3408/2.169, allocations: 41.32 MB / 0.9867 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006347/2.175, allocations: 278.4 kB / 0.9869 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001703/2.177, allocations: 0.528 MB / 0.9874 GB, free: 177.8 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.003595/2.181, allocations: 0.8818 MB / 0.9883 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001741/2.182, allocations: 347.4 kB / 0.9886 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04094/2.223, allocations: 14.08 MB / 1.002 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03364/2.257, allocations: 11.47 MB / 1.014 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.702e-05/2.257, allocations: 4 kB / 1.014 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.854e-05/2.257, allocations: 15.95 kB / 1.014 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05465/2.312, allocations: 21.72 MB / 1.035 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.69e-05/2.312, allocations: 6.656 kB / 1.035 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004594/2.316, allocations: 0.5097 MB / 1.035 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07563/2.392, allocations: 10.88 MB / 1.046 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001032/2.393, allocations: 142.3 kB / 1.046 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03545/2.428, allocations: 19.7 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.09066/2.519, allocations: 19.97 MB / 1.085 GB, free: 81.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0434/2.562, allocations: 17.99 MB / 1.102 GB, free: 63.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/2.564, allocations: 471 kB / 1.103 GB, free: 63.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/2.565, allocations: 59.75 kB / 1.103 GB, free: 63.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005401/2.571, allocations: 191.7 kB / 1.103 GB, free: 62.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001668/2.572, allocations: 297.4 kB / 1.103 GB, free: 62.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006977/2.573, allocations: 254.5 kB / 1.104 GB, free: 62.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004322/2.577, allocations: 3.426 MB / 1.107 GB, free: 59.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.577, allocations: 0 / 1.107 GB, free: 59.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00647/2.584, allocations: 1.472 MB / 1.108 GB, free: 57.59 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.04204/2.626, allocations: 17.58 MB / 1.126 GB, free: 40.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02127/2.647, allocations: 11.68 MB / 1.137 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/2.647, allocations: 4 kB / 1.137 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01128/2.659, allocations: 4.782 MB / 1.142 GB, free: 23.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005555/2.664, allocations: 0.7197 MB / 1.142 GB, free: 22.89 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 657] [Calling sys.exit(0), Time elapsed: 5.3871179319685325] Failed to read output from testmodel.py, exit status != 0: 2.673305496922694 2.684154028 1.925590233 Calling exit ...