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.001333/0.001333, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001702/0.001702, allocations: 215.4 kB / 22.25 MB, free: 5.262 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.1482/0.1482, allocations: 24 MB / 336.4 MB, free: 10.84 MB / 270.1 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: 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.002329/0.002329, allocations: 71.91 kB / 471.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3262, allocations: 59.89 MB / 0.5187 GB, free: 9.461 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1585:5-1585: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:1585:5-1585: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.07995/0.4062, allocations: 32.65 MB / 0.5506 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1766/0.5828, allocations: 127.3 MB / 0.6749 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003968/0.5868, allocations: 59.69 kB / 0.6749 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004413/0.5912, allocations: 1.133 MB / 0.676 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005323/0.5965, allocations: 1.361 MB / 0.6774 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005397/0.6019, allocations: 1.673 MB / 0.679 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006752/0.6087, allocations: 3.772 MB / 0.6827 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.6101, allocations: 0.7261 MB / 0.6834 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.6122, allocations: 1.339 MB / 0.6847 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.615, allocations: 1.579 MB / 0.6863 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007925/0.6158, allocations: 328 kB / 0.6866 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003568/0.6194, allocations: 1.248 MB / 0.6878 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.6205, allocations: 0.9381 MB / 0.6887 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001753/0.6222, allocations: 1.43 MB / 0.6901 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007619/0.6299, allocations: 5.518 MB / 0.6955 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6299, allocations: 0 / 0.6955 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6299, allocations: 0 / 0.6955 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001004/0.63, allocations: 0 / 0.6955 GB, free: 4.164 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: 1015 * Number of variables: 1015 Notification: Performance of Generate backend data structure: time 0.007135/0.6371, allocations: 3.999 MB / 0.6994 GB, free: 116 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.6372, allocations: 15.97 kB / 0.6994 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006785/0.6378, allocations: 0.508 MB / 0.6999 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.6399, allocations: 0.732 MB / 0.7006 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.6427, allocations: 1.403 MB / 0.702 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004484/0.6431, allocations: 433.4 kB / 0.7024 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005258/0.6437, allocations: 340.2 kB / 0.7027 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.657, allocations: 10.65 MB / 0.7131 GB, free: 1.945 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.222e-05/0.6571, allocations: 7.984 kB / 0.7131 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/0.6573, allocations: 128 kB / 0.7133 GB, free: 1.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005144/0.6578, allocations: 475.7 kB / 0.7137 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2342/0.892, allocations: 19.86 MB / 0.7331 GB, free: 186.2 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.02965/0.9217, allocations: 17.83 MB / 0.7505 GB, free: 178 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003855/0.9255, allocations: 2.275 MB / 0.7527 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/0.9282, allocations: 1.75 MB / 0.7544 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01638/0.9445, allocations: 8.299 MB / 0.7625 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.9446, allocations: 47.78 kB / 0.7626 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=136): time 3.577e-06/0.9446, allocations: 0 / 0.7626 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=192): time 0.08056/1.025, allocations: 22.75 MB / 0.7848 GB, free: 152.4 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.01187/1.037, allocations: 6.589 MB / 0.7912 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/1.04, allocations: 2.49 MB / 0.7937 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006889/1.04, allocations: 61.7 kB / 0.7937 GB, free: 143 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008029/1.041, allocations: 1.835 MB / 0.7955 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006443/1.042, allocations: 0.6864 MB / 0.7962 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/1.043, allocations: 0.6998 MB / 0.7969 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.655e-05/1.043, allocations: 309.1 kB / 0.7972 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003388/1.046, allocations: 2.643 MB / 0.7998 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003725/1.05, allocations: 3.398 MB / 0.8031 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1516/1.202, allocations: 28.86 MB / 0.8313 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.498e-05/1.202, allocations: 8 kB / 0.8313 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.02925/1.231, allocations: 8.962 MB / 0.84 GB, free: 95.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/1.231, allocations: 16 kB / 0.84 GB, free: 95.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/1.231, allocations: 24 kB / 0.8401 GB, free: 95.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02161/1.253, allocations: 4.47 MB / 0.8444 GB, free: 90.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005789/1.258, allocations: 1.016 MB / 0.8454 GB, free: 89.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/1.27, allocations: 10.23 MB / 0.8554 GB, free: 79.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003934/1.274, allocations: 158.6 kB / 0.8556 GB, free: 79.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009841/1.275, allocations: 455.8 kB / 0.856 GB, free: 78.65 MB / 0.5606 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.002876/1.278, allocations: 0.9236 MB / 0.8569 GB, free: 77.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001576/1.28, allocations: 274.2 kB / 0.8572 GB, free: 77.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03035/1.31, allocations: 8.673 MB / 0.8656 GB, free: 68.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.663e-05/1.31, allocations: 20 kB / 0.8656 GB, free: 68.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/1.31, allocations: 4 kB / 0.8656 GB, free: 68.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.186e-05/1.31, allocations: 11.95 kB / 0.8657 GB, free: 68.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03617/1.346, allocations: 13.27 MB / 0.8786 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-05/1.346, allocations: 4 kB / 0.8786 GB, free: 55.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00495/1.351, allocations: 0.7221 MB / 0.8793 GB, free: 54.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02068/1.372, allocations: 4.083 MB / 0.8833 GB, free: 50.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008268/1.373, allocations: 115.9 kB / 0.8834 GB, free: 50.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03174/1.404, allocations: 17.42 MB / 0.9004 GB, free: 32.3 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 postOpt calculateStateSetsJacobians (simulation): time 0.01047/1.415, allocations: 5.254 MB / 0.9056 GB, free: 26.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03167/1.447, allocations: 10.18 MB / 0.9155 GB, free: 16.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007393/1.447, allocations: 286.2 kB / 0.9158 GB, free: 16.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/1.448, allocations: 47.89 kB / 0.9158 GB, free: 16.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003262/1.452, allocations: 115.9 kB / 0.9159 GB, free: 16.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009258/1.453, allocations: 237.5 kB / 0.9162 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004867/1.453, allocations: 208.2 kB / 0.9164 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002867/1.456, allocations: 2.08 MB / 0.9184 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.456, allocations: 0 / 0.9184 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003807/1.46, allocations: 1.019 MB / 0.9194 GB, free: 12.52 MB / 0.5606 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.03/1.49, allocations: 10.58 MB / 0.9297 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01413/1.504, allocations: 5.664 MB / 0.9353 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.504, allocations: 0 / 0.9353 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.009686/1.514, allocations: 3.211 MB / 0.9384 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/1.517, allocations: 0.5616 MB / 0.9389 GB, free: 8.367 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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: 4.218211461789906] Failed to read output from testmodel.py, exit status != 0: 1.5269212261773646 1.737569488 1.104552831 Calling exit ...