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.0006417/0.0006417, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008756/0.001517, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 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.0006844/0.0006844, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009011/0.001586, allocations: 475.6 kB / 11.64 MB, free: 2.531 MB / 13.93 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.9098/0.9098, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07026/0.9801, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.07627/0.07627, allocations: 17.36 MB / 261.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007856/0.08413, allocations: 6.926 MB / 268.2 MB, free: 6.527 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+3.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 269.4 MB, free: 5.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.532e-06/7.564e-06, allocations: 2.312 kB / 269.4 MB, free: 5.293 MB / 266.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.1145/0.1145, allocations: 13.08 MB / 282.5 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1334/0.248, allocations: 139.6 MB / 422.1 MB, free: 9.625 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.2495, allocations: 39.81 kB / 422.1 MB, free: 9.586 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002293/0.2518, allocations: 1.222 MB / 423.3 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.2542, allocations: 1.337 MB / 424.7 MB, free: 7.008 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.2569, allocations: 1.676 MB / 426.4 MB, free: 5.324 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003722/0.2607, allocations: 3.814 MB / 430.2 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007819/0.2615, allocations: 0.7568 MB / 430.9 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1371/0.3986, allocations: 2.127 MB / 433.1 MB, free: 5.617 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.4001, allocations: 1.138 MB / 434.2 MB, free: 5.617 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006167/0.4008, allocations: 336.5 kB / 434.5 MB, free: 5.617 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.4034, allocations: 1.305 MB / 435.8 MB, free: 5.617 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006448/0.4041, allocations: 0.8299 MB / 436.7 MB, free: 5.617 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.4053, allocations: 0.9785 MB / 437.6 MB, free: 5.617 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003895/0.4092, allocations: 3.85 MB / 441.5 MB, free: 5.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.411e-05/0.4092, allocations: 0 / 441.5 MB, free: 5.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4092, allocations: 0 / 441.5 MB, free: 5.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.341e-05/0.4093, allocations: 0 / 441.5 MB, free: 5.32 MB / 410.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.003605/0.4129, allocations: 4.658 MB / 446.1 MB, free: 3.629 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.413, allocations: 9.25 kB / 446.2 MB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003063/0.4133, allocations: 0.5208 MB / 446.7 MB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.4146, allocations: 1.488 MB / 448.2 MB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.4158, allocations: 1.197 MB / 449.4 MB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.416, allocations: 0.5533 MB / 449.9 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.4162, allocations: 326.3 kB / 450.2 MB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.4187, allocations: 3.486 MB / 453.7 MB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/0.4187, allocations: 3 kB / 453.7 MB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.4189, allocations: 138 kB / 453.9 MB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002603/0.4191, allocations: 498.1 kB / 454.3 MB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.4219, allocations: 4.276 MB / 458.6 MB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/0.4349, allocations: 14.02 MB / 472.6 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.4363, allocations: 0.9126 MB / 473.5 MB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000826/0.4372, allocations: 441.8 kB / 474 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008975/0.4381, allocations: 0.6896 MB / 474.7 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.4381, allocations: 51.28 kB / 474.7 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 3.026e-06/0.4381, allocations: 0.5312 kB / 474.7 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of matching and sorting (n=232): time 0.06395/0.502, allocations: 16.96 MB / 491.7 MB, free: 8.836 MB / 426.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.04269/0.5447, allocations: 12.93 MB / 0.4928 GB, free: 14.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.547, allocations: 2.595 MB / 0.4953 GB, free: 12.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004692/0.5475, allocations: 63.14 kB / 0.4954 GB, free: 12.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/0.548, allocations: 1.045 MB / 0.4964 GB, free: 11.28 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000711/0.5487, allocations: 0.8147 MB / 0.4972 GB, free: 10.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.5499, allocations: 0.5607 MB / 0.4978 GB, free: 10.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.804e-05/0.55, allocations: 307 kB / 0.498 GB, free: 9.902 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/0.5521, allocations: 1.052 MB / 0.4991 GB, free: 8.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002459/0.5546, allocations: 1.393 MB / 0.5004 GB, free: 7.543 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006106/0.5607, allocations: 3.945 MB / 0.5043 GB, free: 3.578 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.5607, allocations: 4.938 kB / 0.5043 GB, free: 3.574 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01535/0.576, allocations: 4.516 MB / 0.5087 GB, free: 15.13 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.576, allocations: 8 kB / 0.5087 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.5761, allocations: 8.781 kB / 0.5087 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02025/0.5963, allocations: 7.706 MB / 0.5162 GB, free: 7.441 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004373/0.6007, allocations: 1.161 MB / 0.5174 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/0.6205, allocations: 11.82 MB / 0.5289 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/0.6236, allocations: 103.9 kB / 0.529 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/0.6246, allocations: 0.491 MB / 0.5295 GB, free: 9.695 MB / 474.7 MB 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.00155/0.6262, allocations: 239.8 kB / 0.5297 GB, free: 9.477 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/0.6273, allocations: 259.7 kB / 0.53 GB, free: 9.223 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01915/0.6464, allocations: 5.453 MB / 0.5353 GB, free: 3.871 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01431/0.6607, allocations: 3.12 MB / 0.5383 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/0.6607, allocations: 11.94 kB / 0.5384 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.6608, allocations: 15.95 kB / 0.5384 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02316/0.6839, allocations: 8.212 MB / 0.5464 GB, free: 8.828 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.6839, allocations: 4 kB / 0.5464 GB, free: 8.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002648/0.6866, allocations: 0.6661 MB / 0.547 GB, free: 8.176 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006228/0.6872, allocations: 373.7 kB / 0.5474 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03513/0.7223, allocations: 7.861 MB / 0.5551 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003503/0.7227, allocations: 107.2 kB / 0.5552 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01362/0.7363, allocations: 8.492 MB / 0.5635 GB, free: 7.199 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.0388/0.7751, allocations: 11.51 MB / 0.5747 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/0.7893, allocations: 4.919 MB / 0.5795 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005841/0.7898, allocations: 55.94 kB / 0.5796 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.7915, allocations: 76.03 kB / 0.5796 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006883/0.7922, allocations: 236.3 kB / 0.5799 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003046/0.7925, allocations: 227.8 kB / 0.5801 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001409/0.7939, allocations: 1.375 MB / 0.5814 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7939, allocations: 4 kB / 0.5814 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002886/0.7968, allocations: 1.484 MB / 0.5829 GB, free: 3.387 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.01392/0.8107, allocations: 5.619 MB / 0.5884 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005905/0.8166, allocations: 3.274 MB / 0.5916 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.81e-05/0.8167, allocations: 32.5 kB / 0.5916 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003618/0.8203, allocations: 2.062 MB / 0.5936 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.8226, allocations: 1.17 MB / 0.5947 GB, free: 7.398 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4091:9-4091:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:743:5-743:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.1996996365487576]