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.0008248/0.0008248, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00103/0.00103, allocations: 169.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.8797/0.8797, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.08259/0.08259, allocations: 17.45 MB / 276.6 MB, free: 11.75 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 411.6 MB, free: 252 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.799e-05, allocations: 2.281 kB / 411.6 MB, free: 248 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1586:5-1586: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:1586:5-1586: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.2862/0.2862, allocations: 33.27 MB / 444.9 MB, free: 43.66 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.1085/0.3947, allocations: 128.5 MB / 0.5599 GB, free: 8.328 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.3971, allocations: 93.25 kB / 0.56 GB, free: 8.281 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.3998, allocations: 1.257 MB / 0.5612 GB, free: 7.398 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.4033, allocations: 1.676 MB / 0.5629 GB, free: 6.008 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.4067, allocations: 1.911 MB / 0.5647 GB, free: 4.48 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.004253/0.4109, allocations: 4.152 MB / 0.5688 GB, free: 1.977 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009964/0.4119, allocations: 0.724 MB / 0.5695 GB, free: 1.5 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002992/0.4149, allocations: 2.114 MB / 0.5716 GB, free: 188 kB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.4168, allocations: 1.478 MB / 0.573 GB, free: 15.35 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003964/0.4172, allocations: 332 kB / 0.5733 GB, free: 15.03 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.4199, allocations: 1.509 MB / 0.5748 GB, free: 13.52 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005391/0.4204, allocations: 1.047 MB / 0.5758 GB, free: 12.46 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.4214, allocations: 1.208 MB / 0.577 GB, free: 11.25 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005423/0.4269, allocations: 5.711 MB / 0.5826 GB, free: 5.527 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4269, allocations: 0 / 0.5826 GB, free: 5.527 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4269, allocations: 0 / 0.5826 GB, free: 5.527 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.669e-05/0.4269, allocations: 0 / 0.5826 GB, free: 5.527 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: 1015 * Number of variables: 1015 Notification: Performance of Generate backend data structure: time 0.005198/0.4321, allocations: 4.072 MB / 0.5865 GB, free: 1.41 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.24e-05/0.4322, allocations: 12.03 kB / 0.5866 GB, free: 1.398 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004279/0.4326, allocations: 0.5119 MB / 0.5871 GB, free: 0.8789 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.4338, allocations: 0.7737 MB / 0.5878 GB, free: 112 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.4359, allocations: 1.942 MB / 0.5897 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.4361, allocations: 433.4 kB / 0.5901 GB, free: 13.66 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.4364, allocations: 336.3 kB / 0.5904 GB, free: 13.33 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007678/0.444, allocations: 10.64 MB / 0.6008 GB, free: 2.672 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/0.4441, allocations: 4.188 kB / 0.6008 GB, free: 2.668 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.4442, allocations: 143.9 kB / 0.601 GB, free: 2.527 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002832/0.4445, allocations: 475.7 kB / 0.6014 GB, free: 2.062 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.164/0.6085, allocations: 19.85 MB / 0.6208 GB, free: 156.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.01669/0.6252, allocations: 17.87 MB / 0.6383 GB, free: 148.4 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.6272, allocations: 2.271 MB / 0.6405 GB, free: 147.3 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.6286, allocations: 1.751 MB / 0.6422 GB, free: 146.5 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008706/0.6373, allocations: 8.292 MB / 0.6503 GB, free: 143 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.6374, allocations: 51.47 kB / 0.6503 GB, free: 142.9 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=136): time 2.805e-06/0.6374, allocations: 0 / 0.6503 GB, free: 142.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=192): time 0.04541/0.6828, allocations: 22.34 MB / 0.6721 GB, free: 134.6 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.007513/0.6903, allocations: 6.602 MB / 0.6786 GB, free: 130 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.6929, allocations: 2.493 MB / 0.681 GB, free: 128.2 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006771/0.6936, allocations: 57.7 kB / 0.6811 GB, free: 128.2 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008571/0.6945, allocations: 1.837 MB / 0.6829 GB, free: 126.6 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006586/0.6951, allocations: 0.6766 MB / 0.6835 GB, free: 125.9 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/0.6962, allocations: 0.7066 MB / 0.6842 GB, free: 125.3 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 2.652e-05/0.6963, allocations: 305.8 kB / 0.6845 GB, free: 125 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002863/0.6991, allocations: 2.64 MB / 0.6871 GB, free: 122.7 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.7018, allocations: 3.4 MB / 0.6904 GB, free: 119.4 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07424/0.776, allocations: 29.15 MB / 0.7189 GB, free: 90.71 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-05/0.7761, allocations: 8 kB / 0.7189 GB, free: 90.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01405/0.7901, allocations: 8.992 MB / 0.7277 GB, free: 81.74 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.7901, allocations: 12 kB / 0.7277 GB, free: 81.73 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.7902, allocations: 31.53 kB / 0.7277 GB, free: 81.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009797/0.8, allocations: 4.501 MB / 0.7321 GB, free: 77.18 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/0.8026, allocations: 1.022 MB / 0.7331 GB, free: 76.16 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007131/0.8097, allocations: 10.24 MB / 0.7431 GB, free: 65.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.8116, allocations: 147.9 kB / 0.7432 GB, free: 65.34 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/0.812, allocations: 455.8 kB / 0.7437 GB, free: 64.89 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: 110 * Number of states: 0 () * Number of discrete variables: 4 (H2O_solid.substanceDefinitionVar.SelfClustering,H2O_solid.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 248 * Array equations: 0 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(5,13), (3,5), (4,14), (4,3), (2,3), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001621/0.8136, allocations: 0.9187 MB / 0.7446 GB, free: 63.96 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004422/0.814, allocations: 302.2 kB / 0.7449 GB, free: 63.67 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/0.8293, allocations: 8.677 MB / 0.7533 GB, free: 54.95 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.8293, allocations: 20 kB / 0.7534 GB, free: 54.93 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.8294, allocations: 7.984 kB / 0.7534 GB, free: 54.92 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.8294, allocations: 7.969 kB / 0.7534 GB, free: 54.91 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01925/0.8486, allocations: 13.27 MB / 0.7663 GB, free: 41.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.8486, allocations: 4.281 kB / 0.7663 GB, free: 41.38 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/0.851, allocations: 0.714 MB / 0.767 GB, free: 40.66 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009888/0.8609, allocations: 4.114 MB / 0.7711 GB, free: 36.53 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003742/0.8613, allocations: 119.8 kB / 0.7712 GB, free: 36.41 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/0.8786, allocations: 17.42 MB / 0.7882 GB, free: 18.38 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.005408/0.8841, allocations: 5.249 MB / 0.7933 GB, free: 12.85 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/0.9006, allocations: 10.2 MB / 0.8033 GB, free: 2.574 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006438/0.9012, allocations: 282.2 kB / 0.8035 GB, free: 2.297 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004862/0.9017, allocations: 51.89 kB / 0.8036 GB, free: 2.246 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.9032, allocations: 115.9 kB / 0.8037 GB, free: 2.133 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007065/0.9039, allocations: 237.1 kB / 0.8039 GB, free: 1.902 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002889/0.9042, allocations: 207.9 kB / 0.8041 GB, free: 1.699 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.1601/1.064, allocations: 2.077 MB / 0.8062 GB, free: 146.3 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2e-07/1.064, allocations: 1.25 kB / 0.8062 GB, free: 146.3 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003887/1.068, allocations: 1.06 MB / 0.8072 GB, free: 146.3 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET2.x,$STATESET1.x,H2O_gaseuous.logn,otherSubstances.logn,H2O_solid.logm,gasVolatility.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 134 * Array equations: 0 * 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,80.0%), (1,4,100.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,15), (5,7), (2,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01739/1.086, allocations: 10.6 MB / 0.8175 GB, free: 144 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007709/1.093, allocations: 5.66 MB / 0.8231 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.093, allocations: 0 / 0.8231 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004848/1.098, allocations: 3.212 MB / 0.8262 GB, free: 140.3 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/1.1, allocations: 0.5845 MB / 0.8268 GB, free: 140.1 MB / 0.4949 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 659] [Calling sys.exit(0), Time elapsed: 2.7372404178604484] Failed to read output from testmodel.py, exit status != 0: 1.1072713630273938 1.115183925 0.686686361 Calling exit ...