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.0007334/0.0007334, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008754/0.0008754, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9403/0.9403, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.09724/0.09724, allocations: 17.37 MB / 276.6 MB, free: 11.84 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: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 411.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.673e-05/5.874e-05, allocations: 2.281 kB / 411.4 MB, free: 13.23 MB / 330.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.04498/0.04504, allocations: 32.69 MB / 444.1 MB, free: 8.426 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1228/0.1678, allocations: 127 MB / 0.5577 GB, free: 10.27 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003041/0.1708, allocations: 39.81 kB / 0.5578 GB, free: 10.23 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003442/0.1743, allocations: 1.188 MB / 0.5589 GB, free: 9.035 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004652/0.1789, allocations: 1.353 MB / 0.5603 GB, free: 7.672 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004163/0.1831, allocations: 1.618 MB / 0.5618 GB, free: 6.047 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.006214/0.1893, allocations: 3.851 MB / 0.5656 GB, free: 2.18 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.1905, allocations: 0.7061 MB / 0.5663 GB, free: 1.418 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003471/0.194, allocations: 1.945 MB / 0.5682 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.1959, allocations: 1.098 MB / 0.5693 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007811/0.1967, allocations: 336 kB / 0.5696 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.2001, allocations: 1.275 MB / 0.5708 GB, free: 12.76 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.2012, allocations: 1.008 MB / 0.5718 GB, free: 11.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002042/0.2032, allocations: 1.161 MB / 0.573 GB, free: 10.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007538/0.2108, allocations: 5.569 MB / 0.5784 GB, free: 5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.2108, allocations: 0 / 0.5784 GB, free: 5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2108, allocations: 4 kB / 0.5784 GB, free: 4.996 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001883/0.211, allocations: 0 / 0.5784 GB, free: 4.996 MB / 490.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.006462/0.2174, allocations: 3.963 MB / 0.5823 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.2175, allocations: 8.031 kB / 0.5823 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000546/0.218, allocations: 0.4957 MB / 0.5828 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1803/0.3983, allocations: 0.7857 MB / 0.5835 GB, free: 161.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003379/0.4017, allocations: 1.719 MB / 0.5852 GB, free: 161.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005543/0.4023, allocations: 0.5567 MB / 0.5857 GB, free: 160.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006614/0.4029, allocations: 331 kB / 0.5861 GB, free: 160.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.4153, allocations: 12.37 MB / 0.5981 GB, free: 155.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.024e-05/0.4154, allocations: 0.5625 kB / 0.5981 GB, free: 155.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.4156, allocations: 130.4 kB / 0.5983 GB, free: 155.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004508/0.416, allocations: 0.4906 MB / 0.5987 GB, free: 155.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01528/0.4313, allocations: 21.38 MB / 0.6196 GB, free: 140 MB / 490.7 MB 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.03001/0.4613, allocations: 29.14 MB / 0.6481 GB, free: 111.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00465/0.466, allocations: 5.399 MB / 0.6534 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003463/0.4694, allocations: 4.338 MB / 0.6576 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.4706, allocations: 0.7038 MB / 0.6583 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4706, allocations: 51.88 kB / 0.6583 GB, free: 100.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 4.137e-06/0.4706, allocations: 0 / 0.6583 GB, free: 100.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=232): time 0.08802/0.5586, allocations: 48.53 MB / 0.7057 GB, free: 52.55 MB / 490.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 inlineWhenForInitialization (initialization): time 0.05466/0.6133, allocations: 29.22 MB / 0.7343 GB, free: 23.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003449/0.6167, allocations: 3.765 MB / 0.7379 GB, free: 19.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008296/0.6175, allocations: 65.64 kB / 0.738 GB, free: 19.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006718/0.6182, allocations: 1.621 MB / 0.7396 GB, free: 17.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009785/0.6192, allocations: 0.7939 MB / 0.7404 GB, free: 16.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001347/0.6205, allocations: 0.7773 MB / 0.7411 GB, free: 16.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 2.408e-05/0.6206, allocations: 307.8 kB / 0.7414 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006155/0.6267, allocations: 7.524 MB / 0.7488 GB, free: 8.242 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006767/0.6335, allocations: 7.881 MB / 0.7564 GB, free: 244 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.311/0.9445, allocations: 42.91 MB / 0.7983 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.9445, allocations: 5.25 kB / 0.7984 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.02775/0.9723, allocations: 20.81 MB / 0.8187 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.9723, allocations: 11.98 kB / 0.8187 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.9723, allocations: 14.64 kB / 0.8187 GB, free: 142.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02096/0.9933, allocations: 10.55 MB / 0.829 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/0.9973, allocations: 0.9714 MB / 0.83 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03859/1.036, allocations: 41.35 MB / 0.8703 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003719/1.04, allocations: 274.3 kB / 0.8706 GB, free: 89.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/1.041, allocations: 0.527 MB / 0.8711 GB, free: 88.72 MB / 0.4948 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.002637/1.043, allocations: 0.8752 MB / 0.872 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009693/1.044, allocations: 349.7 kB / 0.8723 GB, free: 87.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02299/1.067, allocations: 14.08 MB / 0.886 GB, free: 73.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01915/1.086, allocations: 11.47 MB / 0.8972 GB, free: 61.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/1.086, allocations: 4 kB / 0.8972 GB, free: 61.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.109e-05/1.087, allocations: 15.89 kB / 0.8973 GB, free: 61.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03032/1.117, allocations: 21.72 MB / 0.9185 GB, free: 39.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.318e-05/1.117, allocations: 11.92 kB / 0.9185 GB, free: 39.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002698/1.12, allocations: 0.5123 MB / 0.919 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03885/1.158, allocations: 10.98 MB / 0.9297 GB, free: 28.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006622/1.159, allocations: 147.8 kB / 0.9299 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02268/1.182, allocations: 19.69 MB / 0.9491 GB, free: 8.352 MB / 0.4948 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.2347/1.417, allocations: 20.08 MB / 0.9687 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03097/1.447, allocations: 17.99 MB / 0.9862 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.449, allocations: 461 kB / 0.9867 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0012/1.45, allocations: 58.89 kB / 0.9867 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.452, allocations: 197.8 kB / 0.9869 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009366/1.453, allocations: 294.4 kB / 0.9872 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004646/1.454, allocations: 248.9 kB / 0.9874 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00353/1.457, allocations: 3.433 MB / 0.9908 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/1.457, allocations: 0 / 0.9908 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004126/1.461, allocations: 1.482 MB / 0.9922 GB, free: 146.6 MB / 0.4948 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.02573/1.487, allocations: 17.55 MB / 1.009 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01385/1.501, allocations: 11.69 MB / 1.021 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.501, allocations: 0 / 1.021 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007245/1.508, allocations: 4.803 MB / 1.025 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/1.512, allocations: 0.7142 MB / 1.026 GB, free: 117.2 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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: 3.52609611582011] Failed to read output from testmodel.py, exit status != 0: 1.764347979798913 1.5261167359999999 1.313715759 Calling exit ...