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.0007015/0.0007015, 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.0007418/0.0007418, 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.8414/0.8414, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.08311/0.08311, allocations: 17.45 MB / 276.6 MB, free: 11.76 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.764e-06/1.764e-06, allocations: 0 / 411.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.328e-05, allocations: 2.281 kB / 411.6 MB, free: 12.44 MB / 330.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.02974/0.02976, allocations: 33.29 MB / 444.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1173/0.147, allocations: 128.5 MB / 0.5599 GB, free: 7.73 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/0.1497, allocations: 91.25 kB / 0.56 GB, free: 7.641 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.1525, allocations: 1.242 MB / 0.5612 GB, free: 6.391 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003781/0.1563, allocations: 1.691 MB / 0.5629 GB, free: 4.688 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00373/0.16, allocations: 1.909 MB / 0.5647 GB, free: 2.77 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005833/0.1659, allocations: 4.155 MB / 0.5688 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.167, allocations: 0.7183 MB / 0.5695 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.1693, allocations: 2.116 MB / 0.5716 GB, free: 11.7 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.1712, allocations: 1.473 MB / 0.573 GB, free: 10.23 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005292/0.1718, allocations: 328 kB / 0.5733 GB, free: 9.906 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.1745, allocations: 1.513 MB / 0.5748 GB, free: 8.391 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005467/0.175, allocations: 1.043 MB / 0.5758 GB, free: 7.344 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001262/0.1763, allocations: 1.204 MB / 0.577 GB, free: 6.137 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006333/0.1826, allocations: 5.713 MB / 0.5826 GB, free: 416 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1826, allocations: 3.938 kB / 0.5826 GB, free: 412 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1826, allocations: 3.938 kB / 0.5826 GB, free: 408 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.877e-05/0.1827, allocations: 0 / 0.5826 GB, free: 408 kB / 490.7 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.1609/0.3436, allocations: 4.066 MB / 0.5865 GB, free: 162.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3436, allocations: 9.594 kB / 0.5865 GB, free: 162.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003959/0.344, allocations: 0.5007 MB / 0.587 GB, free: 161.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.3453, allocations: 0.7765 MB / 0.5878 GB, free: 161.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.3475, allocations: 1.943 MB / 0.5897 GB, free: 160.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.3477, allocations: 433.3 kB / 0.5901 GB, free: 159.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/0.348, allocations: 343.1 kB / 0.5904 GB, free: 159.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.3587, allocations: 10.64 MB / 0.6008 GB, free: 155.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.645e-05/0.3587, allocations: 1.328 kB / 0.6008 GB, free: 155.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.3589, allocations: 135.9 kB / 0.601 GB, free: 155.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003978/0.3593, allocations: 476.9 kB / 0.6014 GB, free: 155.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.3701, allocations: 19.86 MB / 0.6208 GB, free: 139.6 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.01552/0.3856, allocations: 17.87 MB / 0.6383 GB, free: 121.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.3875, allocations: 2.28 MB / 0.6405 GB, free: 119.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.3888, allocations: 1.745 MB / 0.6422 GB, free: 117.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008297/0.3971, allocations: 8.292 MB / 0.6503 GB, free: 109.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3971, allocations: 47.88 kB / 0.6503 GB, free: 109.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=136): time 2.855e-06/0.3971, allocations: 0 / 0.6503 GB, free: 109.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=192): time 0.04031/0.4375, allocations: 22.33 MB / 0.6721 GB, free: 87.38 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.006605/0.4441, allocations: 6.615 MB / 0.6786 GB, free: 80.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.4459, allocations: 2.494 MB / 0.681 GB, free: 78.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004376/0.4463, allocations: 57.7 kB / 0.6811 GB, free: 77.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005216/0.4468, allocations: 1.828 MB / 0.6829 GB, free: 76.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/0.4472, allocations: 0.6778 MB / 0.6835 GB, free: 75.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007652/0.448, allocations: 0.7036 MB / 0.6842 GB, free: 74.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 2.063e-05/0.448, allocations: 309 kB / 0.6845 GB, free: 74.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.4504, allocations: 2.639 MB / 0.6871 GB, free: 71.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/0.4529, allocations: 3.401 MB / 0.6904 GB, free: 68.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.07352/0.5264, allocations: 29.14 MB / 0.7189 GB, free: 38.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.159e-05/0.5264, allocations: 10.69 kB / 0.7189 GB, free: 38.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01429/0.5407, allocations: 8.99 MB / 0.7277 GB, free: 29.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.5407, allocations: 18.66 kB / 0.7277 GB, free: 29.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.5407, allocations: 27.98 kB / 0.7277 GB, free: 29.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/0.5509, allocations: 4.506 MB / 0.7321 GB, free: 25.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003098/0.554, allocations: 1.016 MB / 0.7331 GB, free: 24.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007066/0.5611, allocations: 10.23 MB / 0.7431 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.5635, allocations: 154.6 kB / 0.7432 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004562/0.564, allocations: 458.8 kB / 0.7437 GB, free: 13.18 MB / 490.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: 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.001581/0.5655, allocations: 0.9238 MB / 0.7446 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005367/0.5661, allocations: 306.2 kB / 0.7449 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/0.5811, allocations: 8.667 MB / 0.7533 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.5812, allocations: 23.5 kB / 0.7534 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.5812, allocations: 4 kB / 0.7534 GB, free: 3.363 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.14e-05/0.5812, allocations: 11.97 kB / 0.7534 GB, free: 3.352 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02184/0.603, allocations: 13.28 MB / 0.7663 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.6031, allocations: 4 kB / 0.7663 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002662/0.6057, allocations: 0.7221 MB / 0.767 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0114/0.6171, allocations: 4.106 MB / 0.7711 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004639/0.6176, allocations: 115.8 kB / 0.7712 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1911/0.8086, allocations: 17.41 MB / 0.7882 GB, free: 155.6 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.006361/0.815, allocations: 5.25 MB / 0.7933 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/0.8341, allocations: 10.2 MB / 0.8033 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007399/0.8348, allocations: 286 kB / 0.8035 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005264/0.8354, allocations: 49.58 kB / 0.8036 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.8367, allocations: 117.3 kB / 0.8037 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006473/0.8374, allocations: 231 kB / 0.8039 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003093/0.8377, allocations: 217.6 kB / 0.8041 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001975/0.8397, allocations: 2.079 MB / 0.8061 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.9e-07/0.8397, allocations: 0 / 0.8061 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002651/0.8423, allocations: 1.059 MB / 0.8072 GB, free: 146.6 MB / 0.4948 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.01599/0.8583, allocations: 10.61 MB / 0.8175 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007183/0.8655, allocations: 5.668 MB / 0.8231 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.8655, allocations: 0 / 0.8231 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004433/0.8699, allocations: 3.199 MB / 0.8262 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.8721, allocations: 0.5737 MB / 0.8268 GB, free: 131.1 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 659] [Calling sys.exit(0), Time elapsed: 2.5645147366449237] Failed to read output from testmodel.py, exit status != 0: 1.030476389452815 0.887299398 0.703298841 Calling exit ...